Skip to content

Commit e613457

Browse files
authored
Add CLAUDE.md with fork sync instructions (#14)
## Summary - Add CLAUDE.md with instructions for syncing fork with upstream - Documents correct PR creation targeting verkada repo (not upstream astral-sh) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent a33d933 commit e613457

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

CLAUDE.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# python-build-standalone (Verkada Fork)
2+
3+
This is Verkada's fork of `astral-sh/python-build-standalone`.
4+
5+
## Syncing with Upstream
6+
7+
This repo has two remotes:
8+
- `origin`: `verkada/python-build-standalone` (our fork)
9+
- `upstream`: `astral-sh/python-build-standalone` (source repo)
10+
11+
To sync with upstream:
12+
13+
```bash
14+
# Fetch latest from upstream
15+
git fetch upstream
16+
17+
# Create a branch for the sync (main is protected)
18+
git checkout main
19+
git checkout -b nickvines/sync-upstream-main
20+
21+
# Merge upstream changes
22+
git merge upstream/main --no-edit
23+
24+
# Push and create PR
25+
git push -u origin nickvines/sync-upstream-main
26+
```
27+
28+
## Creating PRs
29+
30+
**IMPORTANT**: Always create PRs against `verkada/python-build-standalone`, NOT the upstream repo.
31+
32+
```bash
33+
# Correct - targets our fork
34+
gh pr create --repo verkada/python-build-standalone --title "Title" --body "Body"
35+
36+
# WRONG - would target upstream
37+
gh pr create --title "Title" --body "Body"
38+
```
39+
40+
The default `gh pr create` may target the upstream repo since this is a fork. Always explicitly specify `--repo verkada/python-build-standalone`.

0 commit comments

Comments
 (0)