Task #2043
closedEnable protected branches
100%
Description
Enable the "protected branches" [0] feature of github.com for Pulp code repositories. Specifically we should disallow:
- non-fast-forward pushes
- deleting a branch
We would do this for all branches named:
*-release
*-dev
master
We would do this for the following code repositories:
https://github.com/pulp/pulp
https://github.com/pulp/crane
https://github.com/pulp/pulp_docker
https://github.com/pulp/pulp_rpm
https://github.com/pulp/pulp_puppet
https://github.com/pulp/pulp_python
https://github.com/pulp/pulp_ostree
We also need to update the branch creation notes in the docs to enable this config for new branches.
[0]: https://help.github.com/articles/about-protected-branches/
Updated by bmbouter almost 8 years ago
- Description updated (diff)
- Groomed changed from No to Yes
- Sprint Candidate changed from No to Yes
This task's content was a copy/paste from a mailing list discussion [0]. I'm grooming this on the basis of a mailing list reply [1] with no dissenting opinions
[0]: https://www.redhat.com/archives/pulp-list/2016-June/msg00055.html
[1]: https://www.redhat.com/archives/pulp-list/2016-June/msg00056.html
Updated by ipanova@redhat.com over 7 years ago
This task can be done just by repository administrators.
Updated by mhrivnak over 7 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to mhrivnak
Updated by mhrivnak over 7 years ago
- Status changed from ASSIGNED to POST
Added by mhrivnak over 7 years ago
Added by mhrivnak over 7 years ago
Revision 2db7c24b | View on GitHub
adding docs about marking branches as protected on github
Added by mhrivnak over 7 years ago
Revision a6cd9a83 | View on GitHub
adding a script to set github branches as protected
Updated by mhrivnak over 7 years ago
- Status changed from POST to CLOSED - CURRENTRELEASE
- % Done changed from 0 to 100
This isn't specific to any particular release, so I'm marking it as "CLOSED CURRENT RELEASE". Even though the docs part will happen to first be published with the 2.11 docs, the primary deliverable here was to get the branches protected.
adding docs about marking branches as protected on github
re #2043 https://pulp.plan.io/issues/2043