Expose --progress settings in the global config

Bug #1466124 reported by Michael Vogt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu system image
Triaged
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.

Tags: client
Barry Warsaw (barry)
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)
Changed in ubuntu-system-image:
milestone: 3.1 → 3.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.