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

Re: Cleaning up "contrib/"

From
Patrick Steinhardt <ps@pks.im>
Date
May 6, 2025, 05:40 UTC
Message-ID
<aBmg1_wlF2fuk96M@pks.im>
In-Reply-To
<xmqq5xieq3fs.fsf@gitster.g>
On Mon, May 05, 2025 at 12:10:15PM -0700, Junio C Hamano wrote:
Show 11 quoted lines
> Patrick Steinhardt <ps@pks.im> writes:
> 
> > Many of the tools in "contrib/" fall into this category, and to the best
> > of my knowledge there isn't really a clear strategy for that directory.
> > So from my perspective, we should either rethink whether it is worth it
> > to have "contrib/" as part of Git, or we should at least do a spring
> > cleanup and drop bits that haven't seen any love in the last couple of
> > years.
> 
> Things in contrib/ should either move up (to become a part of the
> core), move out (to become an independent project), or disappear.

So this very much sounds like staging drivers in the Linux kernel, where [1] seems to match the description of yours. The only problem is that I haven't really seen the described movement -- many of the pieces haven't been touched for years.

I'll probably just send a patch series to get rid of at least a subset of them. I also think that we should adapt the README and rephrase it according to what the modern intention of this directory is, which seems to have changed.

Other than that we also have some bits and pieces that _are_ actively maintained, but that just don't have a better place to live:

  - CMake.
  - Coccinelle rules.
  - Contacts.
  - Credential helpers.
  - Diff-highlight.
  - git-jump.
  - Shell completion.
Maybe they should be promoted and receive a proper home.
> But isn't git-svn not even part of contrib/?
Yeah, Dscho already corrected me.
Patrick
[1]: https://lwn.net/Articles/324279/
Previous: Junio C HamanoNext: Jeff King
Message 7 of 13 in “git svn clone failed”
  1. BERENDSEN ArnoudMay 2, 2025
  2. Johannes SchindelinMay 4, 2025
  3. Cleaning up "contrib/" (was: git svn clone failed)Patrick Steinhardt, May 5, 2025
  4. Johannes SchindelinMay 5, 2025
  5. Patrick SteinhardtMay 5, 2025
  6. Junio C HamanoMay 5, 2025
  7. Patrick SteinhardtMay 6, 2025
  8. Jeff KingMay 12, 2025
  9. brian m. carlsonMay 13, 2025
  10. Patrick SteinhardtMay 13, 2025
  11. Junio C HamanoMay 13, 2025
  12. Jeff KingMay 14, 2025
  13. Junio C HamanoMay 14, 2025

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.