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

Re: [PATCH 0/2] extra: new concept of extra components

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Jun 16, 2021, 20:48 UTC
Message-ID
<60ca63ba201b6_602720884@natae.notmuch>
In-Reply-To
<xmqqim2evdyx.fsf@gitster.g>
Junio C Hamano wrote:
Show 15 quoted lines
> Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> 
> > On Sun, Jun 13 2021, Felipe Contreras wrote:
> >
> >> This patch series introduces the concept of extra components. These are
> >> components which are not yet part of the core but are good enough for
> >> distributions to ship, and in fact, they already do.
> >
> > I like this direction.
> 
> I do not mind change, but it is fuzzy to me what direction you are
> in favor of.  Is the gist of the idea to split what is in contrib/
> into two bins, ones that are closer to "official" and others?  If
> so, I see sort-of merit in such a distinction, but whom is this
> trying to help?
Everyone.
  1. People who download the source code and want to install git in a
     similar way to how distributions do it
  2. Developers who have no idea what's good in contrib/
  3. Distribution packagers who want to know what's good enough to be
     distributed, and don't want to manually copy files (i.e. all
     distribution packagers)
> Distros would rather see what they use unmoved, and would not care
> where those that they do not use move to, I would imagine.
That is not true.

Distributions do not want to decide where to place `contrib/completion/git-prompt.sh`, they want the git project to decide.

Obviously it has to be under '/usr/share/', preferably '/usr/share/$project' (i.e. not /usr/share/git-core), but other than that they do not care.

> So I suspect that it would help them more if we kept the ones that are
> closer to "official" in contrib/ and moved the rest to a new
> hierarchy?
Sure, that would help, but they still would want an install-contrib target.

A distribution packager that is maintaining 20 packages (or more) doesn't want to keep track where every single file of her every single package goes. She just wants to do `make install` and be done with it. Any package that requires to manually copy some files to the destination is simply a hassle to maintain.

-- 
Felipe Contreras
Previous: Junio C HamanoNext: Felipe Contreras
Message 8 of 9 in “extra: new concept of extra components”
  1. 0/2 extra: new concept of extra componentsFelipe Contreras, Jun 14, 2021
  2. 1/2 completion: graduate out of contribFelipe Contreras, Jun 14, 2021
  3. Ævar Arnfjörð BjarmasonJun 14, 2021
  4. Felipe ContrerasJun 16, 2021
  5. 2/2 git-new-workdir: graduate out of contribFelipe Contreras, Jun 14, 2021
  6. Ævar Arnfjörð BjarmasonJun 14, 2021
  7. Junio C HamanoJun 16, 2021
  8. Felipe ContrerasJun 16, 2021
  9. Felipe ContrerasJun 16, 2021

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.