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
Mkrtchyan, Tigran <tigran.mkrtchyan@desy.de>
Date
Oct 27, 2017, 07:41 UTC
Message-ID
<760741736.3439901.1509090074292.JavaMail.zimbra@desy.de>
In-Reply-To
<20171026213337.kbmwnaxlsyubat4w@aiede.mtv.corp.google.com>
Hi Jonathan,

I can't disagree with you - the right solution is to fix the build/release process to support signed tagging. It's just too many of them to fix: jenkins, maven, IDE, etc. My naive assumption was that if a tool (git) has a switch to enable some functionality, why not have a possibility to make it default.

You can put this change on hold and re-consider it if more people will need such functionality.
Thanks,
   Tigran.
----- Original Message -----
Show 5 quoted lines
> From: "Jonathan Nieder" <jrnieder@gmail.com>
> To: "Tigran Mkrtchyan" <tigran.mkrtchyan@desy.de>
> Cc: "git" <git@vger.kernel.org>
> Sent: Thursday, October 26, 2017 11:33:37 PM
> Subject: Re: [PATCH] tag: add tag.gpgSign config option to force all tags be GPG-signed
Show 45 quoted lines
> Hi again,
> 
> Mkrtchyan, Tigran wrote:
>> Jonathan Nieder wrote:
>>> Tigran Mkrtchyan wrote:
> 
>>>> 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: Stefan BellerNext: brian m. carlson
Message 6 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.