An open API service indexing awesome lists of open source software.

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

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/