Merge lp:~jamesodhunt/snappy/list-show-reboot-message into lp:~snappy-dev/snappy/snappy-moved-to-github
Proposed by
James Hunt
Status: | Rejected |
---|---|
Rejected by: | James Hunt |
Proposed branch: | lp:~jamesodhunt/snappy/list-show-reboot-message |
Merge into: | lp:~snappy-dev/snappy/snappy-moved-to-github |
Diff against target: |
41 lines (+25/-0) 1 file modified
cmd/snappy-go/cmd_list.go (+25/-0) |
To merge this branch: | bzr merge lp:~jamesodhunt/snappy/list-show-reboot-message |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Hunt (community) | Disapprove | ||
Michael Vogt (community) | Needs Fixing | ||
Review via email: mp+249107@code.launchpad.net |
Description of the change
* cmd/snappy-
message when appropriate.
* partition/
* partition/
not GetRootFSName() to allow test to succeed.
To post a comment you must log in.
Unmerged revisions
- 157. By James Hunt
-
* cmd/snappy-
go/cmd_ list.go: showInstalled(): Add required reboot
message when appropriate.
Thanks for this branch.
Some question:
The reboot message is only shown in showInstalledLi st(). Is this intended, i.e. showInstalledList() will not show it? If that is not intended, its probably better to move the code into a "generateReboot Info" (or something similar) and then two list functions can do something "if generateRebootI nfo() { fmt.Println( generateRebootI nfo); }". It might be worthwhile to talk to Sergio if thats something useful for webdm and should be moved into the generic code, but thats for later (not this MP :)
The code is specific for the "core" part. Would it make sense to just remove that check? AFAICT there is no reason to have it other than that we know that its just core that will set this. The new CLI spec unfortunately also does not specify what kind of information should be displayed on a reboot, probably good to clarify that too.
And a needs-fixing:
The partition/* changes are unrelated to the title of this MP and its not clear to me why they are here. I would prefer it in a separate MP with a (short) explanation of what its doing.