Eric Ball
2795dc5d91
Standardize arg references to plaintext
2018-06-08 16:18:02 -07:00
Eric Ball
e05c6a6f76
Update README.md with keep-by-hours help
2018-06-08 15:56:41 -07:00
Eric Ball
5e37104f24
Add some keep_by_hours/get_newer_tags tests
2018-06-08 10:55:25 -07:00
Eric Ball
c6fe2d592e
Add keep_by_hours option
...
To be more adaptive to user needs, keep_by_hours option works as the
inverse of the "delete_by_hours" option. "keep_by_hours" will keep
any tag newer than the specified number of hours.
2018-06-05 19:47:36 -07:00
Andrey Pohilko
42848d911d
refactor error explanation and tests for it
2018-06-01 21:29:57 +06:00
Andrey Pohilko
c5bf8c7901
add TOC
2018-06-01 21:28:47 +06:00
Andrey Pohilko
e0c4b1cff2
add explanation of some errors
2018-06-01 20:23:52 +06:00
Andrey Pohilko
159893274a
rewording
2018-06-01 20:23:22 +06:00
Andrey Pohilko
55b9914df7
fix broken assignment
2018-06-01 19:39:28 +06:00
Andrey Pohilko
d3a899e58d
to support Nexus registry, add digest method flag
2018-05-31 15:13:04 +06:00
Andrey Pohilko
0a678c43e2
remove unused files and update readme to be up-to-date
2018-05-31 14:40:37 +06:00
Andrey Pohilko
8e6fc93d4e
fix indents
2018-05-31 14:23:29 +06:00
andrey-pohilko
f0a61a57d7
Merge pull request #46 from qwylz/fb
...
add -w option
2018-05-31 12:54:36 +06:00
Garrick James
f9edd90d19
add -w option
...
Providing passwords via command line is insecure. Adding an option to read
the password from the TTY or stdin. When reading from a TTY, getpass() is
used so that the password is not displayed as it is entered. Getpass()
also displays a prompt, since TTY usage is typically interactive. When
reading from something other than a TTY (e.g. from a pipe or input
redirection), a plain read from stdin is done (without getpass(); without
any promting). This allows the user to pipe the password from some type of
password management/entry tool to registry.py.
2018-05-04 23:50:05 -07:00
Ivan Pavlushin
fd774635c8
Merge pull request #45 from pavel-mikhalchuk/no-validate-ssl-issue-fix
...
Proper handling of --no-validate-ssl argument
2018-04-28 16:02:34 +03:00
pavel-mikhalchuk
401555d25c
Proper handling of --no-validate-ssl argument
...
Currently even if --no-validate-ssl is specified registry.py script fails with certificate verification error. This commit fixes this issue.
Fixes: https://github.com/andrey-pohilko/registry-cli/issues/44
2018-04-28 13:17:08 +03:00
andrey-pohilko
72a5955cb2
Update README.md
2018-03-08 21:13:14 +06:00
andrey-pohilko
59d0f07a6d
Merge pull request #41 from yoshikakbudto/master
...
add token-based auth scheme support
2018-02-26 22:24:03 +06:00
Дмитрий Есарев
7de41084ca
refactor to fix original tests
2018-02-26 18:41:07 +05:00
Дмитрий Есарев
92a2925fa3
minor patch to previous commit.
2018-02-22 15:03:35 +05:00
Дмитрий Есарев
c1fe170633
minor patch to previous commit.
2018-02-22 15:00:33 +05:00
Дмитрий Есарев
059bb8bf07
try to fix circleci config
2018-02-22 14:21:23 +05:00
Дмитрий Есарев
a13e8afa0e
circle CI config comes
2018-02-22 14:16:09 +05:00
Дмитрий Есарев
9e0bdf3698
add bearer auth scheme support
2018-02-21 20:38:20 +05:00
andrey-pohilko
975edfaefa
Merge pull request #39 from Qlean/master
...
Add deleting images by age in hours
2018-02-06 01:56:05 +06:00
Ivan Pavlushin
de4a6e97bc
update
2018-02-03 19:30:13 +03:00
Andrey Pohilko
617e3e86e5
reorder files and change circle instructions
2018-01-20 18:21:35 +06:00
andrey-pohilko
ebb2ad6a99
Merge pull request #37 from kfiles/master
...
Use extend() to merge lists; append() only works with single elements
2018-01-20 14:46:23 +06:00
Kirby Files
01dd021fa5
Use extend() to merge lists; append() only works with single elements
2018-01-19 23:57:21 -05:00
Ivan Pavlushin
efab7fd26a
core-329 update readme
2018-01-09 13:15:19 +03:00
Ivan Pavlushin
e307c2fd2e
core-329 add images delete by age in hours
2018-01-09 13:04:47 +03:00
Andrey Pohilko
9f251722f7
separate file for dependencies on tests
2017-11-02 22:49:51 +06:00
Andrey Pohilko
4fecd3288b
have separate file for testing dependencies
2017-11-02 22:49:02 +06:00
Andrey Pohilko
d7272af1a7
keep only dependencies essential to run script
2017-11-02 22:48:10 +06:00
Andrey Pohilko
d2773751c9
remove container upon completion
2017-11-02 22:47:29 +06:00
andrey-pohilko
c89e3a036b
Merge pull request #28 from andrey-pohilko/dev
...
Dev
2017-10-31 21:59:30 +06:00
Andrey Pohilko
d0c0acc377
added docker info
2017-10-31 21:55:47 +06:00
Andrey Pohilko
d63ca8cf2f
added info about docker image
2017-10-31 21:36:12 +06:00
andrey-pohilko
5c74691c85
Merge pull request #22 from rpofuk/patch-1
...
Update registry.py
2017-08-23 13:14:36 +06:00
Robert Pofuk
c883bba4e0
Update registry.py
...
Fix tags acculated for all images
2017-08-23 08:59:23 +02:00
andrey-pohilko
54bf3adea3
Merge pull request #19 from trianglee/master
...
Prevent deletion of a manifest that is used by a tag that isn't deleted
2017-08-10 13:38:19 +06:00
andrey-pohilko
0e89b151a6
Merge pull request #21 from macropin/master
...
Dockerfile for hub automated build
2017-08-10 13:35:59 +06:00
Andrew Cutler
6eaa98c1eb
Use alpine base ref: https://github.com/andrey-pohilko/registry-cli/issues/6
2017-08-03 20:46:07 +10:00
Andrew Cutler
0b22d91af9
Add Dockerfile and repeatable build requirements
2017-08-03 20:41:27 +10:00
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