This is an automated email from the ASF dual-hosted git repository.

houston pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 36a3185  Fix gpg key download in release wizard. (#284)
36a3185 is described below

commit 36a3185f33f56be6817cfc228c4ed77e90d7b661
Author: Houston Putman <[email protected]>
AuthorDate: Thu Sep 2 18:07:47 2021 -0400

    Fix gpg key download in release wizard. (#284)
    
    Old URL to check the apache id gpg key is no longer available.
---
 dev-tools/scripts/releaseWizard.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-tools/scripts/releaseWizard.py 
b/dev-tools/scripts/releaseWizard.py
index 8ec5a49..9d885fb 100755
--- a/dev-tools/scripts/releaseWizard.py
+++ b/dev-tools/scripts/releaseWizard.py
@@ -1107,8 +1107,9 @@ def configure_pgp(gpg_todo):
     id = str(input("Please enter your Apache id: (ENTER=skip) "))
     if id.strip() == '':
         return False
-    all_keys = load('https://home.apache.org/keys/group/lucene.asc')
-    lines = all_keys.splitlines()
+    key_url = "https://home.apache.org/keys/committer/%s.asc"; % id.strip()
+    committer_key = load(key_url)
+    lines = committer_key.splitlines()
     keyid_linenum = None
     for idx, line in enumerate(lines):
         if line == 'ASF ID: %s' % id:
@@ -1118,7 +1119,7 @@ def configure_pgp(gpg_todo):
         keyid_line = lines[keyid_linenum]
         assert keyid_line.startswith('LDAP PGP key: ')
         gpg_id = keyid_line[14:].replace(" ", "")[-8:]
-        print("Found gpg key id %s on file at Apache 
(https://home.apache.org/keys/group/lucene.asc)" % gpg_id)
+        print("Found gpg key id %s on file at Apache (%s)" % (gpg_id, key_url))
     else:
         print(textwrap.dedent("""\
             Could not find your GPG key from Apache servers.

Reply via email to