Merge lp://qastaging/~mvo/snappy/snappy-lp1488114-msg into lp://qastaging/~snappy-dev/snappy/snappy-moved-to-github
Status: | Needs review |
---|---|
Proposed branch: | lp://qastaging/~mvo/snappy/snappy-lp1488114-msg |
Merge into: | lp://qastaging/~snappy-dev/snappy/snappy-moved-to-github |
Diff against target: |
388 lines (+141/-21) 17 files modified
_integration-tests/reboot-wrapper (+11/-0) _integration-tests/tests/autopilot-msg_test.go (+56/-0) cmd/snappy/cmd_activate.go (+1/-1) cmd/snappy/cmd_booted.go (+1/-1) cmd/snappy/cmd_grub_migrate.go (+1/-1) cmd/snappy/cmd_hwassign.go (+1/-1) cmd/snappy/cmd_hwinfo.go (+1/-1) cmd/snappy/cmd_hwunassign.go (+1/-1) cmd/snappy/cmd_install.go (+1/-1) cmd/snappy/cmd_purge.go (+1/-1) cmd/snappy/cmd_remove.go (+1/-1) cmd/snappy/cmd_rollback.go (+1/-1) cmd/snappy/cmd_service.go (+6/-6) cmd/snappy/cmd_set.go (+1/-1) cmd/snappy/cmd_update.go (+1/-1) cmd/snappy/common.go (+48/-3) po/snappy.pot (+8/-0) |
To merge this branch: | bzr merge lp://qastaging/~mvo/snappy/snappy-lp1488114-msg |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leo Arias (community) | Approve | ||
Federico Gimenez | continuous-integration | Pending | |
Review via email:
|
Commit message
Improved the "another snappy is running" message.
Description of the change
This branch shows a more helpful error message if another snappy is running or if the autopilot is running.
Note that I could not verify the integration test :/ I ran:
$ go run _integration-
to test it but got:
... value string = "another snappy is running, try again later\n"
... regex string = "" +
... "(?ms).*^The snappy autopilot is updating your system.*\n" +
... ".*"
which indicates that the snappy from the image was used, not the one build from the branch.
Unmerged revisions
- 648. By Michael Vogt
-
update to compile with trunk
- 647. By Michael Vogt
-
merged lp:snappy
- 646. By Michael Vogt
-
merged lp:snappy and resolved conflicts
- 645. By Michael Vogt
-
_integration-
tests/tests/ autopilot- msg_test. go: add missing cleanup - 644. By Michael Vogt
-
rename withMutex-
>withMutexAndRe try (thanks Leo!) - 643. By Michael Vogt
-
merged lp:~elopio/snappy/sudo_path (many thanks)
- 642. By Michael Vogt
-
show autopilot specific message if its running and add integration test
- 641. By Michael Vogt
-
auto-retry if the lock is taken
This was the less ugly way I found to solve the sudo with snappy-from-branch: https:/ /code.launchpad .net/~elopio/ snappy/ sudo_path/ +merge/ 269252
Your branch looks great. Maybe I would rename withMutex to something like withMutexAndRetry. But as its private, not a big deal.