gitcode-cli 0.2.8__py3-none-any.whl → 0.2.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- gc_cli/__init__.py +1 -1
- gc_cli/bin/gc-darwin-amd64 +0 -0
- gc_cli/bin/gc-darwin-arm64 +0 -0
- gc_cli/bin/gc-linux-amd64 +0 -0
- gc_cli/bin/gc-linux-arm64 +0 -0
- gc_cli/bin/gc-windows-amd64.exe +0 -0
- {gitcode_cli-0.2.8.dist-info → gitcode_cli-0.2.12.dist-info}/METADATA +58 -12
- gitcode_cli-0.2.12.dist-info/RECORD +14 -0
- gitcode_cli-0.2.8.dist-info/RECORD +0 -14
- {gitcode_cli-0.2.8.dist-info → gitcode_cli-0.2.12.dist-info}/WHEEL +0 -0
- {gitcode_cli-0.2.8.dist-info → gitcode_cli-0.2.12.dist-info}/entry_points.txt +0 -0
- {gitcode_cli-0.2.8.dist-info → gitcode_cli-0.2.12.dist-info}/licenses/LICENSE +0 -0
- {gitcode_cli-0.2.8.dist-info → gitcode_cli-0.2.12.dist-info}/top_level.txt +0 -0
gc_cli/__init__.py
CHANGED
gc_cli/bin/gc-darwin-amd64
CHANGED
|
Binary file
|
gc_cli/bin/gc-darwin-arm64
CHANGED
|
Binary file
|
gc_cli/bin/gc-linux-amd64
CHANGED
|
Binary file
|
gc_cli/bin/gc-linux-arm64
CHANGED
|
Binary file
|
gc_cli/bin/gc-windows-amd64.exe
CHANGED
|
Binary file
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gitcode-cli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.12
|
|
4
4
|
Summary: GitCode CLI - Command line tool for GitCode
|
|
5
5
|
Author-email: GitCode CLI Contributors <support@gitcode.com>
|
|
6
6
|
Maintainer-email: GitCode CLI Contributors <support@gitcode.com>
|
|
7
|
-
License: MIT
|
|
7
|
+
License-Expression: MIT
|
|
8
8
|
Project-URL: Homepage, https://gitcode.com/gitcode-cli/cli
|
|
9
9
|
Project-URL: Documentation, https://gitcode.com/gitcode-cli/cli
|
|
10
10
|
Project-URL: Repository, https://gitcode.com/gitcode-cli/cli
|
|
@@ -13,7 +13,6 @@ Keywords: gitcode,cli,git,devops
|
|
|
13
13
|
Classifier: Development Status :: 4 - Beta
|
|
14
14
|
Classifier: Environment :: Console
|
|
15
15
|
Classifier: Intended Audience :: Developers
|
|
16
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
17
16
|
Classifier: Operating System :: OS Independent
|
|
18
17
|
Classifier: Programming Language :: Python :: 3
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.8
|
|
@@ -30,9 +29,11 @@ Dynamic: license-file
|
|
|
30
29
|
|
|
31
30
|
# GitCode CLI
|
|
32
31
|
|
|
32
|
+
[](./docs/AI-GUIDE.md)
|
|
33
|
+
|
|
33
34
|
[](https://golang.org)
|
|
34
35
|
[](LICENSE)
|
|
35
|
-
[](https://gitcode.com/gitcode-cli/cli/releases)
|
|
36
37
|
|
|
37
38
|
GitCode 命令行工具,为 GitCode 用户提供便捷的命令行操作体验。
|
|
38
39
|
|
|
@@ -63,30 +64,62 @@ export PATH="$HOME/.local/bin:$PATH"
|
|
|
63
64
|
|
|
64
65
|
```bash
|
|
65
66
|
# 从 Releases 下载 .deb 包
|
|
66
|
-
wget https://gitcode.com/gitcode-cli/cli/releases/download/v0.2.
|
|
67
|
+
wget https://gitcode.com/gitcode-cli/cli/releases/download/v0.2.11/gc_0.2.11_amd64.deb
|
|
67
68
|
|
|
68
69
|
# 安装
|
|
69
|
-
sudo dpkg -i gc_0.2.
|
|
70
|
+
sudo dpkg -i gc_0.2.11_amd64.deb
|
|
70
71
|
```
|
|
71
72
|
|
|
72
73
|
**RPM (RHEL/CentOS/Fedora):**
|
|
73
74
|
|
|
74
75
|
```bash
|
|
75
76
|
# 从 Releases 下载 .rpm 包
|
|
76
|
-
wget https://gitcode.com/gitcode-cli/cli/releases/download/v0.2.
|
|
77
|
+
wget https://gitcode.com/gitcode-cli/cli/releases/download/v0.2.11/gc-0.2.11-1.x86_64.rpm
|
|
77
78
|
|
|
78
79
|
# 安装
|
|
79
|
-
sudo rpm -i gc-0.2.
|
|
80
|
+
sudo rpm -i gc-0.2.11-1.x86_64.rpm
|
|
80
81
|
```
|
|
81
82
|
|
|
82
83
|
### PyPI (跨平台)
|
|
83
84
|
|
|
85
|
+
**方式一:pipx 安装(推荐)**
|
|
86
|
+
|
|
84
87
|
```bash
|
|
85
|
-
# 使用
|
|
86
|
-
|
|
88
|
+
# 使用 pipx 安装(自动管理虚拟环境)
|
|
89
|
+
pipx install gitcode-cli
|
|
87
90
|
|
|
88
91
|
# 或指定版本
|
|
89
|
-
|
|
92
|
+
pipx install gitcode-cli==0.2.11
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
**方式二:虚拟环境安装**
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
# 创建虚拟环境
|
|
99
|
+
python3 -m venv myenv
|
|
100
|
+
source myenv/bin/activate # Linux/macOS
|
|
101
|
+
# myenv\Scripts\activate # Windows
|
|
102
|
+
|
|
103
|
+
# 安装
|
|
104
|
+
pip install gitcode-cli
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
**方式三:系统安装(需 --break-system-packages)**
|
|
108
|
+
|
|
109
|
+
> ⚠️ Python 3.11+ 受 PEP 668 限制,需要额外参数
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
pip install gitcode-cli --break-system-packages
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
**Windows 用户**
|
|
116
|
+
|
|
117
|
+
```powershell
|
|
118
|
+
# PowerShell 安装
|
|
119
|
+
pip install gitcode-cli
|
|
120
|
+
|
|
121
|
+
# 或使用 pipx
|
|
122
|
+
pipx install gitcode-cli
|
|
90
123
|
```
|
|
91
124
|
|
|
92
125
|
### 规划中的安装方式
|
|
@@ -185,20 +218,32 @@ gc issue comment 123 --body "Comment text"
|
|
|
185
218
|
|
|
186
219
|
# 管理 Issue 标签
|
|
187
220
|
gc issue label 123 --add bug,enhancement
|
|
221
|
+
|
|
222
|
+
# 查看 Issue 关联的 PRs
|
|
223
|
+
gc issue prs 123
|
|
188
224
|
```
|
|
189
225
|
|
|
190
226
|
### Pull Request 管理
|
|
191
227
|
|
|
192
228
|
```bash
|
|
193
|
-
# 创建 PR
|
|
229
|
+
# 创建 PR(自动检测当前分支)
|
|
194
230
|
gc pr create --title "New feature" --base main
|
|
195
231
|
|
|
232
|
+
# 创建跨仓库 PR(从 fork 到 upstream)
|
|
233
|
+
gc pr create -R upstream/repo --fork myfork/repo --title "Feature"
|
|
234
|
+
|
|
196
235
|
# 列出 PR
|
|
197
236
|
gc pr list --state open
|
|
198
237
|
|
|
199
238
|
# 查看 PR 详情
|
|
200
239
|
gc pr view 456
|
|
201
240
|
|
|
241
|
+
# 查看 PR 评论
|
|
242
|
+
gc pr comments 456
|
|
243
|
+
|
|
244
|
+
# 回复 PR 评论
|
|
245
|
+
gc pr reply 456 --discussion <discussion_id> --body "Reply text"
|
|
246
|
+
|
|
202
247
|
# 检出 PR 分支
|
|
203
248
|
gc pr checkout 456
|
|
204
249
|
|
|
@@ -321,6 +366,7 @@ source ~/.config/fish/config.fish
|
|
|
321
366
|
|
|
322
367
|
- [命令指南](./docs/COMMANDS.md) - 所有命令的详细使用说明和示例
|
|
323
368
|
- [版本发布](./RELEASE.md) - 发布流程和产物说明
|
|
369
|
+
- [AI 操作指南](./docs/AI-GUIDE.md) - 使用 AI 助手操作 GitCode 的完整指南
|
|
324
370
|
- [打包发布](./docs/PACKAGING.md) - DEB/RPM 包构建和发布流程
|
|
325
371
|
- [贡献指南](./CONTRIBUTING.md) - 开发和发布流程
|
|
326
372
|
- [安全策略](./SECURITY.md) - 敏感信息保护和安全规范
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
gc_cli/__init__.py,sha256=AmdjrxBldAV4GEKenHqwIK0Uk2Cpwkum6nRjWAFVBfc,242
|
|
2
|
+
gc_cli/wrapper.py,sha256=bJ5aqTRADaV_GX079pBPVhzbRYDZwjaRoK1nmUjVIoE,2119
|
|
3
|
+
gc_cli/bin/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
gc_cli/bin/gc-darwin-amd64,sha256=2KDMnRiZY0EHxykJv6Ws92a6PsgP-p4EyPCgaNgxQnY,7837504
|
|
5
|
+
gc_cli/bin/gc-darwin-arm64,sha256=XPlVwQQvWl30SC0hetlfx7xfNtgrZ1RnRdC3uLvg9L8,7527202
|
|
6
|
+
gc_cli/bin/gc-linux-amd64,sha256=7ubyH5czeqzxQaQtu78j3T_1-guqdYfFk4UTqv_EwKs,11168501
|
|
7
|
+
gc_cli/bin/gc-linux-arm64,sha256=BtOI81diBCrt8_9tev3mB3mmnXAHs1NIKK1gmnCSph0,7340184
|
|
8
|
+
gc_cli/bin/gc-windows-amd64.exe,sha256=2UPt5x1keSCWuyrBY2yy6cMRtJE6qEtZNyRIlXBIji0,7902720
|
|
9
|
+
gitcode_cli-0.2.12.dist-info/licenses/LICENSE,sha256=WsjkQaj0PPK_TKVoHDok218rd8JZdj1GIJ5TrrZD6jE,1253
|
|
10
|
+
gitcode_cli-0.2.12.dist-info/METADATA,sha256=3NeljQXP5oiA8V3PWqEhBBr_6FJZABi0zE4ATACu1fo,9617
|
|
11
|
+
gitcode_cli-0.2.12.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
12
|
+
gitcode_cli-0.2.12.dist-info/entry_points.txt,sha256=IXAR-ST1fHD9LRD7nYjxTBfXjI_CgfEc3BPZmLef2OY,43
|
|
13
|
+
gitcode_cli-0.2.12.dist-info/top_level.txt,sha256=2fSmR3kQ-XhdgFQdVvWmZcEyERJKVZVxOhk7tna1Sus,7
|
|
14
|
+
gitcode_cli-0.2.12.dist-info/RECORD,,
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
gc_cli/__init__.py,sha256=9gFp7T299D2E1TC0q19rWSd4kDC-46hYBL_1PpZ6OiM,241
|
|
2
|
-
gc_cli/wrapper.py,sha256=bJ5aqTRADaV_GX079pBPVhzbRYDZwjaRoK1nmUjVIoE,2119
|
|
3
|
-
gc_cli/bin/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
gc_cli/bin/gc-darwin-amd64,sha256=mI8xK1rWc4dfQouc-zza7mT85RmigvLNQT7lRX-cFbg,7816352
|
|
5
|
-
gc_cli/bin/gc-darwin-arm64,sha256=mjZNAPnYuaU8hTlPXalKCC4ofb_cJ8bPiWg4zORF7Rk,7510002
|
|
6
|
-
gc_cli/bin/gc-linux-amd64,sha256=nALLy-HlWRtrCqRGqUqWXkoHHLmEW2u1qqmBimpNLnQ,7606424
|
|
7
|
-
gc_cli/bin/gc-linux-arm64,sha256=pPnHRFLJOdPhHdEejwAUF8njjWlz4YBPThCHFr8Nb0s,7340184
|
|
8
|
-
gc_cli/bin/gc-windows-amd64.exe,sha256=PdaBSBfJBYdD6WWM5M5x8DO65BOE4ZDK4oYH6w81Knc,7881728
|
|
9
|
-
gitcode_cli-0.2.8.dist-info/licenses/LICENSE,sha256=WsjkQaj0PPK_TKVoHDok218rd8JZdj1GIJ5TrrZD6jE,1253
|
|
10
|
-
gitcode_cli-0.2.8.dist-info/METADATA,sha256=KIqrqjAd8AVa7kA50iz_H0-5y_nM789R5Ezg5S66J1k,8529
|
|
11
|
-
gitcode_cli-0.2.8.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
12
|
-
gitcode_cli-0.2.8.dist-info/entry_points.txt,sha256=IXAR-ST1fHD9LRD7nYjxTBfXjI_CgfEc3BPZmLef2OY,43
|
|
13
|
-
gitcode_cli-0.2.8.dist-info/top_level.txt,sha256=2fSmR3kQ-XhdgFQdVvWmZcEyERJKVZVxOhk7tna1Sus,7
|
|
14
|
-
gitcode_cli-0.2.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|