Activity log for bug #1466124

Date Who What changed Old value New value Message
2015-06-17 15:11:35 Michael Vogt bug added bug
2015-06-17 15:48:47 Barry Warsaw summary Please provide a way to get the progress in used from a plugin Expose --progress settings in the global config
2015-06-17 15:50:32 Barry Warsaw description For snappy we use a plugin to apply the upgrade. I.e. we set: """ [hooks] apply: ubuntucoreupgrader.apply.ApplyUpgrade """ We also send progress data in the form of spinner json progress data. In our system-image-snappy-cli fork we set what progress into the config and query it later from the plugin to know if it should send progress reporting or not. It would be nice if s-i 3.0 could do the same. I hope this bugreport is not too confused, if it is, please let me know. It might be as simple as in main.py: """ config.progress += meter """ 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.
2015-06-17 15:52:57 Barry Warsaw tags client
2015-06-17 15:53:19 Barry Warsaw bug task added ubuntu-system-image
2015-06-17 15:53:26 Barry Warsaw bug task deleted system-image (Ubuntu)
2015-06-17 15:53:32 Barry Warsaw ubuntu-system-image: milestone 3.1
2015-06-17 15:53:35 Barry Warsaw ubuntu-system-image: importance Undecided Wishlist
2015-06-17 15:53:39 Barry Warsaw ubuntu-system-image: status New Triaged
2016-03-02 19:24:45 Barry Warsaw ubuntu-system-image: milestone 3.1 3.2