New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/snap: snap refresh --time with new and legacy schedules #4487
cmd/snap: snap refresh --time with new and legacy schedules #4487
Commits on Jan 12, 2018
-
cmd/snap: snap refresh --timer, hide --time
Add --timer command line switch to `snap refresh` command. The switch replaces --time (now hidden). Passing --time switch, the legacy format of the output is preserved. When using --timer instead, the output clearly indicates that what is returned is the new time schedule. Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for fb2477d - Browse repository at this point
Copy the full SHA fb2477dView commit details
Commits on Jan 22, 2018
-
cmd/snap: simplify --time[r] & channel/mode error handling
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for df3c49a - Browse repository at this point
Copy the full SHA df3c49aView commit details
Commits on Jan 24, 2018
-
Merge remote-tracking branch 'origin/master' into bboozzoo/cli-snap-r…
…efresh-timer-wip
Configuration menu - View commit details
-
Copy full SHA for a287fad - Browse repository at this point
Copy the full SHA a287fadView commit details -
overlord/snapstate: indicate whether the refresh schedule is in legac…
…y format Let the callers know whether the refresh schedule was defined using a legacy format. Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for c6640ab - Browse repository at this point
Copy the full SHA c6640abView commit details -
client: update RefreshInfo to carry both the new and the legacy sched…
…ules Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for e15d52e - Browse repository at this point
Copy the full SHA e15d52eView commit details -
daemon: use either timer or schedule in refresh info
Adjust refresh info returned in sysinfo endpoint depending on the use of the modern 'refresh.timer' or the legacy 'refresh.schedule' settings. When the new refresh.timer setting is used only the 'timer' field will be sent. Similarly, when the legacy setting is in effect, the 'timer' field will not be sent and 'schedule' will be send instead. Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for f639f2c - Browse repository at this point
Copy the full SHA f639f2cView commit details -
cmd/snap: drop --timer, adjust the prefix based on contents of refres…
…h info Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for cd5e439 - Browse repository at this point
Copy the full SHA cd5e439View commit details -
Merge remote-tracking branch 'origin/master' into bboozzoo/cli-snap-r…
…efresh-timer-wip
Configuration menu - View commit details
-
Copy full SHA for 4207b13 - Browse repository at this point
Copy the full SHA 4207b13View commit details -
cmd/snap: simplify timer/schedule check
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 37f9fdb - Browse repository at this point
Copy the full SHA 37f9fdbView commit details -
daemon: extend api tests to cover new and legacy schedules both set
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 48f33d5 - Browse repository at this point
Copy the full SHA 48f33d5View commit details
Commits on Jan 25, 2018
-
overlord/snapstate: 'managed' is set on a legacy refresh.schedule con…
…figuration setting Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 6944163 - Browse repository at this point
Copy the full SHA 6944163View commit details -
overlord/snapstate: use named return args in RefreshSchedule()
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for a80b9f2 - Browse repository at this point
Copy the full SHA a80b9f2View commit details -
client: reshuffle Timer and Schedule fields in RefreshInfo
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 79c5f26 - Browse repository at this point
Copy the full SHA 79c5f26View commit details -
cmd/snap: raise internal error in
refresh --time
if both timer and ……schedule are empty Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 174ddef - Browse repository at this point
Copy the full SHA 174ddefView commit details
Commits on Jan 26, 2018
-
Merge remote-tracking branch 'origin/master' into bboozzoo/cli-snap-r…
…efresh-timer-wip
Configuration menu - View commit details
-
Copy full SHA for 1013951 - Browse repository at this point
Copy the full SHA 1013951View commit details -
client: refine comments on RefreshInfo fields
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for b33c38a - Browse repository at this point
Copy the full SHA b33c38aView commit details -
cmd/snap: fine tune internal error messages
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for c1fc08c - Browse repository at this point
Copy the full SHA c1fc08cView commit details
Commits on Jan 29, 2018
-
overlord/snapstate: fix typo in the comments
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 8d6b922 - Browse repository at this point
Copy the full SHA 8d6b922View commit details