Skip to content

update: perform_update ignores installation method (uvx/pipx/pip), contradicting docs #99

Closed

Description

@f3rdy

Problem

budjira update claims to detect the installation method, but does not.

CLAUDE.md (and the help text) states:

Detects installation method (uvx/pipx/pip) and runs appropriate update command.

Reality: perform_update() (budjira/utils/version.py:168-194) always runs

curl -LsSf https://raw.githubusercontent.com/cdds-ab/budjira/master/install.sh | sh

and install.sh only knows the git-clone install method (clone into
~/.local/share/budjira, symlink into ~/.local/bin). There is no detection of
uvx / pipx / pip anywhere.

Impact

Users who installed via the documented alternatives — uvx install budjira,
pipx install budjira, pip install budjira — get an update path that does not
match their install:

  • It creates a parallel git-clone install under ~/.local/share/budjira and a
    symlink in ~/.local/bin, which may shadow or conflict with the real binary
    depending on PATH ordering.
  • The actually-installed uvx/pipx/pip package is never updated.

Proposed direction

Either:

  1. Make perform_update() detect the install method and dispatch:
    uv tool upgrade budjira / pipx upgrade budjira / pip install -U budjira,
    falling back to the git-clone script only when budjira runs from the
    ~/.local/share/budjira checkout; or
  2. If the git-clone script is the only supported method, correct the docs and
    help text to say so and stop advertising uvx/pipx/pip.

Notes

Separate from the immediate install.sh git-gate crash (that has its own issue);
this is the broader design/documentation mismatch.

Activity

  1. github-actions commented on Jul 17, 2026

    @github-actions

    Sensitive Data Detected

    This repository is PUBLIC! Please remove sensitive information.

    Found potential issues:

    • Company names: Use company instead

    Action needed:

    1. Edit this issue
    2. Replace sensitive data with dummy values
    3. Common replacements:
      • Email: user@example.com
      • Customer: acme-corp
      • URL: company.atlassian.net
      • Person: john.doe

    @f3rdy Please sanitize this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions