Public bug reported: [Impact]
* Every time we need to test something, either for an SRU or CI or QA or etc., we need to tell the user to edit the configuration file. The json parser we use is rather pedantic and the client will fail to start if the file is non-conforming, so there's a lot of space to break things. [Test Case] * In the test case in e.g. https://bugs.launchpad.net/ubuntu- push/+bug/1309432 there's a rather handwavy step “edit /etc/xdg/[...] (or copy it to ~phablet/.config/[...] and edit it there”. * /usr/lib/ubuntu-push-client/ubuntu-push-client takes no commandline arguments After this fix, “/usr/lib/ubuntu-push-client/ubuntu-push-client -help” will be somewhat useful, and we can tell people to say e.g. “-addr 192.168.1.1:9090” without risking messing up their configuration. [Regression Potential] If for whatever reason (corruption, a bad edit, etc) there is "rubbish" after the upstart script that starts the push client, after the fix, it will fail instead. ** Affects: ubuntu-push Importance: Undecided Assignee: Samuele Pedroni (pedronis) Status: Fix Committed ** Affects: ubuntu-push (Ubuntu) Importance: Undecided Assignee: John Lenton (chipaca) Status: New ** Also affects: ubuntu-push Importance: Undecided Status: New ** Changed in: ubuntu-push Assignee: (unassigned) => John Lenton (chipaca) ** Changed in: ubuntu-push (Ubuntu) Assignee: (unassigned) => John Lenton (chipaca) ** Changed in: ubuntu-push Status: New => Fix Committed ** Changed in: ubuntu-push Assignee: John Lenton (chipaca) => Samuele Pedroni (pedronis) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1311600 Title: Ubuntu Push client takes no commandline arguments To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-push/+bug/1311600/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs