A module to maintain a nexus directory clean
Project description
Nexus House Keeper
This project helps nexus users to clean their repository deleting old or unused component
Requirements:
- Python 3
Installation
Nexus House Keeper can be downloaded from pypi
pip install nexushousekeeper
Print help :
nexushousekeeper -h
Remove all components with versions matching a pattern
nexushousekeeper -u NEXUS_USER -p NEXUS_PASSWORD -r REPOSITORY --nexus-url NEXUS_URL --version-match 1.1.*
This command remove all versions beginning with 1.1
Remove all components with the exact version
nexushousekeeper -u NEXUS_USER -p NEXUS_PASSWORD -r REPOSITORY --nexus-url NEXUS_URL --version-match 1.1-SNAPSHOT
This command remove all components with version 1.1-SNAPSHOT
dry run
Don't perform deletion but display which element should be deleted
nexushousekeeper -u NEXUS_USER -p NEXUS_PASSWORD -r REPOSITORY --nexus-url NEXUS_URL --version-match 1.1.* --dryrun
display each version for each component
nexushousekeeper -u NEXUS_USER -p NEXUS_PASSWORD -r REPOSITORY --nexus-url NEXUS_URL -s
Contributing
Install
poetry install
Run tests
poetry run pytest
Build Project
poetry build
Deploy to pypi
- testpypi
poetry publish -r testpypi
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
Hashes for nexushousekeeper-0.0.4.dev2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bc47086828e9432d1fe0cfdb3d55133d49609d2d41a4c4d55550efde703d086 |
|
MD5 | 1d246bfb4e244b035a23af39ec32a318 |
|
BLAKE2b-256 | 55612d61140b12043da527b11cab68d36a20a732e1ed17c445b077d6ffb818e8 |
Hashes for nexushousekeeper-0.0.4.dev2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3676873b1f27b3b77a8452f172f44701b342e996d9a2420f0d30ea5baf4581f |
|
MD5 | ab38a4247f28c1f803c262937456e6c8 |
|
BLAKE2b-256 | 7488e216244ba93c8c1438e7511dffdf5080bd0b2a970a251a1914cace174126 |