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.dev3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0197972596467bff141f812bba6521940b23aeb9cff4ebb961f50f42a4a11cc |
|
MD5 | 53ceb8edc84af01dec7aa594f96fac36 |
|
BLAKE2b-256 | a63ed36a5b7a4ef6970ada70fb10241ce55ddc2f43313c9ab2839bdfc07e081d |
Hashes for nexushousekeeper-0.0.4.dev3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccbf8ac5fd10524fd4ff12bb41a1466e58ca724d956d7ca7fb13e05e90770558 |
|
MD5 | e862fbc8fb805ad06d1785f15a0488a8 |
|
BLAKE2b-256 | 2234b100c9a4297c8aa155f1c32142b4d58faeafd73b2a86ff6f1d8439987f33 |