FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

RFE: support for `allow_force_push` in ProjectProtectedBranchManager · Issue #2466 · python-gitlab/python-gitlab · GitHub

Repository navigation

RFE: support for allow_force_push in ProjectProtectedBranchManager #2466

Description

Description of the problem, including code/CLI snippet

Allow setting the allow_force_push boolean attribute when creating protected branches.

Attribute is documented here:
https://docs.gitlab.com/ee/api/protected_branches.html#protect-repository-branches

And is missing from here:
https://github.com/python-gitlab/python-gitlab/blob/main/gitlab/v4/objects/branches.py#L35

Expected Behavior

Actual Behavior

Specifications

  • python-gitlab version: 3.13.0
  • API version you are using (v3/v4): v4
  • Gitlab server version (or gitlab.com): gitlab.com

Activity

  1. JohnVillalovos commented on Feb 2, 2023

    Member

    As a note, this is only an issue for the CLI. Users of the API can pass this parameter in the call.

  2. added a commit that references this issue on Feb 3, 2023
    604537c
  3. locked as resolved and limited conversation to collaborators on Feb 5, 2024
  4. added a commit that references this issue on Feb 26, 2024
    929e07d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL