Commit Graph

97 Commits

Author SHA1 Message Date
Nimrod Zimerman
927253854b Prevent deletion of a manifest that is used by a tag that isn't deleted 2017-06-07 18:44:15 +03:00
andrey-pohilko
518158169f Merge pull request #17 from jpap/patch-1
Use /usr/bin/env to find the right python to run
2017-05-23 10:00:36 +06:00
John Papandriopoulos
4ad6c3bdfb Use /usr/bin/env to find the right python to run 2017-05-22 16:10:38 -07:00
Andrey Pohilko
5776528162 remove coverage badge 2017-04-28 15:20:36 +06:00
Andrey Pohilko
633ef7d43b add coverage badge 2017-04-28 15:19:01 +06:00
Andrey Pohilko
4614af36a6 remove unnecessary libraries from coverage report 2017-04-28 14:30:51 +06:00
Andrey Pohilko
621a1cd1d0 add code coverage reporting 2017-04-28 14:24:17 +06:00
Andrey Pohilko
f03f87fc1d rename file circle.yml 2017-04-28 13:54:55 +06:00
Andrey Pohilko
539c265f63 add circleci configuration 2017-04-28 13:53:44 +06:00
Andrey Pohilko
d621c5abd3 test delete_tags function 2017-04-28 13:49:05 +06:00
Andrey Pohilko
9b4f8b6893 add status badge from circleci 2017-04-28 13:49:05 +06:00
andrey-pohilko
5525fd4b6d Merge pull request #16 from OndrejIT/master
Fix py3
2017-04-28 13:24:21 +06:00
Ondřej Bárta
fb5c21398d Fix py3 2017-04-28 09:16:27 +02:00
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
2e46e8197b added tests of create method 2017-02-16 16:24:08 +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
7e2c508e58 small corrections 2017-02-11 10:34:06 +06:00
Andrey Pohilko
b8130dd508 tests for deletion of a single image 2017-02-11 10:33:36 +06:00
Andrey Pohilko
722c6eb1aa described login and password pair 2017-02-11 09:07:57 +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
d2e86beb16 contribution statement updated 2017-02-10 19:54:58 +06:00
Andrey Pohilko
2c632c9086 added tests, made few changes in registry.py 2017-02-10 19:46:11 +06:00
andrey-pohilko
5e0b82c5c3 Merge pull request #9 from thomasme/master
Sort tags before keeping last versions
2017-02-10 11:36:04 +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
andrey-pohilko
8adf0a5195 Merge pull request #7 from com2m/registry-cli-extension
Tag extensions and option to disable ssl verification
2017-01-10 11:25:31 +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
andrey-pohilko
0c032a0376 Merge pull request #5 from odoucet/master
Make script Python 2.6 compatible
2016-12-19 17:21:25 +06:00
Olivier Doucet
9f01af29b6 Make script Python 2.6 compatible 2016-12-18 14:50:14 +01:00
andrey-pohilko
f0b7deae7f Merge pull request #4 from 25th-floor/PR/issue_3
Support --layers for schemaVersion 1 images
2016-11-24 09:57:06 +06: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
5cda401b12 changed description of notes 2016-10-16 14:05:41 +06:00
Andrey Pohilko
3cfc9b145c added docker stop docker-registry 2016-10-16 11:35:36 +06:00
Andrey Pohilko
48f3419a14 disabled deletion of layers 2016-10-16 11:35:24 +06:00
andrey-pohilko
0564fb4b1c Merge pull request #1 from obazoud/patch-1
Remove unused variable keep_last_versions
2016-10-16 11:34:04 +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
a81d227d86 more markdown 2016-10-15 11:22:42 +06:00
Andrey Pohilko
b316e17b43 added markdown 2016-10-15 11:19:51 +06:00
Andrey Pohilko
6635100732 new file 2016-10-15 11:11:26 +06:00
Andrey Pohilko
7becc44d65 new file 2016-10-15 11:11:16 +06:00
andrey-pohilko
304684ea60 Initial commit 2016-10-15 10:48:52 +06:00