Add your description here
Project description
depver 是一个可以根据 git commit 中注释的类型和依赖关系,自动更新版本号的工具。
若要用本工具,需要在 commit 的注释第一行放上这样格式的内容 : ,比如 feat: support xx,工具将会根据类型增加版本号。
在项目根目录,添加一个 depver.toml 文件存放包和服务的文件路径和依赖关系。
可查看示例 tests/depver.toml 了解格式。示例里,有 4 个包,和 2 个服务,其中 shell 依赖 core,而两个服务都依赖 shell,因此,当 core 的版本号更新时,shell 和两个服务的都会更新。
然后运行
python -m depver
运行之后,会创建一个 .last_commit_time 文件记录上一次运行时,最新提交的时间,避免针对同一个提交更新多次版本号。
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
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 depver-0.2.1.tar.gz.
File metadata
- Download URL: depver-0.2.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.14 {"installer":{"name":"uv","version":"0.9.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75e2609979062e73235ba5e81a5dec414a4ba96a11793850ea354aae2634ecf9
|
|
| MD5 |
dd8956c6f57fcc8108c078272a0c8819
|
|
| BLAKE2b-256 |
12fccd93ea3eca59c555f83b6ad51adb5256b06c084df2e377c41dbf327be8cf
|
File details
Details for the file depver-0.2.1-py3-none-any.whl.
File metadata
- Download URL: depver-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.14 {"installer":{"name":"uv","version":"0.9.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1dad4a04ddde3a987c538300f2832f11ea33152885d6f3cc790b3e42fd23db13
|
|
| MD5 |
9eff69df6f1726f34ac03ea67c96c00a
|
|
| BLAKE2b-256 |
ffc23cc1bca303d2ca86be506bc06a213140db331d702e34eb457e8661c97806
|