Expose --progress settings in the global config

Bug #1466124 reported by Michael Vogt on 2015-06-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu system image
Wishlist
Unassigned

Bug Description

For snappy we use a plugin to apply the upgrade. I.e. we set:
"""
[hooks]
apply: ubuntucoreupgrader.apply.ApplyUpgrade
"""

Because this plugin also wants to output progress as JSON data, it needs to know what --progress settings the user has chosen on the command line. This is currently not easily accessible.

The request is to make the --progress options available in the global config object, which would be easily accessible by the plugin.

Barry Warsaw (barry) on 2015-06-17
summary: - Please provide a way to get the progress in used from a plugin
+ Expose --progress settings in the global config
description: updated
tags: added: client
no longer affects: system-image (Ubuntu)
Changed in ubuntu-system-image:
milestone: none → 3.1
importance: Undecided → Wishlist
status: New → Triaged
Barry Warsaw (barry) on 2016-03-02
Changed in ubuntu-system-image:
milestone: 3.1 → 3.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers