https://github.com/apsl/archiclean
Utility for cleaning apache archiva repository versions and snapshots
https://github.com/apsl/archiclean
Last synced: 9 months ago
JSON representation
Utility for cleaning apache archiva repository versions and snapshots
- Host: GitHub
- URL: https://github.com/apsl/archiclean
- Owner: APSL
- Created: 2015-04-30T09:45:31.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-06T12:18:58.000Z (about 11 years ago)
- Last Synced: 2025-10-10T05:39:39.815Z (9 months ago)
- Language: Python
- Size: 137 KB
- Stars: 1
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
==========
Archiclean
==========
Archiva repos cleaning and exporting tool.
This tool implements a version ordering oriented to solve our custom release problem:
mixing *number-based* an *year-based* version naming schemes on artifacts.
Usage
-----
* Exports artifact releases and snapshots FROM_PATH TO_PATH, keeping KEEP versions
archiclean --keep=KEEP FROM_PATH TO_PATH
Will export separate repos TO_PATH/releases and TO_PATH/snapshots
* Lists artifact releases and snapshots
archiclean list FROM_PATH
Install
-------
pip install git+https:https://github.com/APSL/archiclean.git
Requirements
~~~~~~~~~~~~
* python 2.7
* click
* distutils
* shutil
Help
----
archiclean --help
archiclean list --help
archiclean export --help
Misc info
---------
* Version cleaning stuff managed with python distutils.version
* All ordering stuff here: https://github.com/APSL/archiclean/blob/master/archiclean/artifact.py#L46
* cmd management with http://click.pocoo.org/