Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab FOSS GitLab FOSS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Merge requests
  • !31831

Support adding and removing labels w/ push opts

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Christian Couder requested to merge add-label-push-opts into master Aug 15, 2019
  • Overview 74
  • Commits 3
  • Pipelines 22
  • Changes 9

What does this MR do?

This MR adds 2 new push options. One to add a label to a MR. The other to remove a label from a MR.

Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/64320

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/5942

Does this MR meet the acceptance criteria?

Conformity

  • Changelog entry for user-facing changes, or community contribution. Check the link for other scenarios.
  • Documentation created/updated or follow-up review issue created
  • Code review guidelines
  • Style guides

Performance and Testing

This should not change performance of the product as there are no loops and only small operations involved. Additional test coverage is in this MR, in a similar way as how other push options are tested.

  • Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process.
Edited Aug 28, 2019 by Christian Couder
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: add-label-push-opts