mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 09:56:13 +01:00
Make 'trust always' more verbose, so that a user learns how to undo its effect.
Removed a few tabs.
This commit is contained in:
parent
2ec85b7548
commit
382dd29e03
@ -335,6 +335,7 @@ def check_trusted_projects(apiurl, projects):
|
||||
print "Note that malicious packages can compromise the build result or even your system."
|
||||
r = raw_input(trustprompt % { 'project':prj })
|
||||
if r == '1':
|
||||
print "adding '%s' to ~/.oscrc: ['%s']['trusted_prj']" % (prj,apiurl)
|
||||
trusted.append(prj)
|
||||
elif r != '2':
|
||||
print "Well, good good bye then :-)"
|
||||
|
@ -1622,7 +1622,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
if cmd == 'approvenew':
|
||||
print "\n *** Approve them all ? [y/n] ***"
|
||||
if sys.stdin.read(1) == "y":
|
||||
|
||||
|
||||
if not opts.message:
|
||||
opts.message = edit_message()
|
||||
for result in results:
|
||||
@ -4311,15 +4311,15 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
otherwise all binary packages in the project will be deleted.
|
||||
|
||||
usage:
|
||||
osc wipebinaries OPTS # works in checked out project dir
|
||||
osc wipebinaries OPTS # works in checked out project dir
|
||||
osc wipebinaries OPTS PROJECT [PACKAGE]
|
||||
${cmd_option_list}
|
||||
"""
|
||||
|
||||
args = slash_split(args)
|
||||
|
||||
package = project = None
|
||||
apiurl = self.get_api_url()
|
||||
package = project = None
|
||||
apiurl = self.get_api_url()
|
||||
|
||||
# try to get project and package from checked out dirs
|
||||
if len(args) < 1:
|
||||
|
Loading…
Reference in New Issue
Block a user