Skip to content
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

Merged
merged 9 commits into from
Mar 1, 2016

Conversation

mvo5
Copy link
Contributor

@mvo5 mvo5 commented Feb 24, 2016

This branch follows thenew interfaces approach and renames the following items:

  • migration-skill -> old-security
  • uses -> slots
  • offers -> plugs

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.

@come-maiz
Copy link
Contributor

@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
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, nice catch!

@mvo5 mvo5 closed this Feb 24, 2016
@mvo5 mvo5 reopened this Feb 24, 2016
@sergiusens
Copy link
Contributor

Does this really have more prio than getting the kernel snaps in place?

@zyga
Copy link
Contributor

zyga commented Feb 25, 2016

+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))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/skill/slot/

@niemeyer
Copy link
Contributor

LGTM, just a few more occurrences to replace.

@sergiusens This is really not the place (or the tone) for that kind of conversation.

@mvo5
Copy link
Contributor Author

mvo5 commented Feb 29, 2016

@niemeyer thanks for this excellent review and sorry for overlooking these. I did a git grep -i skill and it seems this branch has them all now (except for the overlord/ package but AIUI this is a separate branch).

@mvo5
Copy link
Contributor Author

mvo5 commented Mar 1, 2016

retest this please

mvo5 added a commit that referenced this pull request Mar 1, 2016
snappy: rename "migration-skill" to "old-security" and use new interface names instead of skills
@mvo5 mvo5 merged commit 6610f0d into canonical:master Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants