git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: cg-clone not fetching all tags?

From
Johannes Sixt <johannes.sixt@telecom.at>
Date
Apr 29, 2006, 21:42 UTC
Message-ID
<200604292342.16306.johannes.sixt@telecom.at>
In-Reply-To
<20060429170542.GJ27689@pasky.or.cz>
On Saturday 29 April 2006 19:05, Petr Baudis wrote:
Show 22 quoted lines
>   Hi,
>
> Dear diary, on Sat, Apr 29, 2006 at 04:00:42PM CEST, I got a letter
> where Wolfgang Denk <wd@denx.de> said that...
>
> > it seems that "cg-clone" does not fetch all tags any more - only  the
> > most  recent ones (modiufied in the last N days?) seem to be fetched?
> > [Eventually the "N days"  might  correspond  to  "changing  tools  to
> > version X", but I have no way to find out.]
> >
> > This happens only when using HTTP; using ssh  or  rsync  works  fine.
> > Also,  if  we follow the "cg-clone" by a "git-fetch -t" command, this
> > will load the missing tags.
> >
> > Is this intentional, or am I doing anything wrong?
> >
> > [For testing, try "cg-clone http://www.denx.de/git/u-boot.git"]
>
>   you need to run git-update-server-info every time you add or update a
> tag (or best every time you push). See the NOTES section of
> cg-admin-setuprepo documentation for details on how to set it up to be
> called automagically at every push.
There are two types of tags: They can point to
1. a commit object
2. a proper tag object (which in turn references the commit)

git-update-server-info seems to generate info only for case 2, and so are the only ones that http can fetch.

-- Hannes
Previous: Petr BaudisNext: Wolfgang Denk
Message 4 of 9 in “cg-clone not fetching all tags?”
  1. Wolfgang DenkApr 27, 2006
  2. Wolfgang DenkApr 29, 2006
  3. Petr BaudisApr 29, 2006
  4. Johannes SixtApr 29, 2006
  5. Wolfgang DenkApr 29, 2006
  6. Johannes SixtApr 29, 2006
  7. Junio C HamanoApr 30, 2006
  8. Wolfgang DenkApr 30, 2006
  9. Wolfgang DenkApr 29, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.