docs(claude): document uv + rebase development workflow#329
Merged
Conversation
Replace the venv/pip bootstrap with `uv sync`, switch run/test commands to `uv run`, and add a "Keeping branches current — rebase, don't merge" section covering the fetch/rebase/--force-with-lease flow and the pull.rebase / rebase.autoStash globals. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2959455 to
0f09ee0
Compare
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.
Updates
CLAUDE.mdto document the uv-based development workflow and a rebase-based branch-update flow.Changes
pip install -e .[testing,development]→uv sync --extra testing --extra development(legacy command kept as a comment).uv run start_photomap/uv run pytest tests, which resolve the current worktree's.venvand auto-sync first (no activation needed).venv + activate + pip installdance collapses to a singleuv sync.git fetch && git rebase origin/master && git push --force-with-leaseflow, the rationale (squash-merge keepsmasterlinear), the newly-setpull.rebase=true/rebase.autoStash=trueglobals, and the "only rebase branches you own" caveat.Merge ordering
Note
These docs reference
uv.lock, which is added in #328. The instructions still work without it (uv syncwould generate a lock on first run), but please merge this after #328 so the lockfile exists onmaster.Docs-only; no code paths touched.
🤖 Generated with Claude Code