** Description changed: + == SRU Justification == + + === Impact === + Charms written in shell, which is the bulk of charms, cannot make use of the output of this command. Also charms written using the documentation as a guide will not work because the docs say it works this way. + + === Test Case === + 1. juju bootstrap + 2. juju deploy --repository /usr/share/docs/juju/examples local:mysql + 3. juju deploy --repository /usr/share/docs/juju/examples local:wordpress + 4. juju debug-hooks wordpress/0 db + 5. juju add-relation mysql wordpress + 6. When the db-relation-joined hook window opens up run 'relation-ids'. Affected versions will print out json, while fixed versions will print out a list, something like "db:0\n" + + === Dev fix === + + Fixed in upstream commit 532 + + === Regression Potential === + + Medium. Charms may have already been written that are using the broken + behavior. They will have to add --format=json but other than that will + work fine. This is mitigated by the fact that the official PPA version + is already fixed, and many users, including the charm store automated + testing suite use that version. + + == Original Bug Description == + Adds format_smart method for RelationIdsCli, which outputs whitespace separated (to be precise, per line) relation idents.
** Changed in: juju (Ubuntu) Status: New => Fix Released ** Changed in: juju (Ubuntu Precise) Status: New => Triaged ** Changed in: juju (Ubuntu) Importance: Undecided => High ** Changed in: juju (Ubuntu Precise) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju in Ubuntu. https://bugs.launchpad.net/bugs/988065 Title: Support smart formatting for relation-ids command To manage notifications about this bug go to: https://bugs.launchpad.net/juju/+bug/988065/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs