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

Re: [PATCH 0/1] gpg-interface: add minTrustLevel as a configuration option

From
Hans Jerry Illikainen <hji@dyntopia.com>
Date
Dec 18, 2019, 23:59 UTC
Message-ID
<87pnglyylt.hji@dyntopia.com>
In-Reply-To
<xmqq4ky0j8ca.fsf@gitster-ct.c.googlers.com>
On Mon, Dec 16 2019, Junio C Hamano wrote:
Show 11 quoted lines
>> Unfortunately, it breaks backward-compatibility in two ways:
>>
>> 1. The default trust level is TRUST_UNDEFINED.  This is compatible with
>>    the old behavior of every code path *except* for
>>    verify_merge_signature() (since, again, it used to die()s on trust
>>    levels below TRUST_MARGINAL).
>
> This might be a bit problematic.  If we can keep the default
> behaviour identical to the code before this patch, while allowing
> the configuration to tweak the behaviour, that would have been
> more easily acceptable.
Done in v1.
Show 6 quoted lines
>> 2. The %G? format specifier no longer includes 'U' for signatures made
>>    with a key that is either TRUST_UNDEFINED or TRUST_NEVER.
>
> Hmm, I can sort-of-see why you want to introduce a new placeholder
> "%GT" to disambiguate two sources of 'U', but why would this change
> to "%G?" necessary?

U is re-introduced in v1. %GT is still there (since %G? doesn't print all trust levels) but I don't mind removing it (I added it for completeness sake when breaking backward-compatibility in v0).

-- 
hji
Previous: Junio C HamanoNext: Hans Jerry Illikainen
Message 9 of 19 in “gpg-interface: add minTrustLevel as a configuration option”
  1. 0/1 gpg-interface: add minTrustLevel as a configuration optionHans Jerry Illikainen, Dec 16, 2019
  2. 1/1 gpg-interface: add minTrustLevel as a configuration optionHans Jerry Illikainen, Dec 16, 2019
  3. SZEDER GáborDec 20, 2019
  4. Hans Jerry IllikainenDec 21, 2019
  5. Randall S. BeckerDec 23, 2019
  6. Hans Jerry IllikainenDec 24, 2019
  7. Randall S. BeckerDec 24, 2019
  8. Junio C HamanoDec 16, 2019
  9. Hans Jerry IllikainenDec 18, 2019
  10. 0/1 gpg-interface: add minTrustLevel as a configuration optionHans Jerry Illikainen, Dec 19, 2019
  11. 1/1 gpg-interface: add minTrustLevel as a configuration optionHans Jerry Illikainen, Dec 19, 2019
  12. 0/1 gpg-interface: add minTrustLevel as a configuration optionHans Jerry Illikainen, Dec 22, 2019
  13. 1/1 gpg-interface: add minTrustLevel as a configuration optionHans Jerry Illikainen, Dec 22, 2019
  14. Junio C HamanoDec 24, 2019
  15. Hans Jerry IllikainenDec 27, 2019
  16. Junio C HamanoDec 27, 2019
  17. Hans Jerry IllikainenDec 22, 2019
  18. 0/1 gpg-interface: add minTrustLevel as a configuration optionHans Jerry Illikainen, Dec 27, 2019
  19. 1/1 gpg-interface: add minTrustLevel as a configuration optionHans Jerry Illikainen, Dec 27, 2019

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.