1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 09:56:13 +01:00

don't try to delete projects, as long it is not implemented in the backend

This commit is contained in:
Dr. Peter Poeml 2007-05-08 08:59:10 +00:00
parent 4e39519efb
commit a21f5c1891

View File

@ -304,6 +304,9 @@ class Osc(cmdln.Cmdln):
As a safety measure, project must be empty (i.e., you first need to delete all
packages first).
NOTE: This command is not implemented yet. Please mail
admin@opensuse.org in order to get projects deleted.
${cmd_usage}
${cmd_option_list}
"""
@ -311,7 +314,11 @@ class Osc(cmdln.Cmdln):
if meta_get_packagelist(conf.config['apiurl'], project) != []:
print >>sys.stderr, 'Project contains packages. It must be empty before deleting it.'
return 1
delete_project(conf.config['apiurl'], project)
#delete_project(conf.config['apiurl'], project)
print >>sys.stderr, 'Deleting projects is not yet implemented.'
print >>sys.stderr, 'Please send a request to opensuse-buildservice@opensuse.org'
print >>sys.stderr, 'or admin@opensuse.org.'
def do_updatepacmetafromspec(self, subcmd, opts, *args):