gitcode-cli 0.16.0__py3-none-any.whl → 0.17.0__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 CHANGED
@@ -4,7 +4,7 @@ GitCode CLI - Command line tool for GitCode.
4
4
  This package provides a Python wrapper for the gc binary.
5
5
  """
6
6
 
7
- __version__ = "0.16.0"
7
+ __version__ = "0.17.0"
8
8
  __author__ = "GitCode CLI Contributors"
9
9
  __all__ = ["__version__", "main"]
10
10
 
Binary file
Binary file
gc_cli/bin/gc-linux-amd64 CHANGED
Binary file
gc_cli/bin/gc-linux-arm64 CHANGED
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitcode-cli
3
- Version: 0.16.0
3
+ Version: 0.17.0
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>
@@ -91,10 +91,10 @@ npx --yes --ignore-scripts --registry=https://registry.npmjs.org atomgit-cli@lat
91
91
  CI、审计或版本复现可固定版本:
92
92
 
93
93
  ```bash
94
- npx --yes --ignore-scripts --registry=https://registry.npmjs.org atomgit-cli@0.16.0 install
94
+ npx --yes --ignore-scripts --registry=https://registry.npmjs.org atomgit-cli@0.17.0 install
95
95
  ```
96
96
 
97
- (scoped 坐标锁定形式:`npx --yes --ignore-scripts --registry=https://registry.npmjs.org --@gitcode-cli:registry=https://registry.npmjs.org @gitcode-cli/cli@0.16.0 install`)
97
+ (scoped 坐标锁定形式:`npx --yes --ignore-scripts --registry=https://registry.npmjs.org --@gitcode-cli:registry=https://registry.npmjs.org @gitcode-cli/cli@0.17.0 install`)
98
98
 
99
99
  不要使用 `npm i atomgit-cli` 或 `npm install atomgit-cli` 安装全局 CLI;这两条命令只会把包加入当前项目的 `node_modules`,不会更新 PATH 中已有的 `gitcode`。需要由 npm global prefix 管理入口时,可改用:
100
100
 
@@ -149,10 +149,10 @@ export PATH="$HOME/.local/bin:$PATH"
149
149
 
150
150
  ```bash
151
151
  # 从 Releases 下载 .deb 包
152
- wget https://gitcode.com/atomgit-cli/cli/releases/download/v0.16.0/gc_0.16.0_amd64.deb
152
+ wget https://gitcode.com/atomgit-cli/cli/releases/download/v0.17.0/gc_0.17.0_amd64.deb
153
153
 
154
154
  # 安装
155
- sudo dpkg -i gc_0.16.0_amd64.deb
155
+ sudo dpkg -i gc_0.17.0_amd64.deb
156
156
  ```
157
157
 
158
158
  DEB/RPM packages install both `gc` and `gitcode`; on Linux they are equivalent.
@@ -161,10 +161,10 @@ DEB/RPM packages install both `gc` and `gitcode`; on Linux they are equivalent.
161
161
 
162
162
  ```bash
163
163
  # 从 Releases 下载 .rpm 包
164
- wget https://gitcode.com/atomgit-cli/cli/releases/download/v0.16.0/gc-0.16.0-1.x86_64.rpm
164
+ wget https://gitcode.com/atomgit-cli/cli/releases/download/v0.17.0/gc-0.17.0-1.x86_64.rpm
165
165
 
166
166
  # 安装
167
- sudo rpm -i gc-0.16.0-1.x86_64.rpm
167
+ sudo rpm -i gc-0.17.0-1.x86_64.rpm
168
168
  ```
169
169
 
170
170
  DEB/RPM packages install both `gc` and `gitcode`; on Linux they are equivalent.
@@ -180,7 +180,7 @@ source .venv/bin/activate # Linux/macOS
180
180
  # .\.venv\Scripts\Activate.ps1 # Windows PowerShell
181
181
 
182
182
  # 安装(一行命令)
183
- pip install https://gitcode.com/atomgit-cli/cli/releases/download/v0.16.0/gitcode_cli-0.16.0-py3-none-any.whl
183
+ pip install https://gitcode.com/atomgit-cli/cli/releases/download/v0.17.0/gitcode_cli-0.17.0-py3-none-any.whl
184
184
 
185
185
  # Windows PowerShell 中推荐使用 gitcode,避免 gc 被内置 Get-Content 别名覆盖
186
186
  gitcode version
@@ -210,7 +210,7 @@ source .venv/bin/activate # Linux/macOS
210
210
  # .\.venv\Scripts\Activate.ps1 # Windows PowerShell
211
211
 
212
212
  # 固定版本安装,避免 PyPI 尚未同步时安装旧版本
213
- python -m pip install -i https://pypi.org/simple/ gitcode-cli==0.16.0
213
+ python -m pip install -i https://pypi.org/simple/ gitcode-cli==0.17.0
214
214
 
215
215
  # Windows PowerShell 中推荐使用 gitcode
216
216
  gitcode version
@@ -349,7 +349,7 @@ gitcode auth login
349
349
 
350
350
  说明:
351
351
  - `gc auth login` 会将认证信息持久化到本地配置目录
352
- - 如果设置了环境变量,环境变量始终覆盖本地配置
352
+ - 默认主机 `gitcode.com` 下,如果设置了环境变量,环境变量会覆盖本地配置;非默认主机使用该主机本地配置
353
353
  - `gc auth logout` 只清理本地配置,不会自动取消环境变量
354
354
  - 详细规则见 [docs/AUTH.md](./docs/AUTH.md)
355
355
 
@@ -0,0 +1,15 @@
1
+ gc_cli/__init__.py,sha256=_wEJGVmD75p0f9aqnL2AOHqCG-GhyH__1fQP-r42iMQ,243
2
+ gc_cli/__main__.py,sha256=fqZ9iOh0ac8K_B9WmHydaxokzIivd5QBPJoNqgXnugo,154
3
+ gc_cli/wrapper.py,sha256=Ka7itE4b4dHYN7oTFa5KvqI8w7WFWlnTLNw8Iu3dZcM,3680
4
+ gc_cli/bin/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ gc_cli/bin/gc-darwin-amd64,sha256=x3VW-eOoftQ-skDPA--PPKjKvWHB04qmLk_CsCGlJTU,12992928
6
+ gc_cli/bin/gc-darwin-arm64,sha256=RQZULc-qPidZdyGnSZb9xMXZb7JCpeV9ebqfgF-IZQM,12129890
7
+ gc_cli/bin/gc-linux-amd64,sha256=MFsPPa8DUTi3J4AFXWMImu-Q5w6vExaaMPmC5I_QDhA,11845794
8
+ gc_cli/bin/gc-linux-arm64,sha256=84kgl1ILkf5LI4P9-OBaiZ4_5b-eXC6ed1qsrwDanMo,10944674
9
+ gc_cli/bin/gc-windows-amd64.exe,sha256=SSQnsJ3_rnRn-V0RWRmX5tjcAdrNya3PdRXuyNoVUnU,12284416
10
+ gitcode_cli-0.17.0.dist-info/licenses/LICENSE,sha256=dViNRlgMSkfn1udYjx-DEm8D6e182mc47gnLUMNjI24,1254
11
+ gitcode_cli-0.17.0.dist-info/METADATA,sha256=10Drsbt7Eq3EM5a8yJj3MZ0eGcf67rskRx8PFD9kibY,20300
12
+ gitcode_cli-0.17.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
+ gitcode_cli-0.17.0.dist-info/entry_points.txt,sha256=DresfT5jkpwU3fPn8n0MTao1m5QZi3XEulKFbQ8BYYY,73
14
+ gitcode_cli-0.17.0.dist-info/top_level.txt,sha256=2fSmR3kQ-XhdgFQdVvWmZcEyERJKVZVxOhk7tna1Sus,7
15
+ gitcode_cli-0.17.0.dist-info/RECORD,,
@@ -1,15 +0,0 @@
1
- gc_cli/__init__.py,sha256=GiBUgBSscuq9rQzJuA6lzjT-nRGniRFH3CT2bJdRtpQ,243
2
- gc_cli/__main__.py,sha256=fqZ9iOh0ac8K_B9WmHydaxokzIivd5QBPJoNqgXnugo,154
3
- gc_cli/wrapper.py,sha256=Ka7itE4b4dHYN7oTFa5KvqI8w7WFWlnTLNw8Iu3dZcM,3680
4
- gc_cli/bin/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- gc_cli/bin/gc-darwin-amd64,sha256=-mjNP-ijXYPb0d292Sr44ciu7Pe7fvX-3T8nwjTI2mI,10389312
6
- gc_cli/bin/gc-darwin-arm64,sha256=udUs-CaHzOR9okiX8VEb1QOXTokPXssH2xEe225z87I,9988258
7
- gc_cli/bin/gc-linux-amd64,sha256=QXmWKDx50s-dX-VGswd4WY68cUVOVjozHCPBSjijU0w,9449624
8
- gc_cli/bin/gc-linux-arm64,sha256=E6r9XEUb_jPT0fszh99B0eDnGDfaM8d8nDw5_edZtzo,8978584
9
- gc_cli/bin/gc-windows-amd64.exe,sha256=IXfwfwWuTHD9leBxh6BTwh8PFNPEBodxtIC-2Zt-9E8,9828864
10
- gitcode_cli-0.16.0.dist-info/licenses/LICENSE,sha256=dViNRlgMSkfn1udYjx-DEm8D6e182mc47gnLUMNjI24,1254
11
- gitcode_cli-0.16.0.dist-info/METADATA,sha256=ZA26wAd-rkaO4aU-tRaz8KsqeUQASIsmNSIlDM_fxYo,20225
12
- gitcode_cli-0.16.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
- gitcode_cli-0.16.0.dist-info/entry_points.txt,sha256=DresfT5jkpwU3fPn8n0MTao1m5QZi3XEulKFbQ8BYYY,73
14
- gitcode_cli-0.16.0.dist-info/top_level.txt,sha256=2fSmR3kQ-XhdgFQdVvWmZcEyERJKVZVxOhk7tna1Sus,7
15
- gitcode_cli-0.16.0.dist-info/RECORD,,