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

Re: [PATCH] contrib: GnomeKeyring support + generic helper implementation

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 24, 2012, 18:15 UTC
Message-ID
<7vfw7cyx4n.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1345741068-11004-1-git-send-email-pah@qo.cx>
"Philipp A. Hartmann" <pah@qo.cx> writes:
Show 21 quoted lines
> All,
>
> the following patch series proposes enhancements to the credential helper
> implementations in the contrib section.  The detailed development history
> can be found at GitHub [1].
>
>   The first patch adds a GnomeKeyring credential backend.  The GnomeKeyring
> specific parts are based on the work by John Szakmeister, who wrote the
> helper originally for the initial, unpublished version of the credential
> helper protocol.
>
>   The second patch adds a generic implementation of a credential helper
> based on a simplified credential API and common helper functions.  Helpers
> based on this implementation do not need to worry about the credential
> protocol and only need to implement callback functions for the different
> credential operations.
>
>   The third and fourth patches port the existing helpers to this generic
> implementation.
>
> Looking forward to your thoughts.

It struck me somewhat odd to see a new one added as the first step in the series, and then "the generic", the third patch only to lose code from the first one, and then use the same code reduction of existing one with the last one in the series. A natural progression would have been the introduction of generic infrastructure (including the tiny bit this series had to add as part of 4/4) as the first patch, update existing OSX one to it as the second, and then build a new Gnome one on the infrastructure as the third and final patch; that way we have to review less code, too ;-).

I gave it a cursory look; other than getting distracted by inconsistent coding styles here and there, the patches seemed reasonably clean and well thought out.

Thanks.
Previous: Philipp A. HartmannNext: Jeff King
Message 6 of 16 in “contrib: GnomeKeyring support + generic helper implementation”
  1. contrib: GnomeKeyring support + generic helper implementationPhilipp A. Hartmann, Aug 23, 2012
  2. 1/4 contrib: add credential helper for GnomeKeyringPhilipp A. Hartmann, Aug 23, 2012
  3. 2/4 contrib: add generic credential helperPhilipp A. Hartmann, Aug 23, 2012
  4. 3/4 gnome-keyring: port to generic helper implementationPhilipp A. Hartmann, Aug 23, 2012
  5. 4/4 osxkeychain: port to generic credential helper implementationPhilipp A. Hartmann, Aug 23, 2012
  6. Junio C HamanoAug 24, 2012
  7. Jeff KingAug 24, 2012
  8. Junio C HamanoAug 24, 2012
  9. Junio C HamanoAug 26, 2012
  10. Philipp A. HartmannAug 26, 2012
  11. 5/4 wincred: port to generic credential helper (UNTESTED)Philipp A. Hartmann, Aug 26, 2012
  12. 5/4 wincred: port to generic credential helper (UNTESTED)Philipp A. Hartmann, Aug 26, 2012
  13. Erik Faye-LundAug 30, 2012
  14. Junio C HamanoAug 30, 2012
  15. Erik Faye-LundAug 31, 2012
  16. 5/4 wincred: port to generic credential helperPhilipp A. Hartmann, Sep 1, 2012

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.