From 58def4a3527e5fd848b71ab7185327a3d2053961 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Mon, 1 Feb 2016 16:35:36 +0100 Subject: [PATCH 1/2] display options in help output --- osc-staging.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osc-staging.py b/osc-staging.py index 0d0118a9..647a9b11 100644 --- a/osc-staging.py +++ b/osc-staging.py @@ -85,6 +85,8 @@ def _full_project_name(self, project): def do_staging(self, subcmd, opts, *args): """${cmd_name}: Commands to work with staging projects + ${cmd_option_list} + "accept" will accept all requests in openSUSE:Factory:Staging: (into Factory) From 322a41b46566fb62e0011dc1dfb3f23dbb146256 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Mon, 1 Feb 2016 16:35:59 +0100 Subject: [PATCH 2/2] add locking options for SLE --- osclib/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osclib/conf.py b/osclib/conf.py index 2b00f23e..92191f31 100644 --- a/osclib/conf.py +++ b/osclib/conf.py @@ -51,8 +51,8 @@ DEFAULT = { 'rebuild': None, 'product': None, 'openqa': None, - 'lock': None, - 'lock-ns': 'OBS', + 'lock': 'SUSE:%(project)s:Staging', + 'lock-ns': 'SUSE', }, }