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

Re: [PATCH 1/2] completion: graduate out of contrib

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Jun 16, 2021, 20:09 UTC
Message-ID
<60ca5a62b2193_602720899@natae.notmuch>
In-Reply-To
<87wnqwzg51.fsf@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason wrote:
Show 29 quoted lines
> 
> On Sun, Jun 13 2021, Felipe Contreras wrote:
> 
> > These have been stable and widely used for quite a long time, they even
> > have tests outside of the contrib area, and most distributions ship
> > them, so they can be considered part of the core already.
> >
> > We should be consistent and either we move the tests to contrib, or we
> > move the completions out of contrib.
> >
> > Let's move them out of contrib and provide an installation target
> > install-extra.
> >
> > By default bash-completion installs the completions to
> > $(pkgdatadir)/completions, which is
> > $(prefix)/share/bash-completion/completions. And since most distributions do
> > not change this, it is obviously the right default that distributions
> > can override with bashcompdir.
> >
> > By default zsh looks for completions in
> > $(prefix)/share/zsh/site-functions.
> >
> > Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
> > ---
> >  Makefile                                        |  3 +++
> >  extra/Makefile                                  | 17 +++++++++++++++++
> 
> Please let's not continue following the IMO anti-pattern of having these
> sub-Makefiles. Let's just add the target to the top-level Makefile.
All right. Fine by me.
-- 
Felipe Contreras
Previous: Ævar Arnfjörð BjarmasonNext: Felipe Contreras
Message 4 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.