CLI tool for projects that uses gradle version catalog to check dependency updates.
Project description
Kataloger
Cataloger can help update your project dependencies with ease! All you need is point to libs.versions.toml
file and supply it with repositories that you use in project.
How to use?
CLI mode
Cataloger offers handy CLI mode which you can use locally or on CI:
pip install kataloger
kataloger -p /ProjectDir/libs.versions.toml -rp /ProjectDir/default.repositories.toml
Or you can omit paths to version catalog and repositories if they are located in current working directory:
pip install kataloger
cd /ProjectDir
kataloger
CLI options
-p [path]
or --path [path]
— specifies path to gradle version catalog file. If no path provided kataloger try to find version catalog with default name libs.versions.toml
in current working directory.
-rp [path]
or --repositories-path [path]
— specifies path to .toml file with repositories credentials where updates will be looked for. If no path provided kataloger try to find repositories file with default name default.repositories.toml
in current working directory.
-v
or --verbose
— if specified print more info to console.
-u
or --suggest-unstable
— if specified suggest artifact update from stable version to unstable.
-f
or --fail-on-updates
— if specified return non-zero exit code when at least one update found. Can be useful on CI.
Integrate cataloger to your python script
Cataloger has convenient API (I did my best), so you can install it from pip and use in any script.
Roadmap
- Support check multiple catalogs
- Support all notations in version catalog
- Support advanced update configuration
- Support Python <3.11
Project details
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
File details
Details for the file kataloger-0.1.0.tar.gz
.
File metadata
- Download URL: kataloger-0.1.0.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dadd49714a7f99f2d52dee372c9b6d25ec2c34ad22b6d66f865661370e722e6 |
|
MD5 | 165242c5a054d7918fee8190d02ed1c8 |
|
BLAKE2b-256 | 7d288fff154cd733b53586538be1a3d250a8c88d2e1852688d1380ac0bed4f8d |
File details
Details for the file kataloger-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: kataloger-0.1.0-py3-none-any.whl
- Upload date:
- Size: 22.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f57428cbb175fb5b72f1de15aa340cfb96e730f2f449bafb01d5d618638757ce |
|
MD5 | e97c490b415881f0d6b3041062be436f |
|
BLAKE2b-256 | 26964892af8261a233c7e87f945bda8c872d6a9aab204261c8eba4d44a946584 |