cmd/hotfix: add hotfix tool #3410

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants
Contributor

zyga commented May 30, 2017

The hotfix tool is intended to help people that are tracking edge and
get into funny state that is hard to recover manually (e.g. by
refreshing to another core revision) but can still be fixed
automatically.

Along with the simple tool we also add the first hotfix, the one that is
affecting people on the core revision 1968, where core refresh fails
with "snap-update-ns" errors.

Signed-off-by: Zygmunt Krynicki zygmunt.krynicki@canonical.com

cmd/hotfix: add hotfix tool
The hotfix tool is intended to help people that are tracking edge and
get into funny state that is hard to recover manually (e.g. by
refreshing to another core revision) but can still be fixed
automatically.

Along with the simple tool we also add the first hotfix, the one that is
affecting people on the core revision 1968, where core refresh fails
with "snap-update-ns" errors.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

Codecov Report

Merging #3410 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3410      +/-   ##
==========================================
+ Coverage   77.52%   77.54%   +0.01%     
==========================================
  Files         369      369              
  Lines       25475    25475              
==========================================
+ Hits        19750    19755       +5     
+ Misses       3974     3970       -4     
+ Partials     1751     1750       -1
Impacted Files Coverage Δ
overlord/snapstate/snapstate.go 81.89% <0%> (+0.24%) ⬆️
overlord/ifacestate/helpers.go 66.38% <0%> (+0.84%) ⬆️
interfaces/sorting.go 96.66% <0%> (+3.33%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1e9a221...d102fd8. Read the comment docs.

Contributor

niemeyer commented Jun 13, 2017

This is exactly what the repair tool is supposed to handle. Let's please take care of it there.

@niemeyer niemeyer closed this Jun 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment