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

Re: Recommended steps for a "subsystem maintainer" ?

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Nov 20, 2008, 09:58 UTC
Message-ID
<492534D2.7000709@drmicha.warpmail.net>
In-Reply-To
<643392.36561.qm@web37903.mail.mud.yahoo.com>
Gary Yang venit, vidit, dixit 19.11.2008 21:47:
Show 10 quoted lines
> Hi,
> 
> The
> doc,http://www.kernel.org/pub/software/scm/git/docs/gitcore-tutorial.html
> at "Working with Others" recommended steps for a "subsystem
> maintainer". See below. But, I do not understand the step 3. Copy
> over the packed files from "project lead" public repository to your
> public repository. The step 1 used git-clone. That means, I got the
> code including histories as well. Why do I need step 3 to get the
> packed files?

Step 1 sets up your private development repo. Step 3 talks about your public repo.

It's recommended you get the original packs because differently abled protocols like http cannot repack on the fly. That is, if people pull via http from upstream and your public repo they might have to download two different packs for (almost) the same objects.

Show 6 quoted lines
> If I really need the packed files, how do I get it? As
> an example, I need to get the packed files for
> http://git.denx.de/?p=u-boot.git;a=summary . How can I get the files
> something like, pack-d5ef1966072c86ef5108ac57525b802581de5d21.idx and
> pack-d5ef1966072c86ef5108ac57525b802581de5d21.pack ? The snapshot
> dose not have the packed files. They are all text files.

Snapshots are about files, i.e. contents. They've got nothing to do with packs. May I suggest reading of both parts of the git tutotorial, as well as the user manual, in order to clarify some concepts? This would be an ideal first step before thinking about becoming a subsystem maintainer.

You can get the original upstream packs by copying them (if you have shell access) or simply by cloning via http. Store them in .git/objects/pack of your public repo before you push anything into it, and don't run "repack -adf" there (repack is OK).

Michael
Previous: Gary Yang
Message 2 of 2 in “Recommended steps for a "subsystem maintainer" ?”
  1. Gary YangNov 19, 2008
  2. Michael J GruberNov 20, 2008

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.