[yocto] [auh][PATCH 09/21] upgradehelper.py: drop automatic mode
Alexander Kanavin
alexander.kanavin at linux.intel.com
Thu Dec 21 08:27:17 PST 2017
No longer used since migration to devtool: all upgrades are automatic
Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
---
README | 6 ++----
upgradehelper.py | 6 +-----
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/README b/README
index 60dbef9..00a390a 100644
--- a/README
+++ b/README
@@ -134,12 +134,10 @@ Usage
Some manual usage examples:
-* To upgrade the xmodmap recipe to the latest available version,
- interactively:
+* To upgrade the xmodmap recipe to the latest available version:
$ upgrade-helper.py xmodmap
-* To upgrade the xmodmap recipe to a user specified version,
- interactively:
+* To upgrade the xmodmap recipe to a user specified version:
$ upgrade-helper.py xmodmap -t 1.2.3
* To attempt to upgrade all recipes and automatically send email
diff --git a/upgradehelper.py b/upgradehelper.py
index 711d3b3..d5a7112 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -60,7 +60,7 @@ from steps import upgrade_steps
from testimage import TestImage
help_text = """Usage examples:
-* To upgrade xmodmap recipe to the latest available version, interactively:
+* To upgrade xmodmap recipe to the latest available version:
$ upgrade-helper.py xmodmap
* To attempt to upgrade all recipes and automatically send email messages
@@ -82,9 +82,6 @@ def parse_cmdline():
parser.add_argument("-m", "--maintainer",
help="maintainer of the recipe")
- parser.add_argument("-a", "--auto-mode", action="store_true", default=False,
- help="disable interactive mode")
-
parser.add_argument("-d", "--debug-level", type=int, default=4, choices=range(1, 6),
help="set the debug level: CRITICAL=1, ERROR=2, WARNING=3, INFO=4, DEBUG=5")
parser.add_argument("-e", "--send-emails", action="store_true", default=False,
@@ -178,7 +175,6 @@ class Updater(object):
self.opts['machines'] = settings.get('machines',
'qemux86 qemux86-64 qemuarm qemumips qemuppc').split()
- self.opts['interactive'] = not self.args.auto_mode
self.opts['send_email'] = self.args.send_emails
self.opts['author'] = "Upgrade Helper <%s>" % \
settings.get('from', 'uh at not.set')
--
2.15.1
More information about the yocto
mailing list