diff --git a/osc-staging.py b/osc-staging.py index 1c7f8ee9..b66a40cd 100644 --- a/osc-staging.py +++ b/osc-staging.py @@ -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 diff --git a/osclib/accept_command.py b/osclib/accept_command.py index a114c728..f935c872 100644 --- a/osclib/accept_command.py +++ b/osclib/accept_command.py @@ -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