You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Paul Querna (JIRA)" <ji...@apache.org> on 2010/11/05 18:01:43 UTC

[jira] Created: (INFRA-3161) Hook: Repository temporarily disabled

Hook: Repository temporarily disabled
-------------------------------------

                 Key: INFRA-3161
                 URL: https://issues.apache.org/jira/browse/INFRA-3161
             Project: Infrastructure
          Issue Type: New Feature
      Security Level: public (Regular issues)
          Components: Git
            Reporter: Paul Querna


If /etc/nocommit or /etc/git-nocommit is present, do not allow any pushes. This allows for server and repository maintenance.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Closed] (INFRA-3161) Hook: Repository temporarily disabled

Posted by "#asfinfra IRC Bot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

#asfinfra IRC Bot closed INFRA-3161.
------------------------------------

    
> Hook: Repository temporarily disabled
> -------------------------------------
>
>                 Key: INFRA-3161
>                 URL: https://issues.apache.org/jira/browse/INFRA-3161
>             Project: Infrastructure
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Paul Querna
>            Priority: Trivial
>
> If /etc/nocommit or /etc/git-nocommit is present, do not allow any pushes. This allows for server and repository maintenance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (INFRA-3161) Hook: Repository temporarily disabled

Posted by "Paul Joseph Davis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Joseph Davis resolved INFRA-3161.
--------------------------------------

    Resolution: Fixed

Implemented:

https://git-wip-us.apache.org/repos/infra/asfgit-admin/blob/master/asfgit/hooks/pre_receive.py

This allows for both a global and repository specific commit lock. The global lock is forwarded from the HTTPd configuration and is currently set to /etc/nocommit. Individual repositories can be locked by creating a file name "nocommit" in the repository directory.

> Hook: Repository temporarily disabled
> -------------------------------------
>
>                 Key: INFRA-3161
>                 URL: https://issues.apache.org/jira/browse/INFRA-3161
>             Project: Infrastructure
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Paul Querna
>            Priority: Trivial
>
> If /etc/nocommit or /etc/git-nocommit is present, do not allow any pushes. This allows for server and repository maintenance.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (INFRA-3161) Hook: Repository temporarily disabled

Posted by "Joe Schaefer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Schaefer updated INFRA-3161:
--------------------------------

    Priority: Trivial  (was: Major)

> Hook: Repository temporarily disabled
> -------------------------------------
>
>                 Key: INFRA-3161
>                 URL: https://issues.apache.org/jira/browse/INFRA-3161
>             Project: Infrastructure
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Paul Querna
>            Priority: Trivial
>
> If /etc/nocommit or /etc/git-nocommit is present, do not allow any pushes. This allows for server and repository maintenance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.