mainSavannah Administration - Support: sr #107559, How to set up a git pre-receive...

 
 

sr #107559: How to set up a git pre-receive hook

Submitter:  Reuben Thomas <rrt>
Submitted:  Fri 24 Dec 2010 08:17:27 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  In Progress
Privacy:  Public Assigned to:  marioxcc
Operating System:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 23 Aug 2011 06:11:09 PM UTC, comment #3: 

I have mixed feelings about this effort. Having a custom git hook to perform commit verification would be great. At the same time, such a mechanism has the potential for disaster, and it needs thorough testing in order to be useful and reliable. If we (the autoconf-archive administrators) had direct access to the repository, then I'd be game to try it, because I'd know that I can intervene and fix problem quickly. The real situation, however, is that problems need to be fixed by volunteer Savannah administrators, and we need to communicate through the bug tracker, etc. This doesn't feel like an ideal scenario to set that kind of thing up.

So, all things considered, I'd rather not try to create a custom pre-received hook for the project.

Anyway, it's good to know that this is possible to do in principle. Thank you very much for your time.

Peter Simons <simons>
Sun 07 Aug 2011 01:05:49 AM UTC, comment #2: 
  • Ping *
Michael J. Flickinger <mjflick>
Mon 28 Feb 2011 03:41:36 AM UTC, comment #1: 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

2011-02-27 in GNU Savannah sr #107559: "How to set up a git
pre-receive hook".

Hello Reuben.

There is no automated way to set up hooks.  Bear in mind that would be
a way for atackers to run arbitrarial code on the server.

You can atach your script to this tracker, then we will evaluate it.
If everything is ok we will install it.

Regards.

Item status changes:

Assigned to -> marioxcc
Status -> In progress
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREIAAYFAk1rF3UACgkQZ4DA0TLic4j0/wCfXcHgWiFvB+08zq9m33ZxhXDH
oqIAn3IDbNsN6EHFbOiZkYyzgACj5SXp
=mmwC
-----END PGP SIGNATURE-----

Mario Castelán Castro <marioxcc>
Fri 24 Dec 2010 08:17:27 PM UTC, original submission:  

Hi,

A simple question to which I can't seem to find an answer (only one or two related Savannah mailing list messages): how do we set up a pre-receive hook for the autoconf-archive repository?

TIA!

Reuben Thomas <rrt>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by simons (Posted a comment)
  • -email is unavailable- added by mjflick (Posted a comment)
  • -email is unavailable- added by marioxcc (Posted a comment)
  • -email is unavailable- added by simons
  • -email is unavailable- added by rrt (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-02-28 marioxcc StatusNone In Progress
        Assigned toNone marioxcc
    2011-01-06 simons Carbon-Copy- Added simons

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code