osclib/accept: print todo from staging config after completion.
This commit is contained in:
parent
753f6c7a6a
commit
843cc016e0
@ -192,6 +192,7 @@ def do_staging(self, subcmd, opts, *args):
|
||||
The keys that may be set in staging configuration are:
|
||||
|
||||
- repo_checker-binary-whitelist[-arch]: appended to target project list
|
||||
- todo: text to be printed after staging is accepted
|
||||
|
||||
"cleanup_rings" will try to cleanup rings content and print
|
||||
out problems
|
||||
|
@ -6,6 +6,7 @@ from xml.etree import cElementTree as ET
|
||||
from osc.core import change_request_state, show_package_meta, wipebinaries
|
||||
from osc.core import http_GET, http_PUT, http_DELETE, http_POST
|
||||
from osc.core import delete_package, search, set_devel_project
|
||||
from osclib.config_command import ConfigCommand
|
||||
from datetime import date
|
||||
|
||||
|
||||
@ -144,6 +145,7 @@ class AcceptCommand(object):
|
||||
|
||||
self.api.accept_status_comment(project, packages)
|
||||
self.api.staging_deactivate(project)
|
||||
ConfigCommand(self.api).perform([project], 'todo')
|
||||
|
||||
return True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user