mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-02 17:56:15 +01:00
- add signkey --sslcert option to fetch the optional create ssl certificate instead of gpg key
This commit is contained in:
parent
b2b2d54312
commit
edda98eaff
1
NEWS
1
NEWS
@ -2,6 +2,7 @@
|
|||||||
- support for kiwi appliance builds using obsrepositories:/ directive
|
- support for kiwi appliance builds using obsrepositories:/ directive
|
||||||
- support for manual release of sources and binaries
|
- support for manual release of sources and binaries
|
||||||
- add --last parameter for build logs to show last finished log file, if currently building
|
- add --last parameter for build logs to show last finished log file, if currently building
|
||||||
|
- add signkey --sslcert option to fetch the optional create ssl certificate instead of gpg key
|
||||||
|
|
||||||
0.140
|
0.140
|
||||||
- support python 2.7 and python 3 in parallel now
|
- support python 2.7 and python 3 in parallel now
|
||||||
|
@ -7622,6 +7622,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
help='delete the gpg signing key in this project')
|
help='delete the gpg signing key in this project')
|
||||||
@cmdln.option('--notraverse', action='store_true', default=False,
|
@cmdln.option('--notraverse', action='store_true', default=False,
|
||||||
help='don\' traverse projects upwards to find key')
|
help='don\' traverse projects upwards to find key')
|
||||||
|
@cmdln.option('--sslcert', action='store_true', default=False,
|
||||||
|
help='fetch SSL certificate instead of GPG key')
|
||||||
def do_signkey(self, subcmd, opts, *args):
|
def do_signkey(self, subcmd, opts, *args):
|
||||||
"""${cmd_name}: Manage Project Signing Key
|
"""${cmd_name}: Manage Project Signing Key
|
||||||
|
|
||||||
@ -7672,6 +7674,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
url = makeurl(apiurl, ['source', prj, '_pubkey'])
|
url = makeurl(apiurl, ['source', prj, '_pubkey'])
|
||||||
|
if opts.sslcert:
|
||||||
|
url = makeurl(apiurl, ['source', prj, '_project', '_sslcert'])
|
||||||
f = http_GET(url)
|
f = http_GET(url)
|
||||||
break
|
break
|
||||||
except HTTPError as e:
|
except HTTPError as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user