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

Re: [PATCHv2] push: heed user.signingkey for signed pushes

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 22, 2014, 23:47 UTC
Message-ID
<xmqq38afu0of.fsf@gitster.dls.corp.google.com>
In-Reply-To
<xmqq7fzru5do.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 20 quoted lines
> Michael J Gruber <git@drmicha.warpmail.net> writes:
>
>> push --signed promises to take user.signingkey as the signing key but
>> fails to read the config.
>>
>> Make it do so.
>>
>> Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
>> ---
>> Okay, I guess this is nicer. We do have the committer info in the env. Sorry.
>>
>>  builtin/push.c         |  13 ++++++++++++-
>>  t/lib-gpg/trustdb.gpg  | Bin 1360 -> 1360 bytes
>>  t/t5534-push-signed.sh |  44 ++++++++++++++++++++++++++++++++++++++++++++
>>  3 files changed, 56 insertions(+), 1 deletion(-)
>
> Hmph, I simply forgot about that configuration, I guess.
>
> What is this change to trustdb about, though?  The log message does
> not say anything about it.
This is a related tangent, but I just tried this:
    $ git clone ... git.git
    $ cd git.git
    $ chmod a-w t/lib-gpg/* t/lib-gpg
    $ make test

which makes GPG related tests to fail, as running GPG with the GNUPGHOME set there involves writing into the files in the directory (or removing and recreating).

Perhaps GPG tests should create their own copy in the playpen (aka "trash directory") and use that as GNUPGHOME so that we do not have to write into the single shared directory? I wonder if automated parallel tests can intermittently fail because of this...

Previous: Junio C HamanoNext: Michael J Gruber
Message 4 of 9 in “push: heed user.signingkey for signed pushes”
  1. push: heed user.signingkey for signed pushesMichael J Gruber, Oct 22, 2014
  2. [PATCHv2] push: heed user.signingkey for signed pushesMichael J Gruber, Oct 22, 2014
  3. Junio C HamanoOct 22, 2014
  4. Junio C HamanoOct 22, 2014
  5. Michael J GruberOct 24, 2014
  6. t/lib-gpg: make gpghome files writableMichael J Gruber, Oct 24, 2014
  7. Junio C HamanoOct 24, 2014
  8. Michael J GruberOct 24, 2014
  9. Junio C HamanoOct 24, 2014

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.