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

Re: [PATCH v4] fast-(import|export): improve on commit signature output format

From
Christian Couder <christian.couder@gmail.com>
Date
Jul 8, 2025, 09:16 UTC
Message-ID
<CAP8UFD1M2UTnqpd5KG=GQfofUiJL3Z3ZvJBiTe2nZP4a2i68Ow@mail.gmail.com>
In-Reply-To
<xmqqfrfu2pa1.fsf@gitster.g>
On Fri, Jun 20, 2025 at 9:20 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 11 quoted lines
>
> Christian Couder <christian.couder@gmail.com> writes:
>
> tldr; 2 brief requests.  Please
>
>  - Be gentle to people and expect that it is normal for them to be
>    off of the list for a few weeks (or even more), not able to give
>    a timely comments;
>
>  - Fully stand behind your own patch (unless it is an RFC), even if
>    some of the idea came from elsewhere.
Ok I will keep these in mind.
Show 21 quoted lines
> >> Why would it need to say what type of signature it is?  Don't the
> >> ascii armor lines have e.g. "----BEGIN PGP SIGNATURE----" and "----END
> >> PGP SIGNATURE----" around it, which fast-import can read as well as
> >> fast-export?  Is the idea that we strip those lines and now need to
> >> replace the information we lost?
> >
> > In https://lore.kernel.org/git/aAq1nvcPRlIPal5l@tapette.crustytoothpaste.net/
> > brian said:
> >
> > "These should be separate fields: one for the hash algorithm and one for
> > the protocol.  Alternatively, we can just keep the hash algorithm field
> > and parse the protocol by reading the first line, which will differ for
> > different protocols."
> >
> > It would have been nice if you had then said that you prefer not to
> > have the protocol.
>
> Let's remember to be gentle for those who give varluable feedbacks
> but may not be always on this list.  A late comment on a topic that
> has not hit 'next' is much better than a late comment after the
> topic hits 'next', or no comment at all.
I agree that the comment was valuable, sorry if it appeared otherwise.
Show 15 quoted lines
> Also, even if the idea came from somebody else, if you agreed to the
> idea and made it part of your submission, then it would be better to
> explain it in your own words, in the most appropriate way to answer
> the question asked (e.g. the original from Brian and the question by
> Elijah may have stress on different aspect of the problem).
>
> > My opinion was that it was better for tools processing fast-export
> > output to have the protocol as they have to parse the "gppsig ..."
> > line anyway. So it should be easier for them than to parse the ascii
> > armor lines.
>
> And if you do not agree with Brian's, perhaps discuss a bit more to
> (1) either convince yourself that Brian's idea is better and rewrite
> your code to adopt the idea, or (2) explain the reason why your "the
> importer reads and parses anyway" is better design and stick to it.

I actually agreed with brian about "These should be separate fields: one for the hash algorithm and one for the protocol." Anyway it seems that we all agree now on this.

Previous: Junio C HamanoNext: Elijah Newren
Message 39 of 65 in “fast-(import|export): improve on the signature algorithm name”
  1. fast-(import|export): improve on the signature algorithm nameChristian Couder, Apr 24, 2025
  2. Junio C HamanoApr 24, 2025
  3. Elijah NewrenApr 24, 2025
  4. Junio C HamanoApr 24, 2025
  5. Christian CouderMay 26, 2025
  6. Junio C HamanoMay 27, 2025
  7. Junio C HamanoMay 28, 2025
  8. Elijah NewrenMay 28, 2025
  9. Junio C HamanoMay 28, 2025
  10. Elijah NewrenMay 28, 2025
  11. Junio C HamanoMay 29, 2025
  12. Christian CouderJun 2, 2025
  13. Christian CouderJun 2, 2025
  14. Junio C HamanoJun 2, 2025
  15. Christian CouderMay 26, 2025
  16. Elijah NewrenApr 24, 2025
  17. Christian CouderMay 26, 2025
  18. brian m. carlsonApr 24, 2025
  19. Christian CouderMay 26, 2025
  20. Junio C HamanoApr 24, 2025
  21. 0/6 extract algo information from signaturesChristian Couder, May 26, 2025
  22. 1/6 gpg-interface: simplify ssh fingerprint parsingChristian Couder, May 26, 2025
  23. 2/6 gpg-interface: use left shift to define GPG_VERIFY_*Christian Couder, May 26, 2025
  24. 3/6 doc/verify-commit: update and improve the whole docChristian Couder, May 26, 2025
  25. 4/6 gpg-interface: extract hash algorithm from signature status outputChristian Couder, May 26, 2025
  26. 5/6 gpg-interface: extract SSH key type from signature status outputChristian Couder, May 26, 2025
  27. 6/6 verify-commit: add a --summary flagChristian Couder, May 26, 2025
  28. Elijah NewrenMay 26, 2025
  29. Christian CouderJun 19, 2025
  30. brian m. carlsonJun 2, 2025
  31. Christian CouderJun 19, 2025
  32. fast-(import|export): improve on commit signature output formatChristian Couder, Jun 18, 2025
  33. fast-(import|export): improve on commit signature output formatChristian Couder, Jun 19, 2025
  34. Junio C HamanoJun 19, 2025
  35. Christian CouderJul 8, 2025
  36. Elijah NewrenJun 19, 2025
  37. Christian CouderJun 20, 2025
  38. Junio C HamanoJun 20, 2025
  39. Christian CouderJul 8, 2025
  40. Elijah NewrenJun 26, 2025
  41. Christian CouderJul 8, 2025
  42. Junio C HamanoJul 7, 2025
  43. Christian CouderJul 8, 2025
  44. Junio C HamanoJul 8, 2025
  45. Patrick SteinhardtJul 8, 2025
  46. Christian CouderJul 8, 2025
  47. Junio C HamanoJul 8, 2025
  48. Christian CouderJul 9, 2025
  49. Junio C HamanoJul 9, 2025
  50. Patrick SteinhardtJul 10, 2025
  51. Christian CouderJul 10, 2025
  52. Junio C HamanoJul 10, 2025
  53. Christian CouderJul 8, 2025
  54. fast-(import|export): improve on commit signature output formatChristian Couder, Jul 8, 2025
  55. Junio C HamanoJul 8, 2025
  56. Elijah NewrenJul 8, 2025
  57. Junio C HamanoJul 9, 2025
  58. Elijah NewrenJul 9, 2025
  59. Christian CouderJul 9, 2025
  60. Christian CouderJul 9, 2025
  61. fast-(import|export): improve on commit signature output formatChristian Couder, Jul 9, 2025
  62. Junio C HamanoJul 9, 2025
  63. Elijah NewrenJul 14, 2025
  64. Junio C HamanoJul 14, 2025
  65. Christian CouderJul 25, 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.