Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

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

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

nejch
Copy link
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.

BREAKING CHANGE: remove deprecated branch protect methods in favor ofthe more complete protected branches API.
@nejchnejch mentioned this pull requestSep 11, 2021
15 tasks
@JohnVillalovosJohnVillalovosenabled auto-merge (rebase)October 6, 2021 19:08
@JohnVillalovosJohnVillalovos merged commit9656a16 intomasterOct 6, 2021
@JohnVillalovosJohnVillalovos deleted the refactor/remove-deprecated-branch-protect branchOctober 6, 2021 19:09
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@JohnVillalovosJohnVillalovosJohnVillalovos approved these changes

Assignees

@JohnVillalovosJohnVillalovos

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Additional branch.protect() fields
3 participants
@nejch@JohnVillalovos@max-wittig

[8]ページ先頭

©2009-2025 Movatter.jp