After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 594498 - Add check for tags not pushed to a branch to pre-receive-check-policy
Add check for tags not pushed to a branch to pre-receive-check-policy
Status: RESOLVED OBSOLETE
Product: sysadmin
Classification: Infrastructure
Component: Git
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Sysadmins
GNOME Sysadmins
Depends on:
Blocks:
 
 
Reported: 2009-09-08 13:55 UTC by Owen Taylor
Modified: 2013-11-21 14:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Owen Taylor 2009-09-08 13:55:33 UTC
pre-receive-check-policy should catch the case where someone does 'git push --tags' and has tags not on any branch.

I'm not sure git can be counted on to push the branches and tags in order with the branches first for:

 git push origin --tags master

So it makes it a little tricky to do in the shell pre-receive-check-policy - we have to "look ahead" at all the ref-updates and do the tags first. This might require writing stdin to a temp file and then processing it twice.

See:

http://mail.gnome.org/archives/gnome-infrastructure/2009-September/msg00007.html

For an example of the problems you can get without this check.
Comment 1 Andrea Veri 2013-11-21 14:56:50 UTC
The GNOME Infrastructure Team is currently migrating its bug / issue tracker away from Bugzilla to Request Tracker and therefore all the currently open bugs have been closed and marked as OBSOLETE.

The following move will also act as a cleanup for very old and ancient tickets that were still living on Bugzilla. If your issue still hasn't been fixed as of today please report it again on the relevant RT queue.

More details about the available queues you can report the bug against can be found at https://wiki.gnome.org/Sysadmin/RequestTracker.

Thanks for your patience,

the GNOME Infrastructure Team