Skip to content

Commit d819ffb

Browse files
committed
Merge branch 'release'
# Conflicts: # .github/workflows/dev_build.yaml # Anytype.xcodeproj/project.pbxproj # Libraryfile # Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.SetOrder.swift
2 parents 79cd157 + 1eecf22 commit d819ffb

File tree

1,030 files changed

+17593
-14720
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,030 files changed

+17593
-14720
lines changed

.claude/commands/impact.md

Lines changed: 0 additions & 99 deletions
This file was deleted.

.claude/commands/impact_git.md

Lines changed: 223 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,223 @@
1+
USE EXTENDED THINKING
2+
3+
# Git Changes Gathering for iOS Release
4+
5+
## Purpose
6+
This document guides the process of gathering all code changes between branches/commits for iOS release analysis.
7+
8+
## Process
9+
10+
### Step 1: Identify Comparison Points
11+
Ask the user:
12+
- "Which two commits or branches would you like to compare?"
13+
- If no response, use defaults:
14+
- Base: `origin/main` (latest)
15+
- Target: `origin/develop` (latest)
16+
17+
Get exact commit hashes:
18+
```bash
19+
git rev-parse origin/main # For main branch
20+
git rev-parse origin/develop # For develop branch
21+
```
22+
23+
### Step 2: Gather Basic Statistics
24+
25+
#### A. File Change Summary
26+
```bash
27+
# Get file statistics
28+
git diff --stat [BASE]..[TARGET]
29+
30+
# Count total files changed
31+
git diff --name-only [BASE]..[TARGET] | wc -l
32+
33+
# List all changed files
34+
git diff --name-only [BASE]..[TARGET] > changed_files.txt
35+
```
36+
37+
#### B. Categorize Files by Type
38+
```bash
39+
# UI/View files
40+
git diff --name-only [BASE]..[TARGET] | grep -E '\.(storyboard|xib|swift)' | grep -E '(View|ViewController|Cell|UI)'
41+
42+
# Model/Data files
43+
git diff --name-only [BASE]..[TARGET] | grep -E '(Model|Entity|Core.*Data|Realm)'
44+
45+
# Networking files
46+
git diff --name-only [BASE]..[TARGET] | grep -E '(API|Service|Network|Request|Response)'
47+
48+
# Configuration files
49+
git diff --name-only [BASE]..[TARGET] | grep -E '(Config|Constants|Environment|\.plist|\.json)'
50+
51+
# Test files
52+
git diff --name-only [BASE]..[TARGET] | grep -E '(Test|Spec|Mock)'
53+
```
54+
55+
### Step 3: Extract Detailed Changes
56+
57+
#### A. Commit History
58+
```bash
59+
# Get all commits with messages
60+
git log --oneline [BASE]..[TARGET] > commits.txt
61+
62+
# Get detailed commit messages
63+
git log --format="==== %h ====\n%an - %ad\n%s\n%b\n" [BASE]..[TARGET] > detailed_commits.txt
64+
65+
# Find merge commits
66+
git log --merges --oneline [BASE]..[TARGET]
67+
```
68+
69+
#### B. Code Diff Analysis
70+
```bash
71+
# Full diff (be careful with large diffs)
72+
git diff [BASE]..[TARGET] > full_diff.patch
73+
74+
# Diff for specific file types
75+
git diff [BASE]..[TARGET] -- "*.swift" > swift_changes.diff
76+
git diff [BASE]..[TARGET] -- "*.storyboard" > ui_changes.diff
77+
```
78+
79+
### Step 4: Analyze Specific Change Types
80+
81+
#### A. Project Configuration
82+
```bash
83+
# Check for dependency changes
84+
git diff [BASE]..[TARGET] -- "*.xcodeproj" "*.xcworkspace" "**/Package.swift" "**/Podfile"
85+
86+
# Info.plist changes (permissions, capabilities)
87+
git diff [BASE]..[TARGET] -- "**/Info.plist"
88+
89+
# Build configuration changes
90+
git diff [BASE]..[TARGET] -- "*.xcconfig"
91+
```
92+
93+
#### B. API/Network Changes
94+
```bash
95+
# Find endpoint changes
96+
git diff [BASE]..[TARGET] | grep -E "(endpoint|url|baseURL|API)" -A 3 -B 3
97+
98+
# Find new network calls
99+
git diff [BASE]..[TARGET] | grep -E "(URLSession|Alamofire|fetch|request)" -A 3 -B 3
100+
```
101+
102+
#### C. UI/UX Changes
103+
```bash
104+
# Animation changes
105+
git diff [BASE]..[TARGET] | grep -E "(animate|transition|duration)" -A 2 -B 2
106+
107+
# Color/Theme changes
108+
git diff [BASE]..[TARGET] | grep -E "(Color|Theme|Appearance|tint)" -A 2 -B 2
109+
110+
# Accessibility changes
111+
git diff [BASE]..[TARGET] | grep -E "(accessibility|VoiceOver|Dynamic Type)" -A 2 -B 2
112+
```
113+
114+
### Step 5: Extract Key Information
115+
116+
#### A. New Features (from commit messages)
117+
```bash
118+
# Look for feature commits
119+
git log --grep="feat\|feature\|add\|implement" --oneline [BASE]..[TARGET]
120+
```
121+
122+
#### B. Bug Fixes
123+
```bash
124+
# Look for fix commits
125+
git log --grep="fix\|bug\|issue\|resolve" --oneline [BASE]..[TARGET]
126+
```
127+
128+
#### C. Breaking Changes
129+
```bash
130+
# Look for breaking changes
131+
git log --grep="BREAKING\|breaking\|deprecated" --oneline [BASE]..[TARGET]
132+
```
133+
134+
## Output Format
135+
136+
```markdown
137+
# Git Changes Summary for Release [NUMBER]
138+
139+
## Comparison Details
140+
- **Base Branch/Commit**: [BASE] ([HASH])
141+
- **Target Branch/Commit**: [TARGET] ([HASH])
142+
- **Total Commits**: [COUNT]
143+
- **Total Files Changed**: [COUNT]
144+
- **Lines Added**: [COUNT]
145+
- **Lines Deleted**: [COUNT]
146+
147+
## File Changes by Category
148+
149+
### UI/View Layer ([COUNT] files)
150+
- `Path/To/File1.swift` - [Brief change description]
151+
- `Path/To/File2.storyboard` - [Brief change description]
152+
153+
### Business Logic ([COUNT] files)
154+
- `Path/To/Model.swift` - [Brief change description]
155+
- `Path/To/Service.swift` - [Brief change description]
156+
157+
### Networking Layer ([COUNT] files)
158+
- `Path/To/APIClient.swift` - [Brief change description]
159+
- `Path/To/Endpoint.swift` - [Brief change description]
160+
161+
### Configuration ([COUNT] files)
162+
- `Info.plist` - [Changes: permissions, version, etc.]
163+
- `Config.swift` - [Brief change description]
164+
165+
### Tests ([COUNT] files)
166+
- `Path/To/Test.swift` - [Brief change description]
167+
168+
## Commit Analysis
169+
170+
### Feature Commits ([COUNT])
171+
1. `[HASH]` - [Commit message]
172+
- Files affected: [List]
173+
- Key changes: [Summary]
174+
175+
2. `[HASH]` - [Commit message]
176+
[Continue pattern...]
177+
178+
### Bug Fix Commits ([COUNT])
179+
1. `[HASH]` - [Commit message]
180+
- Issue fixed: [Description]
181+
- Files affected: [List]
182+
183+
### Infrastructure/Config Commits ([COUNT])
184+
1. `[HASH]` - [Commit message]
185+
- Changes: [Description]
186+
187+
## Key Code Changes
188+
189+
### New/Modified Endpoints
190+
- `GET /api/v2/users` - New endpoint for user data
191+
- `POST /api/v2/auth` - Modified authentication flow
192+
193+
### Permission Changes
194+
- Added: Camera permission for profile photos
195+
- Modified: Location permission description
196+
197+
### UI/UX Updates
198+
- New animations in: [Screen names]
199+
- Theme changes: [Description]
200+
- Accessibility improvements: [List]
201+
202+
### Dependencies
203+
- Added: [Library name] v[version]
204+
- Updated: [Library name] from v[old] to v[new]
205+
- Removed: [Library name]
206+
207+
## Potential Risk Areas
208+
Based on code analysis:
209+
1. [Risk area 1] - [Reason]
210+
2. [Risk area 2] - [Reason]
211+
3. [Risk area 3] - [Reason]
212+
213+
## Merge Commits
214+
- [List of merge commits indicating feature branches merged]
215+
```
216+
217+
## Usage Instructions
218+
1. Get branch/commit information from user
219+
2. Run git commands to gather all data
220+
3. Organize changes by category
221+
4. Analyze commit messages for context
222+
5. Create comprehensive change summary
223+
6. Save as: `git_changes_release_[NUMBER].md`

0 commit comments

Comments
 (0)