Project

Profile

Help

Task #2043

closed

Enable protected branches

Added by bmbouter almost 8 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Sprint 6
Quarter:

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/

Actions #1

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

Actions #2

Updated by bmbouter almost 8 years ago

  • Description updated (diff)
Actions #3

Updated by mhrivnak almost 8 years ago

  • Sprint/Milestone set to 24
Actions #4

Updated by ipanova@redhat.com over 7 years ago

This task can be done just by repository administrators.

Actions #5

Updated by mhrivnak over 7 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to mhrivnak
Actions #6

Updated 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

re #2043 https://pulp.plan.io/issues/2043

Added by mhrivnak over 7 years ago

Revision 2db7c24b | View on GitHub

adding docs about marking branches as protected on github

re #2043 https://pulp.plan.io/issues/2043

Added by mhrivnak over 7 years ago

Revision a6cd9a83 | View on GitHub

adding a script to set github branches as protected

re #2043 https://pulp.plan.io/issues/2043

Actions #8

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.

Actions #9

Updated by bmbouter about 6 years ago

  • Sprint set to Sprint 6
Actions #10

Updated by bmbouter about 6 years ago

  • Sprint/Milestone deleted (24)
Actions #11

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF