www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (INFRA-3163) Hook: Logging of commit / push
Date Sat, 24 Sep 2011 22:50:26 GMT

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

Paul Joseph Davis resolved INFRA-3163.
--------------------------------------

    Resolution: Fixed

Ref updates are logged with who when and what was changed. Code that handles this is at:

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


Example logs look like such:

[Sat Sep 24 03:35:56 2011] refs/heads/trunk 4903011a85 -> f07c75fee7 davisp@http.50.82.31.124
[Sat Sep 24 20:47:00 2011] refs/heads/master 0000000000 -> f07c75fee7 davisp@http.50.82.31.124

These logs are stored individually in the repository directory in a file named ref-updates.log

> Hook: Logging of commit / push
> ------------------------------
>
>                 Key: INFRA-3163
>                 URL: https://issues.apache.org/jira/browse/INFRA-3163
>             Project: Infrastructure
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Paul Querna
>            Assignee: Paul Joseph Davis
>            Priority: Trivial
>
> post-update hook: Logging of commit / push. Log both the Apache committer, and the 'git'
committer. Figure out how to make this information useful.

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

        

Mime
View raw message