A module to keep 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 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.dev4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53b582e62a794495c3650c2e253d4a3f468ae2fe27cd1838d486e956a5ac1ff7 |
|
MD5 | f6275ea2b136727b0864ba2415822785 |
|
BLAKE2b-256 | ee74be987a0989cb497084d666589620c0c71d908500069cbc9131ac4981a213 |
Hashes for nexushousekeeper-0.0.4.dev4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3386e9c808adb67c31ee0e023c10b3c3b0b606803f961869a644a1d02b42829e |
|
MD5 | 9e7caa1d73e382d6a9dfbe544a2abf3e |
|
BLAKE2b-256 | 949c030ee1ffd2089ffd5425c7cca068d5dbd854f7ba06bf6fc2cb95b071c14c |