You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+32-21Lines changed: 32 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
# Claude Configuration
1
2
Please review this pull request and provide comprehensive feedback.
2
3
3
4
🚨 **IMPORTANT**: If this is a cherry-pick PR (title contains "Cherry-picked changes from upstream"), you MUST also perform the file-by-file upstream comparison section below after the general review.
## 🚨 MANDATORY: Cherry-pick Verification for Cherry-pick PRs
35
+
## Simple File-by-File Comparison
35
36
36
-
**CRITICAL REQUIREMENT: If PR title contains "Cherry-picked changes from upstream" then you MUST perform this file-by-file comparison section. This is the primary purpose of this review.**
37
-
38
-
For cherry-pick PRs, you MUST compare each file changed in upstream with our PR and report exact differences:
37
+
For each file changed in upstream, compare with our PR and report:
39
38
40
39
1.**Extract Target Release Version** from PR description
41
40
2.**Get ALL upstream files** and their changes
@@ -46,21 +45,13 @@ For cherry-pick PRs, you MUST compare each file changed in upstream with our PR
46
45
- ➖ **Missing**: We have fewer changes than upstream
47
46
- ❌ **Not in our PR**: File exists in upstream but not in our PR
48
47
49
-
### Commands (Only for Cherry-pick PRs)
48
+
### Commands
50
49
```bash
51
-
# First check if this is a cherry-pick PR
52
-
gh pr view <PR_NUMBER> --json title | jq -r '.title'| grep "chore: Cherry-picked changes from upstream"
53
-
54
-
# If it matches, then proceed with cherry-pick analysis:
55
-
56
-
# Get target version from PR description
57
-
TARGET_VERSION=$(gh pr view <PR_NUMBER> --json body | jq -r '.body'| grep "Target Release Version:"| sed 's/.*Target Release Version: *//')
58
-
59
-
# Get all releases sorted by version and find the previous one before target
60
-
PREV_VERSION=$(gh api repos/stefanzweifel/git-auto-commit-action/releases --paginate | jq -r '.[].tag_name'| sort -V | grep -B1 "v${TARGET_VERSION}"| head -1)
50
+
# Get target version
51
+
gh pr view <PR_NUMBER> --json body | jq -r '.body'| grep "Target Release Version:"| sed 's/.*Target Release Version: *//'
61
52
62
-
# Get upstream file list and changes between previous and target version
0 commit comments