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

Re: [PATCH v2] gpg-interface: use more status letters

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 28, 2016, 19:59 UTC
Message-ID
<xmqqshsjiyn4.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<c4777ef68059034d7ad4697a06bba3cabbdc9265.1475053649.git.git@drmicha.warpmail.net>
Michael J Gruber <git@drmicha.warpmail.net> writes:
> - Use GNUPGHOME="$HOME/gnupg-home-not-used" just like in other tests (lib).
If you are not using /dev/null, I expected you to do
	. ./test-lib.sh
	GNUPGHOME_saved=$GNPGHOME
        . "$TEST_DIRECTORY/lib-gpg.sh"
and then use
	GNUPGHOME="$GNUPGHOME_saved" git log -1 ...
in the test.

Otherwise, you are not futureproofing your use and only adding to maintenance burden. The gnupg-home-not-used hack may turn out to be a problematic and test-lib.sh may update to point to somewhere else, which will leave your copy still pointing at the old problematic place).

> - Do not parse for signer UID in the ERRSIG case (and test that we do not).
Good.
> - Retreat "rather" addition from the doc: good/valid are terms that we use
>   differently from gpg anyways.
OK.
> +  "X" for a good expired signature, or good signature made by an expired key,

As an attempt to clarify that we cover both EXPSIG and EXPKEYSIG cases, I think this is good enough. I may have phrased the former slightly differently, though: "a good signature that has expired".

I have no strong opinion if we want to stress that we cover both cases, though, which is I think what Ramsay's comment was about.

Thanks.
Previous: Ramsay JonesNext: Ramsay Jones
Message 8 of 16 in “Request: Extra case for %G? format”
  1. AlexSep 25, 2016
  2. Michael J GruberSep 26, 2016
  3. AlexSep 26, 2016
  4. gpg-interface: use more status lettersMichael J Gruber, Sep 27, 2016
  5. Junio C HamanoSep 27, 2016
  6. gpg-interface: use more status lettersMichael J Gruber, Sep 28, 2016
  7. Ramsay JonesSep 28, 2016
  8. Junio C HamanoSep 28, 2016
  9. Ramsay JonesSep 28, 2016
  10. Michael J GruberSep 30, 2016
  11. Junio C HamanoSep 30, 2016
  12. Junio C HamanoOct 6, 2016
  13. Michael J GruberOct 10, 2016
  14. Junio C HamanoOct 10, 2016
  15. gpg-interface: use more status lettersMichael J Gruber, Oct 12, 2016
  16. Michael J GruberSep 30, 2016

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.