Restore Git repositories from Software Heritage snapshots
Project description
hclone
从 Software Heritage 的永久链接或 snapshot SWHID 恢复 Git 仓库。
安装(本地构建后)
pip install dist/hclone-0.1.0-py3-none-any.whl
使用
hclone "https://archive.softwareheritage.org/swh:1:snp:1930ecd7bcc8c8666c721c4def3944c98d650abf/" sqlite-s3vfs
# 或
hclone "swh:1:snp:1930ecd7bcc8c8666c721c4def3944c98d650abf" sqlite-s3vfs
参数
--wait:等待打包完成的最长秒数(默认 300)--interval:轮询间隔秒数(默认 5)
依赖
- git
- Python 3.10+
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hclone-0.1.0.tar.gz
(3.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hclone-0.1.0.tar.gz.
File metadata
- Download URL: hclone-0.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07e28ccbd648750180b494e93283b898fdbe2509ce7c061cfc67742e80104162
|
|
| MD5 |
2b7f8816087f9502ef4aee6a03b6163e
|
|
| BLAKE2b-256 |
b34855336131e41539d764cf19a7355ad727bdb5d6df4f6856461dce7f027374
|
File details
Details for the file hclone-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hclone-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d20c3a297ae864bbffedd37fe0092e9a413fcfedb613fbf1fd4afa69243fff74
|
|
| MD5 |
5f48d77b196cd9511611866ccd581dbf
|
|
| BLAKE2b-256 |
a098b1b87410b8c043963599f83c17971c7890256cdc84b1d1fab6d72c9600af
|