« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
GitHub · Extracted in 832 ms

refactor(objects): remove deprecated branch protect methods by nejch · Pull Request #1598 · python-gitlab/python-gitlab

Source: https://github.com/python-gitlab/python-gitlab/pull/1598

Repository navigation

refactor(objects): remove deprecated branch protect methods - #1598


Merged
JohnVillalovos merged 1 commit into master from refactor/remove-deprecated-branch-protect Oct 6, 2021
Merged

refactor(objects): remove deprecated branch protect methods #1598 JohnVillalovos merged 1 commit into master from refactor/remove-deprecated-branch-protect

Conversation

nejch commented Sep 11, 2021



Copy link Copy Markdown
Member

BREAKING CHANGE: remove deprecated branch protect methods in favor of
the more complete Protected branches API.

Closes #821 .

@max-wittig WDYT about removing this completely? Then people will stop getting confused about the two APIs like in #1355 and #821 . The endpoint still technically works, but the GitLab API docs removed it ages ago and they point to the dedicated protected branches API now (https://docs.gitlab.com/ee/api/branches.html#protect-repository-branch ).

Last time we kept a deprecated endpoint (release via tags API) it bit us because GitLab then "silently" removed it. Just adding this to the list of breaking changes as the next scheduled job will trigger 3.0.0.

refactor(objects): remove deprecated branch protect methods 23434a3
BREAKING CHANGE: remove deprecated branch protect methods in favor of
the more complete protected branches API.
nejch assigned max-wittig Sep 11, 2021 nejch mentioned this pull request Sep 11, 2021 Breaking changes in 3.0.0 #1520 Closed 15 tasks done JohnVillalovos approved these changes Sep 11, 2021
View reviewed changes
nejch assigned JohnVillalovos and unassigned max-wittig Oct 6, 2021 JohnVillalovos approved these changes Oct 6, 2021
View reviewed changes
JohnVillalovos enabled auto-merge (rebase) October 6, 2021 19:08 JohnVillalovos merged commit 9656a16 into master Oct 6, 2021 JohnVillalovos deleted the refactor/remove-deprecated-branch-protect branch October 6, 2021 19:09 Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

3 participants