-
Notifications
You must be signed in to change notification settings - Fork 574
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
snappy: rename "migration-skill" to "old-security" and use new interface names instead of skills #518
Conversation
@sergiusens breakage is coming. |
Most of the security aspects of the system will be done via skills and | ||
skill slots. However for compatibility with the 15.04 snappy | ||
architecture there is a special skill type called `migration-skill` | ||
Most of the security aspects of the system will be done via interfaces and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replace the first and with a comma.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, nice catch!
Does this really have more prio than getting the kernel snaps in place? |
+1 |
if len(app.UsesRef) != 1 { | ||
return nil, fmt.Errorf("only a single skill is supported, %d found", len(app.UsesRef)) | ||
if len(app.SlotsRef) != 1 { | ||
return nil, fmt.Errorf("only a single skill is supported, %d found", len(app.SlotsRef)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/skill/slot/
LGTM, just a few more occurrences to replace. @sergiusens This is really not the place (or the tone) for that kind of conversation. |
@niemeyer thanks for this excellent review and sorry for overlooking these. I did a |
retest this please |
snappy: rename "migration-skill" to "old-security" and use new interface names instead of skills
This branch follows thenew
interfaces
approach and renames the following items:It is pretty mechanical. Note that the integration tests will start failing. I will prepare new versions of all our examples so ideally we only merge once the new examples are uploaded.