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
File details
Details for the file nexushousekeeper-0.0.7.tar.gz
.
File metadata
- Download URL: nexushousekeeper-0.0.7.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.10 Darwin/21.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9096b54945a05588a3583c753cb5981cfd973b6af6ff9a1d69d0e84aa9e2f89 |
|
MD5 | c8c4923255873feb327f5e7e34b8ca2a |
|
BLAKE2b-256 | 72518914ebd4809dfbea77ad9c30ed43e7ab2f0525b17897a9b30714f83edd4c |
File details
Details for the file nexushousekeeper-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: nexushousekeeper-0.0.7-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.10 Darwin/21.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfb2005e53e793e41a08b43caf291b22d13cf16bec3be648c31e1c6728147327 |
|
MD5 | 7c0af9b68a1841906a37612bcbbd6c6f |
|
BLAKE2b-256 | 840bb8257cb8cb6ecc15c76e6e7ebd5a4922d12a4489fe6854e88e87ce1ebb5a |