gitcode-cli 0.13.0__py3-none-any.whl → 0.14.1__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.13.0.dist-info → gitcode_cli-0.14.1.dist-info}/METADATA +36 -24
- gitcode_cli-0.14.1.dist-info/RECORD +15 -0
- gitcode_cli-0.13.0.dist-info/RECORD +0 -15
- {gitcode_cli-0.13.0.dist-info → gitcode_cli-0.14.1.dist-info}/WHEEL +0 -0
- {gitcode_cli-0.13.0.dist-info → gitcode_cli-0.14.1.dist-info}/entry_points.txt +0 -0
- {gitcode_cli-0.13.0.dist-info → gitcode_cli-0.14.1.dist-info}/licenses/LICENSE +0 -0
- {gitcode_cli-0.13.0.dist-info → gitcode_cli-0.14.1.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,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gitcode-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.14.1
|
|
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>
|
|
@@ -27,15 +27,15 @@ Description-Content-Type: text/markdown
|
|
|
27
27
|
License-File: LICENSE
|
|
28
28
|
Dynamic: license-file
|
|
29
29
|
|
|
30
|
-
# GitCode CLI
|
|
30
|
+
# AtomGit CLI(原 GitCode CLI)
|
|
31
31
|
|
|
32
32
|
[](./docs/AI-GUIDE.md)
|
|
33
33
|
|
|
34
34
|
[](https://golang.org)
|
|
35
35
|
[](LICENSE)
|
|
36
|
-
[](https://gitcode.com/
|
|
36
|
+
[](https://gitcode.com/atomgit-cli/cli/releases)
|
|
37
37
|
|
|
38
|
-
GitCode CLI
|
|
38
|
+
AtomGit CLI(原 GitCode CLI)把仓库、Issue、PR、Release 和 Actions 带回终端,让开发者减少页面切换,也让脚本与 AI 获得结构化、可审计、带安全边界的 GitCode 执行入口。
|
|
39
39
|
|
|
40
40
|
[快速了解核心价值与应用场景,并在五分钟内开始使用](./docs/INTRODUCTION.md)。
|
|
41
41
|
|
|
@@ -67,33 +67,39 @@ GitCode CLI 把仓库、Issue、PR、Release 和 Actions 带回终端,让开
|
|
|
67
67
|
|
|
68
68
|
## 安装
|
|
69
69
|
|
|
70
|
-
推荐只让一个全局安装渠道拥有 `gc` / `gitcode`。已安装 Node.js/npm 的 Windows、Linux、macOS
|
|
70
|
+
推荐只让一个全局安装渠道拥有 `gc` / `gitcode`。已安装 Node.js/npm 的 Windows、Linux、macOS、OpenHarmony(arm64)与 AI 环境优先使用下方 npm bootstrap;没有 Node.js 时再选择 Homebrew、DEB/RPM 或隔离的 Python wheel。CI 建议固定版本并校验 checksum。
|
|
71
71
|
|
|
72
72
|
### 推荐:npm 一行 bootstrap(跨平台)
|
|
73
73
|
|
|
74
|
-
已安装 Node.js/npm 时,安装或升级 CLI
|
|
74
|
+
已安装 Node.js/npm 时,安装或升级 CLI 的首选入口(推荐坐标 `atomgit-cli`):
|
|
75
75
|
|
|
76
76
|
```bash
|
|
77
|
-
npx -y
|
|
77
|
+
npx -y atomgit-cli@latest install
|
|
78
78
|
gitcode version
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
+
等价坐标:`npx -y @gitcode-cli/cli@latest install`(与 `@atomgit-cli/cli` 并行等价,旧坐标长期可用,存量安装无需迁移)。npm 上的裸名 `gitcode-cli` 为第三方无关项目,请勿安装。
|
|
82
|
+
|
|
81
83
|
短命令适合用户主目录等可信环境,会继承当前目录与用户的 npm 配置。CI、审计、不可信项目目录或自定义 npm registry 环境请使用完整加固命令:
|
|
82
84
|
|
|
83
85
|
```bash
|
|
84
|
-
npx --yes --ignore-scripts --registry=https://registry.npmjs.org
|
|
86
|
+
npx --yes --ignore-scripts --registry=https://registry.npmjs.org atomgit-cli@latest install
|
|
85
87
|
```
|
|
86
88
|
|
|
89
|
+
(scoped 坐标加固形式:`npx --yes --ignore-scripts --registry=https://registry.npmjs.org --@gitcode-cli:registry=https://registry.npmjs.org @gitcode-cli/cli@latest install`)
|
|
90
|
+
|
|
87
91
|
CI、审计或版本复现可固定版本:
|
|
88
92
|
|
|
89
93
|
```bash
|
|
90
|
-
npx --yes --ignore-scripts --registry=https://registry.npmjs.org
|
|
94
|
+
npx --yes --ignore-scripts --registry=https://registry.npmjs.org atomgit-cli@0.14.1 install
|
|
91
95
|
```
|
|
92
96
|
|
|
93
|
-
|
|
97
|
+
(scoped 坐标锁定形式:`npx --yes --ignore-scripts --registry=https://registry.npmjs.org --@gitcode-cli:registry=https://registry.npmjs.org @gitcode-cli/cli@0.14.1 install`)
|
|
98
|
+
|
|
99
|
+
不要使用 `npm i atomgit-cli` 或 `npm install atomgit-cli` 安装全局 CLI;这两条命令只会把包加入当前项目的 `node_modules`,不会更新 PATH 中已有的 `gitcode`。需要由 npm global prefix 管理入口时,可改用:
|
|
94
100
|
|
|
95
101
|
```bash
|
|
96
|
-
npm install -g --ignore-scripts --registry=https://registry.npmjs.org
|
|
102
|
+
npm install -g --ignore-scripts --registry=https://registry.npmjs.org atomgit-cli@latest
|
|
97
103
|
gitcode version
|
|
98
104
|
```
|
|
99
105
|
|
|
@@ -117,7 +123,7 @@ gitcode doctor install --json
|
|
|
117
123
|
|
|
118
124
|
```bash
|
|
119
125
|
# 克隆仓库(需要 git clone 才能获取版本信息)
|
|
120
|
-
git clone https://gitcode.com/
|
|
126
|
+
git clone https://gitcode.com/atomgit-cli/cli.git
|
|
121
127
|
cd cli
|
|
122
128
|
|
|
123
129
|
# 方式一:使用 go build(推荐)
|
|
@@ -143,10 +149,10 @@ export PATH="$HOME/.local/bin:$PATH"
|
|
|
143
149
|
|
|
144
150
|
```bash
|
|
145
151
|
# 从 Releases 下载 .deb 包
|
|
146
|
-
wget https://gitcode.com/
|
|
152
|
+
wget https://gitcode.com/atomgit-cli/cli/releases/download/v0.14.1/gc_0.14.1_amd64.deb
|
|
147
153
|
|
|
148
154
|
# 安装
|
|
149
|
-
sudo dpkg -i gc_0.
|
|
155
|
+
sudo dpkg -i gc_0.14.1_amd64.deb
|
|
150
156
|
```
|
|
151
157
|
|
|
152
158
|
DEB/RPM packages install both `gc` and `gitcode`; on Linux they are equivalent.
|
|
@@ -155,10 +161,10 @@ DEB/RPM packages install both `gc` and `gitcode`; on Linux they are equivalent.
|
|
|
155
161
|
|
|
156
162
|
```bash
|
|
157
163
|
# 从 Releases 下载 .rpm 包
|
|
158
|
-
wget https://gitcode.com/
|
|
164
|
+
wget https://gitcode.com/atomgit-cli/cli/releases/download/v0.14.1/gc-0.14.1-1.x86_64.rpm
|
|
159
165
|
|
|
160
166
|
# 安装
|
|
161
|
-
sudo rpm -i gc-0.
|
|
167
|
+
sudo rpm -i gc-0.14.1-1.x86_64.rpm
|
|
162
168
|
```
|
|
163
169
|
|
|
164
170
|
DEB/RPM packages install both `gc` and `gitcode`; on Linux they are equivalent.
|
|
@@ -174,7 +180,7 @@ source .venv/bin/activate # Linux/macOS
|
|
|
174
180
|
# .\.venv\Scripts\Activate.ps1 # Windows PowerShell
|
|
175
181
|
|
|
176
182
|
# 安装(一行命令)
|
|
177
|
-
pip install https://gitcode.com/
|
|
183
|
+
pip install https://gitcode.com/atomgit-cli/cli/releases/download/v0.14.1/gitcode_cli-0.14.1-py3-none-any.whl
|
|
178
184
|
|
|
179
185
|
# Windows PowerShell 中推荐使用 gitcode,避免 gc 被内置 Get-Content 别名覆盖
|
|
180
186
|
gitcode version
|
|
@@ -204,7 +210,7 @@ source .venv/bin/activate # Linux/macOS
|
|
|
204
210
|
# .\.venv\Scripts\Activate.ps1 # Windows PowerShell
|
|
205
211
|
|
|
206
212
|
# 固定版本安装,避免 PyPI 尚未同步时安装旧版本
|
|
207
|
-
python -m pip install -i https://pypi.org/simple/ gitcode-cli==0.
|
|
213
|
+
python -m pip install -i https://pypi.org/simple/ gitcode-cli==0.14.1
|
|
208
214
|
|
|
209
215
|
# Windows PowerShell 中推荐使用 gitcode
|
|
210
216
|
gitcode version
|
|
@@ -219,7 +225,7 @@ gitcode version
|
|
|
219
225
|
| Linux x64 | `gc_linux_amd64` |
|
|
220
226
|
| Linux ARM64 | `gc_linux_arm64` |
|
|
221
227
|
|
|
222
|
-
下载地址: https://gitcode.com/
|
|
228
|
+
下载地址: https://gitcode.com/atomgit-cli/cli/releases
|
|
223
229
|
|
|
224
230
|
下载后赋予可执行权限,并放到 PATH 目录:
|
|
225
231
|
|
|
@@ -261,7 +267,7 @@ unset GC_TOKEN
|
|
|
261
267
|
### Homebrew (macOS/Linux)
|
|
262
268
|
|
|
263
269
|
```bash
|
|
264
|
-
brew install
|
|
270
|
+
brew install atomgit-cli/homebrew-tap/gc
|
|
265
271
|
```
|
|
266
272
|
|
|
267
273
|
更新到最新版本:
|
|
@@ -419,6 +425,12 @@ gitcode precommit check
|
|
|
419
425
|
# 查看流水线运行记录
|
|
420
426
|
gitcode actions run list -R owner/repo --status FAILED
|
|
421
427
|
|
|
428
|
+
# 启用单个仓库的 Actions(交互确认)
|
|
429
|
+
gitcode actions setting enable -R owner/repo
|
|
430
|
+
|
|
431
|
+
# 启用组织下全部仓库的 Actions(非交互)
|
|
432
|
+
gitcode actions setting enable --org my-org --yes
|
|
433
|
+
|
|
422
434
|
# 查看流水线运行详情
|
|
423
435
|
gitcode actions run view <run-id> -R owner/repo
|
|
424
436
|
|
|
@@ -490,15 +502,15 @@ source ~/.config/fish/config.fish
|
|
|
490
502
|
补充说明:
|
|
491
503
|
|
|
492
504
|
- `docs/AI-GUIDE.md` 只服务外部项目通过 AI 使用 `gitcode`(或源码构建的 `gc`)
|
|
493
|
-
-
|
|
505
|
+
- atomgit-cli 仓库内部 AI 开发请看 `AGENTS.md`、`CLAUDE.md` 和 `spec/workflows/ai-local-development-workflow.md`
|
|
494
506
|
- `issues-plan/PROGRESS.md` 只作为阶段说明,不作为单个 issue / PR 的实时事实依据
|
|
495
507
|
|
|
496
508
|
## 开发
|
|
497
509
|
|
|
498
510
|
```bash
|
|
499
511
|
# 克隆仓库
|
|
500
|
-
git clone https://gitcode.com/
|
|
501
|
-
cd
|
|
512
|
+
git clone https://gitcode.com/atomgit-cli/cli.git
|
|
513
|
+
cd cli
|
|
502
514
|
|
|
503
515
|
# 安装依赖
|
|
504
516
|
make deps
|
|
@@ -532,4 +544,4 @@ make run
|
|
|
532
544
|
|
|
533
545
|
- [GitCode](https://gitcode.com) - GitCode 平台
|
|
534
546
|
- [API 文档](https://docs.gitcode.com/docs/apis/) - GitCode API 参考
|
|
535
|
-
- [问题反馈](https://gitcode.com/
|
|
547
|
+
- [问题反馈](https://gitcode.com/atomgit-cli/cli/issues) - 提交 Bug 或建议
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
gc_cli/__init__.py,sha256=31zet5Jz7KZekPwpVa9DPB1YBrorHz48-rZI9easYt8,243
|
|
2
|
+
gc_cli/__main__.py,sha256=fqZ9iOh0ac8K_B9WmHydaxokzIivd5QBPJoNqgXnugo,154
|
|
3
|
+
gc_cli/wrapper.py,sha256=Q_NathDiUKF5C4D-TEQd5Ky_y2GN88pqS2IybKKOkRs,3155
|
|
4
|
+
gc_cli/bin/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
gc_cli/bin/gc-darwin-amd64,sha256=9CIU_J9S59ckaEle1BogDcXzWv7fISVUkVZQwTIJSCA,10314832
|
|
6
|
+
gc_cli/bin/gc-darwin-arm64,sha256=RdF5hnL57k-7nMcLaXMWrsT4xabCEh3sA6OT3vGGxKM,9933842
|
|
7
|
+
gc_cli/bin/gc-linux-amd64,sha256=0pf9t1VDPb7pIX3Wc1u80pWr2CRO2t1ZoEp9LmEKoyo,9384088
|
|
8
|
+
gc_cli/bin/gc-linux-arm64,sha256=gt-TKxjWoWtSqGUC_a8cavvhqNWXjmuuFtiGW-gBuZQ,8978584
|
|
9
|
+
gc_cli/bin/gc-windows-amd64.exe,sha256=ePa0vW_koLaGexvfnrPU07ZX5GftL5jd1MGcNvWRpS0,9764864
|
|
10
|
+
gitcode_cli-0.14.1.dist-info/licenses/LICENSE,sha256=dViNRlgMSkfn1udYjx-DEm8D6e182mc47gnLUMNjI24,1254
|
|
11
|
+
gitcode_cli-0.14.1.dist-info/METADATA,sha256=MFx3thsMBFsVEGvHCAk28tnEUHGthFUA3jWRK5L925s,19996
|
|
12
|
+
gitcode_cli-0.14.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
13
|
+
gitcode_cli-0.14.1.dist-info/entry_points.txt,sha256=DresfT5jkpwU3fPn8n0MTao1m5QZi3XEulKFbQ8BYYY,73
|
|
14
|
+
gitcode_cli-0.14.1.dist-info/top_level.txt,sha256=2fSmR3kQ-XhdgFQdVvWmZcEyERJKVZVxOhk7tna1Sus,7
|
|
15
|
+
gitcode_cli-0.14.1.dist-info/RECORD,,
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
gc_cli/__init__.py,sha256=7mbgnWw-LES9R2I82FFJiHZ8eoNaNQudkE8bh6eBmW8,243
|
|
2
|
-
gc_cli/__main__.py,sha256=fqZ9iOh0ac8K_B9WmHydaxokzIivd5QBPJoNqgXnugo,154
|
|
3
|
-
gc_cli/wrapper.py,sha256=Q_NathDiUKF5C4D-TEQd5Ky_y2GN88pqS2IybKKOkRs,3155
|
|
4
|
-
gc_cli/bin/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
-
gc_cli/bin/gc-darwin-amd64,sha256=pp4pY21DLUS2OiL7b19eXmmzDhR5lfUvV3RFtX8NQ-0,10175920
|
|
6
|
-
gc_cli/bin/gc-darwin-arm64,sha256=qEzPl0q9yibfwTx7KG2CfYY_XNUvTSL_fWP5QAoI3hQ,9789746
|
|
7
|
-
gc_cli/bin/gc-linux-amd64,sha256=FU4omwz7CA1fljzuVPW9r2i0-UuTvxLP4EmEvAwTjI0,9261208
|
|
8
|
-
gc_cli/bin/gc-linux-arm64,sha256=PeUJlF0RMtyudTk4Y0Z0jardgD2Y2rkEWdEL1S1Jdjo,8847512
|
|
9
|
-
gc_cli/bin/gc-windows-amd64.exe,sha256=K3w2Puosb6gxMwnKwjMt4yFSZopd7PAW81TXX0ol9ro,9562624
|
|
10
|
-
gitcode_cli-0.13.0.dist-info/licenses/LICENSE,sha256=dViNRlgMSkfn1udYjx-DEm8D6e182mc47gnLUMNjI24,1254
|
|
11
|
-
gitcode_cli-0.13.0.dist-info/METADATA,sha256=XsWS8BtH2sXAFudwBnwN1jK2foOiv3Gk_8l4DRNhBM0,19295
|
|
12
|
-
gitcode_cli-0.13.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
13
|
-
gitcode_cli-0.13.0.dist-info/entry_points.txt,sha256=DresfT5jkpwU3fPn8n0MTao1m5QZi3XEulKFbQ8BYYY,73
|
|
14
|
-
gitcode_cli-0.13.0.dist-info/top_level.txt,sha256=2fSmR3kQ-XhdgFQdVvWmZcEyERJKVZVxOhk7tna1Sus,7
|
|
15
|
-
gitcode_cli-0.13.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|