You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Chris Lambertus (JIRA)" <ji...@apache.org> on 2016/05/04 03:35:12 UTC

[jira] [Updated] (INFRA-11236) branch-* force push disable for Hadoop

     [ https://issues.apache.org/jira/browse/INFRA-11236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Lambertus updated INFRA-11236:
------------------------------------
    Status: Waiting for user  (was: Waiting for Infra)

Current protection status is
    protect =  refs/heads/rel/ refs/tags/rel/ refs/heads/trunk/ refs/heads/master refs/heads/branch-*/

However, it doesn't look like the python code supports regex for the ref names (branch-*). I believe our hook would have to be rewritten to support regular expressions. We may be able to protect everything by specifying protect = refs/heads/ but I'm not sure if this would break other stuff. We could also manually specify the branch refs:

cml@git1-us-west:/x1/git/repos/asf/hadoop.git/refs/heads$ ls -d branch*
branch-2  branch-2.6  branch-2.7  branch-2.8

Let me know how you'd like to proceed.

> branch-* force push disable for Hadoop
> --------------------------------------
>
>                 Key: INFRA-11236
>                 URL: https://issues.apache.org/jira/browse/INFRA-11236
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Git
>            Reporter: Karthik Kambatla
>
> Following up on INFRA-11136. That got closed due to inactivity (was out on vacation). 
> Force pushes to trunk are disabled, but I was able to force push to branch-testdelete. Would be great to disable force push on these if possible. I think (haven't verified) force push was disabled when Hadoop's git repo was created and in effect until recent git force push changes. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)