threads / discuss / 2640

2.6.15-rc2 tag

Subject: 2.6.15-rc2 tag

## tl;dr

6 messages between Nov 21, 2005 and Nov 22, 2005.

replies: 5people: 4as markdown or json

J. Bruce Fields· Nov 21, 2005, 21:25 UTC · lore
Help!  I'm confused.
	git-fetch --tags http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

isn't getting me a 2.6.15-rc2 tag. So maybe there's some delay? There does, however, appear to be a file

	http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/tags/v2.6.15-rc2

Its contents are 7305b5cb045e2c71250b5b7472771ed2620bc514 which isn't anything I can find anywhere.

gitweb, on the other hand:
	http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tag;h=7305b5cb045e2c71250b5b7472771ed2620bc514

shows 3bedff1d73b86e0cf52634efb447e9ada08f2cc6 as the tagged commit, which is something I do have. What don't I understand?

--b.
J. Bruce Fields· Nov 22, 2005, 19:34 UTC · re: J. Bruce Fields · lore

Re: 2.6.15-rc2 tag

I'm still not getting a 2.6.15-rc2 tag with either git-clone or git-fetch --tags. Any ideas? Is the problem with me or with the repository?

--b.
On Mon, Nov 21, 2005 at 04:25:49PM -0500, J. Bruce Fields wrote:
Show 24 quoted lines
> Help!  I'm confused.
> 
> 	git-fetch --tags http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> 
> isn't getting me a 2.6.15-rc2 tag.  So maybe there's some delay?  There
> does, however, appear to be a file
> 
> 	http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/tags/v2.6.15-rc2
> 
> Its contents are 7305b5cb045e2c71250b5b7472771ed2620bc514 which isn't
> anything I can find anywhere.
> 
> gitweb, on the other hand:
> 
> 	http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tag;h=7305b5cb045e2c71250b5b7472771ed2620bc514
> 
> shows 3bedff1d73b86e0cf52634efb447e9ada08f2cc6 as the tagged commit,
> which is something I do have.  What don't I understand?
> 
> --b.
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Linus Torvalds· Nov 22, 2005, 20:01 UTC · re: J. Bruce Fields · lore

Re: 2.6.15-rc2 tag

On Tue, 22 Nov 2005, J. Bruce Fields wrote:
>
> I'm still not getting a 2.6.15-rc2 tag with either git-clone or
> git-fetch --tags.  Any ideas?  Is the problem with me or with the
> repository?
Try using 
  git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
instead. Does that help? 
I don't understand how http:// works (or doesn't), so..
		Linus
J. Bruce Fields· Nov 22, 2005, 20:17 UTC · re: Linus Torvalds · lore

Re: 2.6.15-rc2 tag

On Tue, Nov 22, 2005 at 12:01:08PM -0800, Linus Torvalds wrote:
Show 11 quoted lines
> On Tue, 22 Nov 2005, J. Bruce Fields wrote:
> >
> > I'm still not getting a 2.6.15-rc2 tag with either git-clone or
> > git-fetch --tags.  Any ideas?  Is the problem with me or with the
> > repository?
> 
> Try using 
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> 
> instead. Does that help? 

Yup, thanks. Is there any reason to ever use http to get to your repository?

> I don't understand how http:// works (or doesn't), so..
>From a quick look in ethereal, it seems to be fetching
http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/info/refs

which has a list of tags that doesn't include 2.6.15-rc2. What generates that file? Is it broken?

--b.
Jeff Garzik· Nov 22, 2005, 20:38 UTC · re: J. Bruce Fields · lore

Re: 2.6.15-rc2 tag

On Tue, Nov 22, 2005 at 03:17:26PM -0500, J. Bruce Fields wrote:
> Yup, thanks.  Is there any reason to ever use http to get to your
> repository?
Linus's?  For you?  Probably not.  But for others:
1) Corporate firewalls, which only allow HTTP transit, without
   jumping through hoops.
2) Far easier to find HTTP hosting than rsync or git hosting.
	Jeff
Junio C Hamano· Nov 22, 2005, 20:33 UTC · re: Linus Torvalds · lore

Re: 2.6.15-rc2 tag

Linus Torvalds <torvalds@osdl.org> writes:
Show 11 quoted lines
> On Tue, 22 Nov 2005, J. Bruce Fields wrote:
>>
>> I'm still not getting a 2.6.15-rc2 tag with either git-clone or
>> git-fetch --tags.  Any ideas?  Is the problem with me or with the
>> repository?
>
> Try using 
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
>
> instead. Does that help? 

It should. And I think git:// should be encouraged over http://, but some people (including me at work) can only come from http://, so...

> I don't understand how http:// works (or doesn't), so..

The difference between git-ls-remote against your repository via git:// and http:// would tell you. Your info/refs in your repo is stale; git http transport is designed to cope with webservers without dirindex, and only uses info/refs to find out what refs you have in that repository. It does not fall back on "wget -r" behaviour simply because it is a mess (you get all sorts of useless links by doing dirindex in refs/ directory, like Name, Last modified, Size, Parent Directory).

Mind enabling hooks/post-update on the master so that update-server-info is run after you push into it?

← back to recent threads