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

Re: [PATCH] Add a git-completion rpm subpackage to the spec

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 20, 2010, 20:12 UTC
Message-ID
<7v8w9mda6l.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1269109086-8887-1-git-send-email-bwalton@artsci.utoronto.ca>
Ben Walton <bwalton@artsci.utoronto.ca> writes:
Show 10 quoted lines
> Make the rpm spec file create a git-completion subpackage that
> contains the bash completion support from the contrib/ directory.
>
> Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
> ---
>
> This is the alternate method for shipping the bash completion support.
> I think I personally prefer this method, but I'd be happy to see
> either solution ship as part of the .spec file so that I don't need to
> continue handling it separately.

As long as %{_sysconfdir}/bash_completion.d/ is the appropriate place for *all* RPM based distros, which I don't knonw, the patch looks sensible. May I ask for what distribution you are "handling it"? The last thing I want to do is to get in the way of distro packagers.

I looked for "gitcompletion" or "git-completion" in rpmfind.net, but didn't find anything, which may actually be a good sign that whatever we do here won't stomp on whatever distro package maintainers would do.

Previous: Ben WaltonNext: Ian Ward Comfort
Message 3 of 8 in “RPM spec: optionally include bash completion support”
  1. RPM spec: optionally include bash completion supportIan Ward Comfort, Mar 20, 2010
  2. Add a git-completion rpm subpackage to the specBen Walton, Mar 20, 2010
  3. Junio C HamanoMar 20, 2010
  4. Ian Ward ComfortMar 20, 2010
  5. Ben WaltonMar 20, 2010
  6. Junio C HamanoMar 21, 2010
  7. Todd ZullingerMar 21, 2010
  8. Ben WaltonMar 21, 2010

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.