Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0b79ce9

Browse filesBrowse files
committed
register cli action for delete_in_bulk
1 parent 340cd37 commit 0b79ce9
Copy full SHA for 0b79ce9

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Open diff view settings
Collapse file

‎gitlab/v4/objects.py‎

Copy file name to clipboardExpand all lines: gitlab/v4/objects.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,6 +1196,7 @@ class ProjectRegistryTagManager(DeleteMixin, RetrieveMixin, RESTManager):
11961196
_from_parent_attrs = {'project_id': 'project_id', 'repository_id': 'id'}
11971197
_path = '/projects/%(project_id)s/registry/repositories/%(repository_id)s/tags'
11981198

1199+
@cli.register_custom_action('ProjectRegistryTagManager', optional=('name_regex', 'keep_n', 'older_than'))
11991200
@exc.on_http_error(exc.GitlabDeleteError)
12001201
def delete_in_bulk(self, name_regex='.*', **kwargs):
12011202
"""Delete Tag by name or in bulk

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.