Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete tag or tags by label #2218

Merged
merged 9 commits into from
Aug 23, 2016
Merged

Delete tag or tags by label #2218

merged 9 commits into from
Aug 23, 2016

Conversation

nicosomb
Copy link
Member

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Documentation no
Translation no
Fixed tickets #1982
License MIT

Replaces #2175.

@nicosomb nicosomb added this to the 2.1.0 milestone Aug 16, 2016
@nicosomb nicosomb changed the title Api delete tags 1982 Delete tag or tags by label Aug 16, 2016
@nicosomb
Copy link
Member Author

I relaunched tests and now, all seems to be green.

nicosomb and others added 8 commits August 23, 2016 07:24
Tests not included
Also, retrieve tag from the request instead of the query (which will be the same but it's more easy to test).

Moved down `deleteTagAction` because it conflicted with the new action:

  api_delete_tag => /api/tags/{tag}.{_format}
  api_delete_tags_label => /api/tags/label.{_format}

And finally, throw exception when a tag is not found before removing it.
@j0k3r
Copy link
Member

j0k3r commented Aug 23, 2016

Rebased and cleaned.
Good to check ✅

@nicosomb nicosomb merged commit 1bee9e0 into 2.1 Aug 23, 2016
@nicosomb nicosomb deleted the api-delete-tags-1982 branch August 23, 2016 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants