Git ticket / issue tracking ERA: Git shouldn't allow to push a new branch called HEAD
On Mon, 2011-11-14 at 15:26 -0500, Jeff King wrote:
Quoted 4 lines · Junio C Hamano
Quoted 4 lines
Quoted 1 line · Jeff King
So one solution is to block fetching of remote branches called
HEAD
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
(which I would be OK with). But another is...
... Obviously there's a lot more to it than just tweaking the
default fetch
Quoted 1 line
Quoted 1 line
Quoted 1 line
refspecs. The ref lookup rules need to be changed to take this
into
Quoted 1 line
Quoted 1 line
Quoted 1 line
account. There was some discussion about this over the summer
(under the
Quoted 1 line
Quoted 1 line
Quoted 1 line
subject of possible "1.8.0" changes), but I don't think any work
has
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
been done.
I would say discussing and ironing out the kinks of the design
counts as
Quoted 1 line
Quoted 1 line
work, but I agree nobody was seriously interested in laying out a
sensible
Quoted 1 line
Quoted 1 line
transition plan and discussion died out before anything concrete
happened.
Quoted 4 lines
Yeah, I should have said "...has been done since then".
Quoted 1 line
Regardless of the layout chanage, which probably is a 2.X topic, I
think a
Quoted 1 line
Quoted 1 line
good first step would be to start forbidding anything that ends with
_?HEAD
Quoted 1 line
Quoted 1 line
as a branch or tag name, on top of Michael's "enforce the refname
rules more
Quoted 3 lines
Quoted 1 line
vigorously when a ref is created" series.
Agreed. Changing the layout is a long-term fix, and I think
disallowing
Quoted 1 line
HEAD is a reasonable stop-gap measure.
Hi,
I pretty much agree with you that this is the right solution in the long-term.
But how are you going to remember this?
Is there an issue tracking?
Do you use some other kind of ticketing system?
Since the *official* repo is now hosted on github, why don't making use of the github ticketing system? [1]
You probably already discussed this tons of times but I can't figure out how you are gonna remember to do something if you don't have a roadmap and a ticketing system that allow you to trace the bugs and features.
Do you have to dig into the mailing list archive to look for the previous discussion?
This is actually just out of curiosity, sorry if this hurt someones feeling.
Thanks and regards,
Daniele Segato
[1] according to http://git-scm.com/ the link on "Git source repository" is https://github.com/gitster/git
Quoted 2 lines · Daniele Segato
[1] according to http://git-scm.com/ the link on "Git source repository" is https://github.com/gitster/git
That one is as official as anybody's "git clone" from many of the distribution points.
I do not see any reason to name an official repository, but if I were pressed, that copy at github is not the one I would nominate.
Quoted 10 lines · Junio C Hamano
Quoted 2 lines · Daniele Segato
[1] according to http://git-scm.com/ the link on "Git source repository" is https://github.com/gitster/git
That one is as official as anybody's "git clone" from many of the distribution points.
I do not see any reason to name an official repository, but if I were pressed, that copy at github is not the one I would nominate.
But that's the only repo mentioned in the git-scm home page.
Regards,
Paolo
Quoted 6 lines · Paolo Ciarrocchi
Quoted 5 lines · Junio C Hamano
Quoted 2 lines · Daniele Segato
[1] according to http://git-scm.com/ the link on "Git source repository" is https://github.com/gitster/git
Quoted 7 lines
Quoted 5 lines
That one is as official as anybody's "git clone" from many of the distribution points.
I do not see any reason to name an official repository, but if I were pressed, that copy at github is not the one I would nominate.
But that's the only repo mentioned in the git-scm home page.
The note from the maintainer[1] mentions
git://git.kernel.org/pub/scm/git/git.git/ git://repo.or.cz/alt-git.git https://github.com/git/git https://code.google.com/p/git-core/
I would assume one of those would be a nomination for 'official' repo.
Maybe something for Scott C. to address?
Cheers,
Frans
[1] http://article.gmane.org/gmane.comp.version-control.git/184174
Quoted 4 lines · Frans Klaver
Quoted 1 line
But that's the only repo mentioned in the git-scm home page.
The note from the maintainer[1] mentions
Quoted 8 lines
git://git.kernel.org/pub/scm/git/git.git/ git://repo.or.cz/alt-git.git https://github.com/git/git https://code.google.com/p/git-core/I would assume one of those would be a nomination for 'official' repo.
Maybe something for Scott C. to address?
As long as the link says "Git source repository" without "the official", Scott is doing the right thing. It is just one of the copies that I push into, so it may be considered more official than a fork of my history by a random unknown person.
As Git is distributed, we do not need a single "official" repository. If you really want to name one, my private working repository at my home machine would be what is closest to one, as patches and pull requests are processed there and then the result is pushed out to the above four and a few others. But that "official" one is not exposed to the outside world ;-)
Quoted 18 lines · Junio C Hamano
Quoted 10 lines · Frans Klaver
The note from the maintainer[1] mentions
git://git.kernel.org/pub/scm/git/git.git/ git://repo.or.cz/alt-git.git https://github.com/git/git https://code.google.com/p/git-core/I would assume one of those would be a nomination for 'official' repo.
Maybe something for Scott C. to address?
As long as the link says "Git source repository" without "the official", Scott is doing the right thing. It is just one of the copies that I push into, so it may be considered more official than a fork of my history by a random unknown person.
Quoted 5 lines
As Git is distributed, we do not need a single "official" repository. If you really want to name one, my private working repository at my home machine would be what is closest to one, as patches and pull requests are processed there and then the result is pushed out to the above four and a few others. But that "official" one is not exposed to the outside world ;-)
Since official is a rather unreal term here, let's just drop it. There are a few repositories that the maintainer currently pushes to, and those are the most reliable ones to use if you want the latest git vanilla. Other than that, there's going to be no difference from the next git.git clone.
It might remove some confusion if these repos would be reflected on websites focusing on git as they are in the maintainers notes, but that's probably up to the respective webmasters then.
Frans
Quoted 7 lines · Andrew Ardill
Quoted 1 line
Since the *official* repo is now hosted on github, why don't making
use
Quoted 1 line
of the github ticketing system? [1]
From memory, only members of an organisation/owner of an account can manage tickets on github. This would be difficult to organise for git.
Well... Actually I think the mailing list works pretty well.
And the ticketing system would only be useful to use as a shared TODO list.
Let me explain my idea with an example:
An issue is discussed, a bug is acknowledged and a proposed solution is discussed, this all happen in the mailing list, like it always has.
Someone in the "git management" (the one that usually choose how git should evolve) open a ticket, copy the relevant part of the mailing list (or link to the discussion in the archive) and (optionally) place the bug / feature / enhancement into a roadmap / milestone
If the issue is not assigned anyone can see it and come by in the email with a patch proposal.
This is just an idea, I can't propose myself to such a job, I wouldn't be able to provide the appropriate support to it.
Quoted 4 lines
Quoted 1 line
You probably already discussed this tons of times but I can't figure
out
Quoted 1 line
how you are gonna remember to do something if you don't have a
roadmap
Quoted 8 lines
Quoted 1 line
and a ticketing system that allow you to trace the bugs and
features.
We have previously discussed this, and it boils down to "if someone can ensure it is maintained, let's do it". So far no-one has put their hand up and there is a fear of the system becoming clogged with many issues that are not maintained.
I see, I can understand why, it's hard to just find the time to read all the messages in this mailing list.
Regards,
Daniele Segato
Quoted 9 lines · Daniele Segato
Let me explain my idea with an example:
An issue is discussed, a bug is acknowledged and a proposed solution is discussed, this all happen in the mailing list, like it always has.
Someone in the "git management" (the one that usually choose how git should evolve) open a ticket, copy the relevant part of the mailing list (or link to the discussion in the archive) and (optionally) place the bug / feature / enhancement into a roadmap / milestone
This step I wouldn't buy, if you count me as part of "management".
But I suspect that curation of issues, prodding parties involved and closing inactive/stale ones can be done by volunteer project secretaries without requiring an authority to choose how git should evolve.
cf. http://thread.gmane.org/gmane.comp.version-control.git/110117/focus=110129