Activity log for bug #1566271

Date Who What changed Old value New value Message
2016-04-05 11:30:59 Roger Peppe bug added bug
2016-04-05 11:31:11 Roger Peppe description Much of the logic for finding out the current model and controller lives in ModelCommandBase.SetModelName and related methods. When implementing a command that is not a ModelCommand (for whatever reason - perhaps it's a regular Go command that isn't using the juju/cmd package), connecting to the API of the current model involves a lot of copy and paste of the code in ModelCommandBase and friends. There should be an high level package API that makes it trivial to connect to the Juju API. Much of the logic for finding out the current model and controller lives in ModelCommandBase.SetModelName and related methods. When implementing a command that is not a ModelCommand (for whatever reason - perhaps it's a regular Go command that isn't using the juju/cmd package), connecting to the API of the current model involves a lot of copy and paste of the code in ModelCommandBase and friends. There should be a high level package API that makes it trivial to connect to the Juju API.
2016-04-05 11:31:32 Roger Peppe description Much of the logic for finding out the current model and controller lives in ModelCommandBase.SetModelName and related methods. When implementing a command that is not a ModelCommand (for whatever reason - perhaps it's a regular Go command that isn't using the juju/cmd package), connecting to the API of the current model involves a lot of copy and paste of the code in ModelCommandBase and friends. There should be a high level package API that makes it trivial to connect to the Juju API. Much of the logic for finding out the current model and controller lives in ModelCommandBase.SetModelName and related methods. When implementing a command that is not a ModelCommand (for whatever reason - perhaps it's a regular Go command that isn't using the juju/cmd package), connecting to the API of the current model involves a lot of copy and paste of the code in ModelCommandBase and friends. There should be a high level package API that makes it trivial to connect to the Juju network API.
2016-04-08 03:01:57 Cheryl Jennings juju-core: status New Triaged
2016-04-08 03:02:05 Cheryl Jennings juju-core: importance Undecided Medium
2016-08-23 04:54:21 Canonical Juju QA Bot affects juju-core juju
2020-01-16 04:59:07 Anastasia juju: status Triaged Fix Released
2021-09-23 09:25:14 Simon Richardson juju: status Fix Released Triaged
2022-11-03 15:29:24 Canonical Juju QA Bot juju: importance Medium Low
2022-11-03 15:29:26 Canonical Juju QA Bot tags expirebugs-bot