Commit Graph

18 Commits

Author SHA1 Message Date
Andrey Pohilko
dcb8344805 added tests of delete_tags function 2017-04-27 17:52:50 +06:00
Andrey Pohilko
151a835e3c more tests 2017-04-26 21:13:30 +06:00
Andrey Pohilko
ae9c7b79c8 fixed issue #15, added tests of tags_like arg 2017-04-26 13:44:13 +06:00
Andrey Pohilko
e565f97df0 fixed issue which probably caused the TypeError 2017-02-16 15:55:15 +06:00
Andrey Pohilko
098b20a102 small refactorings 2017-02-11 10:34:46 +06:00
Andrey Pohilko
657464d477 username and password can be quoted (double or single) 2017-02-11 08:56:07 +06:00
Andrey Pohilko
f374ecf0f1 password can contain colons 2017-02-11 08:44:05 +06:00
Andrey Pohilko
2c632c9086 added tests, made few changes in registry.py 2017-02-10 19:46:11 +06:00
Thomas Meyer
b718065e38 sort tags before keeping last versions 2017-02-08 16:26:50 +01:00
Andrey Pohilko
eaca8bf1df fixed issue #8 (-d causes type error) 2017-02-08 15:49:07 +06:00
Bernd Juchems
b742ba89fe * added "no-validate-ssl" parameter to disable ssl verification messages for self signed certificates
* reworked tag selection routine
** "tags-like" parameter adds regexp like filtering
** "keep-tags" parameter specifies tag names that are to keep, regardless of selection
** "keep-tags-like" dito, but regexp based

The keep tags routine works by comparing needed manifest digests - they are read and compared before deleting a manifest.
2017-01-09 18:19:15 +01:00
Olivier Doucet
9f01af29b6 Make script Python 2.6 compatible 2016-12-18 14:50:14 +01:00
Andreas de Pretis
8e7626c5dd Support --layers for schemaVersion 1 images 2016-11-23 21:57:58 +01:00
Andrey Pohilko
d7411cb689 --login is now optional, ctrl-c caught 2016-10-26 17:49:26 +06:00
Andrey Pohilko
48f3419a14 disabled deletion of layers 2016-10-16 11:35:24 +06:00
Olivier Bazoud
78118e6a2e Remove unused variable keep_last_versions 2016-10-15 18:27:03 +02:00
Andrey Pohilko
633f349fd5 return False if dry-run is set 2016-10-15 12:00:20 +06:00
Andrey Pohilko
6635100732 new file 2016-10-15 11:11:26 +06:00