← Winnitude! Search  ·  Reader Mode (1339 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 67 LINKS

fix(api): replace deprecated `name_regex` attribute in `delete_in_bulk()` by antti-mikael · Pull Request #1536 · python-gitlab/python-gitlab

Repository navigation

fix(api): replace deprecated name_regex attribute in delete_in_bulk() - #1536


Merged
nejch merged 1 commit into python-gitlab:master from antti-mikael:fix/registry-deleteinbulk-deprecated-attr Oct 6, 2021
Merged

fix(api): replace deprecated name_regex attribute in delete_in_bulk() #1536 nejch merged 1 commit into python-gitlab:master from antti-mikael:fix/registry-deleteinbulk-deprecated-attr

Conversation

antti-mikael commented Jun 29, 2021



Copy link Copy Markdown
Contributor

The name_regex attribute has been deprecated in favor of name_regex_delete.
See: https://gitlab.com/gitlab-org/gitlab/-/commit/ce99813cf54

codecov-commenter commented Jun 29, 2021 · edited Loading



Copy link Copy Markdown

Codecov Report

Merging #1536 (6c419ee ) into master (b8a47ba ) will increase coverage by 0.40%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master    #1536      +/-   ##
==========================================
+ Coverage   91.18%   91.59%   +0.40%     
==========================================
  Files          74       74              
  Lines        4188     4272      +84     
==========================================
+ Hits         3819     3913      +94     
+ Misses        369      359      -10     
Flag Coverage Δ
cli_func_v4 81.60% <50.00%> (+0.79%) ⬆️
py_func_v4 80.61% <50.00%> (+0.46%) ⬆️
unit 83.38% <50.00%> (+0.88%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
gitlab/v4/objects/container_registry.py 83.33% <50.00%> (ø)
gitlab/mixins.py 91.12% <0.00%> (-0.36%) ⬇️
gitlab/v4/cli.py 81.20% <0.00%> (-0.31%) ⬇️
gitlab/v4/objects/pipelines.py 94.44% <0.00%> (-0.18%) ⬇️
gitlab/const.py 100.00% <0.00%> (ø)
gitlab/v4/objects/members.py 100.00% <0.00%> (ø)
gitlab/v4/objects/releases.py 100.00% <0.00%> (ø)
gitlab/v4/objects/snippets.py 97.67% <0.00%> (+0.11%) ⬆️
gitlab/v4/objects/users.py 98.38% <0.00%> (+0.13%) ⬆️
gitlab/v4/objects/commits.py 94.36% <0.00%> (+0.16%) ⬆️
... and 8 more
nejch requested changes Jun 30, 2021
View reviewed changes

nejch left a comment



Copy link Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more .

Thanks a lot @antti-mikael ! Just a small note on keeping the arguments in sync with the API.

antti-mikael force-pushed the fix/registry-deleteinbulk-deprecated-attr branch from 8b5d647 to db6eed0
Compare
July 1, 2021 07:38 antti-mikael requested a review from nejch July 5, 2021 06:46 antti-mikael force-pushed the fix/registry-deleteinbulk-deprecated-attr branch 2 times, most recently from 1dcc077 to 6c419ee
Compare
September 9, 2021 10:00 fix(api): replace deprecated attribute in delete_in_bulk() 1099e96
The `name_regex` attribute has been deprecated in favor of
`name_regex_delete`.
See: https://gitlab.com/gitlab-org/gitlab/-/commit/ce99813cf54
antti-mikael force-pushed the fix/registry-deleteinbulk-deprecated-attr branch from 6c419ee to 1099e96
Compare
September 13, 2021 12:42 nejch merged commit c59fbdb into python-gitlab : master Oct 6, 2021 This was referenced Jan 4, 2022 name_regex_keep and name_regex_delete parameters unsupported when deleting registry repository tags in bulk #1246 Closed Breaking changes in 3.0.0 #1520 Closed Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

4 participants