How we use Git
Gervase Markham <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.bugzilla.devel |
|---|---|
| Message-ID | <[email protected]> |
A quick quiz: Q1: What git commands would I use to obtain an exact copy of 4.4.6 from our git repo? Q2: Same question for 4.4.4. As far as I can see, the only way of doing this currently is to do: git clone http://git.mozilla.org/bugzilla/bugzilla.git cd bugzilla git log <look for the final 4.4.4 commit> git checkout <sha1> <get strange message about "detached HEAD"> Am I wrong? If I'm not, then this isn't good. Currently, we have branches for each release, but these contain all fixes checked on on that branch, so even if you want "the latest 4.4 release", if you: git checkout -b 4.4 origin/4.4 (which is already a complex command) then you actually get 4.4.6 plus some more fixes. I believe we need metadata in our git repo such that any (recent) released version can be pulled and run bit-for-bit identical to the release tarball. I think we also need a pointer (tag?) to "latest stable release" on each branch which moves when we do a new release. Does that make sense to people? Gerv _______________________________________________ dev-apps-bugzilla mailing list dev-apps-bugzilla-CzyLcWPZiU5YsZ3hbOqMTti2O/[email protected] https://lists.mozilla.org/listinfo/dev-apps-bugzilla - To view or change your list settings, click here: <http://bugzilla.org/cgi-bin/mj_wwwusr?user=gcbd-developers-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org>