Derive version from git tags + add ucode --version#219
Open
AarushiShah-db wants to merge 3 commits into
Open
Conversation
The desktop app has no --profile/-c flags, so it only reads the root ~/.codex/config.toml. ucode codex-app backs that file up and edits it in place (distinct provider name so it coexists with the CLI's isolated profile), then opens the app — prompting to restart if it's already running. ucode codex-app --restore and ucode revert both undo it. Co-authored-by: Isaac
A GUI app launched via `open`/`start` doesn't inherit the shell's cwd, so Codex opened its own default folder instead of where `ucode codex-app` ran. Pass the cwd through so it opens the right repo. Co-authored-by: Isaac
Replaces the static `0.1.0` in pyproject.toml (which never updated, so telemetry reported the same version forever) with a git-derived version via uv-dynamic-versioning. On a tag the version is the plain tag (e.g. `0.1.0`); between tags it carries the commit distance and short hash (e.g. `0.1.0+14.g93986a8`) so a reported version maps back to an exact commit. Adds `ucode --version` / `-V`, wired through the existing telemetry.ucode_version() so the CLI and the outbound User-Agent report the same string. Cut a release by tagging: `git tag v0.1.0 && git push origin v0.1.0`. Until the first `v*` tag exists the base is `0.0.0`. Co-authored-by: Isaac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the static
0.1.0in pyproject.toml — which never updated, so telemetry reported the same version forever — with a git-derived version viauv-dynamic-versioning.On a tag the version is the plain tag (e.g.
0.1.0); between tags it carries the commit distance and short hash (e.g.0.1.0+14.g93986a8), so a reported version maps back to an exact commit for bug reports.Also adds
ucode --version/-V, wired through the existingtelemetry.ucode_version()so the CLI and the outbound User-Agent report the same string.After merge: cut the base version once with
git tag v0.1.0 && git push origin v0.1.0. Until the first v* tag exists, the base is 0.0.0.