From: Felipe Contreras <felipe.contreras@gmail.com>
To: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>,
"Felipe Contreras" <felipe.contreras@gmail.com>
Cc: git@vger.kernel.org, Luke Shumaker <lukeshu@lukeshu.com>,
Junio C Hamano <gitster@pobox.com>
Subject: Re: [PATCH 1/2] completion: graduate out of contrib
Date: Wed, 16 Jun 2021 15:09:06 -0500 [thread overview]
Message-ID: <60ca5a62b2193_602720899@natae.notmuch> (raw)
In-Reply-To: <87wnqwzg51.fsf@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason wrote:
>
> 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
next prev parent reply other threads:[~2021-06-16 20:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-14 4:34 [PATCH 0/2] extra: new concept of extra components Felipe Contreras
2021-06-14 4:34 ` [PATCH 1/2] completion: graduate out of contrib Felipe Contreras
2021-06-14 14:12 ` Ævar Arnfjörð Bjarmason
2021-06-16 20:09 ` Felipe Contreras [this message]
2021-06-14 4:34 ` [PATCH 2/2] git-new-workdir: " Felipe Contreras
2021-06-14 14:18 ` [PATCH 0/2] extra: new concept of extra components Ævar Arnfjörð Bjarmason
2021-06-16 0:40 ` Junio C Hamano
2021-06-16 20:48 ` Felipe Contreras
2021-06-16 20:28 ` Felipe Contreras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=60ca5a62b2193_602720899@natae.notmuch \
--to=felipe.contreras@gmail.com \
--cc=avarab@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=lukeshu@lukeshu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).