Commit Graph

121 Commits

Author SHA1 Message Date
Ivan Pavlushin
9ba20e7487 Merge pull request #94 from m0rtez4/master
Fix --order-by-date flag not working when trying to get images list
2020-10-25 22:45:37 +01:00
Morteza Ghasempour
18d45066c6 Fix --order-by-date flag not working when getting images list 2020-10-12 12:27:49 +03:30
Ivan Pavlushin
038e03315e Merge pull request #85 from koenw/fix_keep_tags
Always keep tags passed in `--keep-tags`
2020-09-23 09:56:03 +02:00
Koen Wilde
5d2e1a6292 Add test for keep-tags 2019-12-18 14:26:38 +01:00
Koen Wilde
3c5b90d3e9 Always keep tags passed in --keep-tags
Fixes #84.
2019-12-17 17:02:50 +01:00
Andrei Pokhilko
31112dd8b8 add repo link to the script file 2019-08-12 20:07:07 +06:00
Ivan Pavlushin
e4f1664542 Merge pull request #77 from andrey-pohilko/fix_circle_dep
Fix new dependency for circleci
2019-08-07 09:13:37 +02:00
Ivan Pavlushin
444a215856 add new dependency for circleci 2019-08-07 09:10:39 +02:00
Ivan Pavlushin
33a3c532a1 Merge pull request #76 from sgarcialaguna-mms/master
Dateparsing code crashes on non-UTC datetimes.
2019-08-07 08:58:54 +02:00
Santiago Garcia
f99d1d246c Dateparsing code crashes on non-UTC datetimes. Use python-dateutil for parsing dates, then convert them to UTC. 2019-08-06 11:29:36 +02:00
Ivan Pavlushin
f99edd34b9 Merge pull request #74 from sgarcialaguna/master
Fix wrong name of argument.
2019-07-28 23:07:43 +02:00
Santiago Garcia
6f97164366 Fix wrong name of argument. 2019-07-28 22:34:37 +02:00
Ivan Pavlushin
8a160c507d Merge pull request #73 from sgarcialaguna/master
Add a CLI options to order tags by date
2019-07-28 22:31:24 +02:00
Santiago Garcia
422ab54302 Add a CLI options to order tags by date 2019-07-28 20:04:39 +02:00
andrey-pohilko
e61d48bd9e Merge pull request #68 from andrey-pohilko/sys_exit
replace exit with sys.exit
2019-03-27 20:59:21 +06:00
Ivan Pavlushin
ff42a83b8d replace exit with sys.exit
fixes #67
2019-03-26 11:09:42 +01:00
andrey-pohilko
ddd514cfcb Merge pull request #61 from spk83/master
feat(bearer_request): support GET as auth-method
2018-12-27 16:20:46 +06:00
Vishal Shah
f4ba381575 feat(bearer_request): support GET as auth-method + make 'service' and 'scope' optional arguments to auth request 2018-12-26 14:49:48 -05:00
Andrei Pokhilko
9d5fab2eab upgrade urllib to >=1.23 2018-12-24 01:56:31 +06:00
Andrei Pokhilko
b707631a17 upgrade urllib to >=1.23 2018-12-24 01:54:52 +06:00
Andrei Pokhilko
082b6136f9 ignore venv files 2018-12-08 11:14:39 +06:00
Andrei Pokhilko
82763f9238 CVE-2018-18074 upgrade requests package to 2.20.0 2018-12-08 11:14:31 +06:00
andrey-pohilko
039321c616 Merge pull request #54 from slene/master
fix time.strptime thread safe problem
2018-09-27 14:54:16 +06:00
slene
3930d43896 fix time.strptime thread safe problem 2018-09-13 17:41:44 +08:00
Ivan Pavlushin
1132c1c20e Merge pull request #52 from xificurC/master
adds tests for --images-like
2018-08-29 09:06:24 +02:00
xificurC
c2e3aab5f0 adds tests for --images-like
Registry.create gets indirected into Registry._create in order to simply mock
out the create call in main_loop.
2018-08-28 16:47:10 +02:00
andrey-pohilko
b10cdaea0f Merge pull request #51 from xificurC/master
select images with regex and be fast
2018-08-27 16:30:47 +06:00
xificurC
ca6e6af25f use ThreadPools to speed up searching and deleting 2018-08-16 16:08:11 +02:00
xificurC
28c3080871 adds --images-like - select images with regexp 2018-08-16 16:07:37 +02:00
Ivan Pavlushin
499d3cd20a Merge pull request #48 from MightyNerdEric/keep_by_hours
Keep by hours
2018-06-11 19:59:28 +02:00
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