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

Re: [PATCH] tag: add tag.gpgSign config option to force all tags be GPG-signed

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Oct 26, 2017, 21:33 UTC
Message-ID
<20171026213337.kbmwnaxlsyubat4w@aiede.mtv.corp.google.com>
In-Reply-To
<1113033991.3307260.1509051676201.JavaMail.zimbra@desy.de>
Hi again,
Mkrtchyan, Tigran wrote:
> Jonathan Nieder wrote:
>> Tigran Mkrtchyan wrote:
Show 12 quoted lines
>>> In some workflows we have no control on how git command is executed,
>>> however a signed tags are required.
>>
>> Don't leave me hanging: this leaves me super curious.  Can you tell me
>> more about these workflows?
>
> Well, this is a build/release process where we can't pass additional
> command line options to git. TO be hones, is case of annotated tags
> there is already option tag.forceSignAnnotated. However, non annotated
> tags are not forced to be signed.
>
> Additionally, the proposed option is symmetric with commit.gpgSign.
Now I'm even more curious.

I don't think we have the full picture to understand whether this change is needed. When adding a configuration item, we need to be able to explain to users what the configuration item is for, and so far the only answer I am hearing is "because we do not want to patch our build/release script, though we could in principle". That doesn't sound like a compelling reason.

On the other hand, perhaps the answer is "our build/release script does not have a --sign option for the following reason, and this is a better interface for configuring it".

Or perhaps there is an answer that does not involve the build/release script.

But with no answer at all, it is hard to see why we should move forward on this patch.

To be clear, I am not saying that writing the patch is wasted effort. E.g. you can continue to use it internally, and it means that once we have a clear reason to add this configuration, the patch is there and ready to use to do so.

Thanks again, Jonathan

Previous: Mkrtchyan, TigranNext: Stefan Beller
Message 4 of 7 in “tag: add tag.gpgSign config option to force all tags be GPG-signed”
  1. tag: add tag.gpgSign config option to force all tags be GPG-signedTigran Mkrtchyan, Oct 26, 2017
  2. Jonathan NiederOct 26, 2017
  3. Mkrtchyan, TigranOct 26, 2017
  4. Jonathan NiederOct 26, 2017
  5. Stefan BellerOct 26, 2017
  6. Mkrtchyan, TigranOct 27, 2017
  7. brian m. carlsonOct 28, 2017

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.