[ 
https://issues.apache.org/jira/browse/LUCENE-9488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17428039#comment-17428039
 ] 

Dawid Weiss commented on LUCENE-9488:
-------------------------------------

{quote}although i have no idea why it says you need {{--max-workers 1}} ?
{quote}
It's because of the comment in gpgSigning.txt - indeed the one about gradle 
being multi-threaded, and no-tty issue... I thought it'd be the simplest 
solution to just force gradle to be single-threaded (this is what the option 
above does).
{quote}and we can/should mention {{--max-workers 1}} as an additional 
workaround for that problem?)
{quote}
I think we should enforce max-workers the way it's currently implemented, if 
it's indeed a problem. People don't read txt and this will give them a clear 
error upon trying. On the other hand, if you've tried and it worked then... why 
is this needed again? :)

I will rename the gpg-agent signing file.
{quote}if folks are willing to provide their passphrase as a gradle property, 
they can now use {{-Psigning.password=....}} instead.  There's no reason to use 
{{-PuseGpg}} (and involve an external gpg / gpg-agent process)
{quote}
Right... that would be the simplest solution of all. But I think some people 
will insist on using gpg-agent (and I understand the motives for doing this). 
I'd leave it in as an option - it does work, it just requires dodging some 
corner-cases. The release process python script should (for simplicity) ask for 
the password (using a secure, non-echoing tty) and pass these to gradle (via 
environment variables or command-line switches).

Thanks Hoss.

 

> Update release process to work with Gradle.
> -------------------------------------------
>
>                 Key: LUCENE-9488
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9488
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: general/build
>            Reporter: Erick Erickson
>            Assignee: Mike Drob
>            Priority: Major
>         Attachments: Skjermbilde 2021-10-05 kl. 11.18.28.png
>
>          Time Spent: 20.5h
>  Remaining Estimate: 0h
>
> The release process needs to reflect using Gradle rather than Ant. I suspect 
> this will be a significant task, thus it has its own JIRA



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to