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

Re: Cleaning up "contrib/"

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
May 13, 2025, 00:13 UTC
Message-ID
<aCKOqs52TDZDvAXJ@tapette.crustytoothpaste.net>
In-Reply-To
<20250512135017.GC1191957@coredump.intra.peff.net>
On 2025-05-12 at 13:50:17, Jeff King wrote:
Show 16 quoted lines
> On Tue, May 06, 2025 at 07:40:39AM +0200, Patrick Steinhardt wrote:
> 
> > 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:
> > 
> > [...]
> >   - Diff-highlight.
> >   - git-jump.
> 
> These two are due to me. I don't have a problem moving them into their
> own projects if we want to clean out contrib.
> 
> I think diff-highlight is something that _should_ eventually happen
> inside git-diff itself (because it would be more efficient and we could
> do a better job). But it wouldn't share any implementation with what's
> in contrib/.

I think there are definitely users of diff-highlight. I remember seeing a reference to it recently and not realizing it was in contrib, but it is actually used by others. I don't use it myself, though.

Show 11 quoted lines
> >   - Credential helpers.
> 
> These ones are tricky. In theory they could be spun off into their own
> projects, and we already have examples in the wild of things like GCM
> which are maintained totally separately.
> 
> But I think we may need to find people to step up as maintainers. In
> particular, I think osxkeychain is probably used by a lot of people, and
> probably shouldn't just go away. But I don't know how the maintainer
> would be. I wrote it originally, but don't (and never did) use it
> myself, or even have access to a macOS machine.

These are often shipped by distributors. Apple ships osxkeychain, as does Homebrew. Many Linux distros ship libsecret and it's the recommended choice for desktop Linux.

wincred, while not super popular, is still used and is smaller and lighter than GCM. It doesn't actually look like GCM is seeing a great deal of maintenance either at this point, so I'd say they're about equally well maintained. Since I don't use Windows, I don't know if there are other usecases (such as noninteractive uses) that are better supported by wincred, but I'd recommend keeping it.

I definitely want us to keep these somewhere since they are quite commonly used (even wincred) and getting rid of them will break a lot of people and leave them without a secure credential storage option. We could promote them to the main repository and simply build them with a Makefile knob (or by default on the appropriate platform) and in CI, in which case we'd at least know they build.

I'm not volunteering to be _the_ maintainer for libsecret, but I will definitely contribute to making it work since I use it. This is much like I am not _the_ maintainer for making Git work with Kerberos, but I do certainly often fix it should it break.

-- 
brian m. carlson (they/them)
Toronto, Ontario, CA
Previous: Jeff KingNext: Patrick Steinhardt
Message 9 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.