RFR: 1611: Improve adding and removing of labels in GitLab

Erik Joelsson erikj at openjdk.org
Wed Oct 12 21:39:44 UTC 2022

On Wed, 12 Oct 2022 20:59:07 GMT, Zhao Song <zsong at openjdk.org> wrote:

> Improved adding and removing of labels in GitLabMergeRequest.
> And make the label handling consistent with GitHubPullRequest.

When changing API calls like this, they need to be tested. The normal automatic tests do not cover it. See GitLabRestApiTest and add a test there to verify that labels can be added/removed/set with the new implementation. You will need to provide credentials in a special properties file (that should NOT be committed). You can generate an access token for your own user to test this out against a personal repository.


PR: https://git.openjdk.org/skara/pull/1396

More information about the skara-dev mailing list