Metadata-Version: 2.1
Name: nexushousekeeper
Version: 0.0.7
Summary: A module to keep a nexus directory clean
Home-page: https://github.com/benDeMtp/NexusHouseKeeper
License: MIT
Keywords: nexus,nexus3
Author: Benjamin Raimondi
Author-email: benjamin.raimondi@gmail.com
Requires-Python: >=3.6,<4.0
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: hurry.filesize (==0.9)
Requires-Dist: requests (==2.25.0)
Requires-Dist: requests_futures (==1.0.0)
Requires-Dist: rich (>=9.4.0,<10.0.0)
Project-URL: Repository, https://github.com/benDeMtp/NexusHouseKeeper
Description-Content-Type: text/markdown

# 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 
``
