http://bugzilla.gnome.org/show_bug.cgi?id=594498
Summary: Add check for tags not pushed to a branch to
pre-receive-check-policy
Classification: Infrastructure
Product: sysadmin
Version: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: Git
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
GNOME target: ---
GNOME version: ---
--- Comment #0 from Owen Taylor <[email protected]> 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.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the QA contact of the bug.
You are watching the assignee of the bug.
_______________________________________________
gnome-infrastructure mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-infrastructure