gitcode-cli 0.11.0__py3-none-any.whl → 0.11.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 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.11.0"
7
+ __version__ = "0.11.1"
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.11.0
3
+ Version: 0.11.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>
@@ -111,10 +111,10 @@ export PATH="$HOME/.local/bin:$PATH"
111
111
 
112
112
  ```bash
113
113
  # 从 Releases 下载 .deb 包
114
- wget https://gitcode.com/gitcode-cli/cli/releases/download/v0.11.0/gc_0.11.0_amd64.deb
114
+ wget https://gitcode.com/gitcode-cli/cli/releases/download/v0.11.1/gc_0.11.1_amd64.deb
115
115
 
116
116
  # 安装
117
- sudo dpkg -i gc_0.11.0_amd64.deb
117
+ sudo dpkg -i gc_0.11.1_amd64.deb
118
118
  ```
119
119
 
120
120
  DEB/RPM packages install both `gc` and `gitcode`; on Linux they are equivalent.
@@ -123,10 +123,10 @@ DEB/RPM packages install both `gc` and `gitcode`; on Linux they are equivalent.
123
123
 
124
124
  ```bash
125
125
  # 从 Releases 下载 .rpm 包
126
- wget https://gitcode.com/gitcode-cli/cli/releases/download/v0.11.0/gc-0.11.0-1.x86_64.rpm
126
+ wget https://gitcode.com/gitcode-cli/cli/releases/download/v0.11.1/gc-0.11.1-1.x86_64.rpm
127
127
 
128
128
  # 安装
129
- sudo rpm -i gc-0.11.0-1.x86_64.rpm
129
+ sudo rpm -i gc-0.11.1-1.x86_64.rpm
130
130
  ```
131
131
 
132
132
  DEB/RPM packages install both `gc` and `gitcode`; on Linux they are equivalent.
@@ -142,7 +142,7 @@ source .venv/bin/activate # Linux/macOS
142
142
  # .\.venv\Scripts\Activate.ps1 # Windows PowerShell
143
143
 
144
144
  # 安装(一行命令)
145
- pip install https://gitcode.com/gitcode-cli/cli/releases/download/v0.11.0/gitcode_cli-0.11.0-py3-none-any.whl
145
+ pip install https://gitcode.com/gitcode-cli/cli/releases/download/v0.11.1/gitcode_cli-0.11.1-py3-none-any.whl
146
146
 
147
147
  # Windows PowerShell 中推荐使用 gitcode,避免 gc 被内置 Get-Content 别名覆盖
148
148
  gitcode version
@@ -172,7 +172,7 @@ source .venv/bin/activate # Linux/macOS
172
172
  # .\.venv\Scripts\Activate.ps1 # Windows PowerShell
173
173
 
174
174
  # 固定版本安装,避免 PyPI 尚未同步时安装旧版本
175
- python -m pip install -i https://pypi.org/simple/ gitcode-cli==0.11.0
175
+ python -m pip install -i https://pypi.org/simple/ gitcode-cli==0.11.1
176
176
 
177
177
  # Windows PowerShell 中推荐使用 gitcode
178
178
  gitcode version
@@ -256,7 +256,7 @@ npm install -g @gitcode-cli/cli
256
256
  gitcode version
257
257
  ```
258
258
 
259
- 如果 `gitcode version` 仍显示旧的 pip/wheel 版本,先直接调用 npm 安装目录中的新入口诊断,不必先卸载 pip:
259
+ 如果 `gitcode version` 仍显示旧版本,先直接调用 npm 安装目录中的新入口诊断,不必先卸载 pip 或手工删除旧入口:
260
260
 
261
261
  ```powershell
262
262
  # Windows PowerShell
@@ -269,6 +269,7 @@ gitcode version
269
269
  ```
270
270
 
271
271
  包内置 Linux/macOS/Windows 多平台二进制。Windows bootstrap 同时安装 `gc.exe` 和 `gitcode.exe`,PowerShell 请使用 `gitcode`,避免内置 `gc`/`Get-Content` alias。
272
+ Linux/macOS bootstrap 会自动迁移历史安装遗留的同目录 `gitcode -> gc` 别名;该迁移参与安装事务,失败时恢复原链接,并继续拒绝指向其他位置的符号链接。
272
273
 
273
274
  npm global 与 npm bootstrap 默认使用 `notify` 模式:命令本身立即执行,24 小时 TTL 到期后在后台检查 stable `latest`,发现新版后在下一次启动提示 `gitcode update`,不会自动安装,也不会改变刚完成命令的退出码。需要自动应用的用户可明确启用 `auto`;该模式具有跨进程锁、版本健康检查和失败回滚。
274
275
 
@@ -0,0 +1,15 @@
1
+ gc_cli/__init__.py,sha256=VxU-ZN0djtzj_7gpLWa9vw5iKeE3DfxXMt1GuXm7LIE,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=qv1Utg0NaMCKmRlWdUBHfnFe_sDVxYQuNNR8NanjUUo,9839120
6
+ gc_cli/bin/gc-darwin-arm64,sha256=zyRsXIwEVF4NbKv0v5nHgxa7A4xlLoDcqXHn2DR25Ug,9462706
7
+ gc_cli/bin/gc-linux-amd64,sha256=JH9hqVOysaa25J0imHiK-EBVnuCbaXVlN0kZf1CayIw,8954008
8
+ gc_cli/bin/gc-linux-arm64,sha256=YHhCzv6DQG5hO91Rddnf7z77FUbvUm9AUgF8TyZPxGI,8519832
9
+ gc_cli/bin/gc-windows-amd64.exe,sha256=kMdbvnZ_4sN9TUtWlqXdbIDOZ7Wsgy3ZDHeSpuVuSNk,9246720
10
+ gitcode_cli-0.11.1.dist-info/licenses/LICENSE,sha256=dViNRlgMSkfn1udYjx-DEm8D6e182mc47gnLUMNjI24,1254
11
+ gitcode_cli-0.11.1.dist-info/METADATA,sha256=IzRLPgtxu1MEW6mjbPkPg6sYBvscbSodr4h3DBaxksI,17258
12
+ gitcode_cli-0.11.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
+ gitcode_cli-0.11.1.dist-info/entry_points.txt,sha256=DresfT5jkpwU3fPn8n0MTao1m5QZi3XEulKFbQ8BYYY,73
14
+ gitcode_cli-0.11.1.dist-info/top_level.txt,sha256=2fSmR3kQ-XhdgFQdVvWmZcEyERJKVZVxOhk7tna1Sus,7
15
+ gitcode_cli-0.11.1.dist-info/RECORD,,
@@ -1,15 +0,0 @@
1
- gc_cli/__init__.py,sha256=SRx6SgapEnoX7KGX9Vs50Nmsjj_irrC6hWn8Dn5WaL8,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=mbmV5HoqO8AK1pSnlJ6Hg6T5p1BMOrSsCAb7QflX6aw,9839120
6
- gc_cli/bin/gc-darwin-arm64,sha256=_PDFZsQ4kIkUFrs3sq2IoKqwCZPd4WKVdwyrU-uxgfs,9462706
7
- gc_cli/bin/gc-linux-amd64,sha256=Xp89s4iDL9aDo4kEwxIByLncnsg-mECgm2zdaqLCT5I,8954008
8
- gc_cli/bin/gc-linux-arm64,sha256=4xay9PYrQvyfVNJGgDRqtm1SY4apR_HxjtsKivGHZY8,8519832
9
- gc_cli/bin/gc-windows-amd64.exe,sha256=JXFMgV4-NswXeeK7ZUFkRUesk75IOHC3YYePjsisFpI,9246720
10
- gitcode_cli-0.11.0.dist-info/licenses/LICENSE,sha256=dViNRlgMSkfn1udYjx-DEm8D6e182mc47gnLUMNjI24,1254
11
- gitcode_cli-0.11.0.dist-info/METADATA,sha256=4B5olNklTItcWbRlHY4o57Ur3oWNA8ZpEQhesDF21_E,17045
12
- gitcode_cli-0.11.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
- gitcode_cli-0.11.0.dist-info/entry_points.txt,sha256=DresfT5jkpwU3fPn8n0MTao1m5QZi3XEulKFbQ8BYYY,73
14
- gitcode_cli-0.11.0.dist-info/top_level.txt,sha256=2fSmR3kQ-XhdgFQdVvWmZcEyERJKVZVxOhk7tna1Sus,7
15
- gitcode_cli-0.11.0.dist-info/RECORD,,