8000 ctr: move more commands by jessvalarezo · Pull Request #1693 · containerd/containerd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ctr: move more commands #1693

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

Merged
merged 4 commits into from
Oct 31, 2017

Conversation

jessvalarezo
Copy link
Contributor
@jessvalarezo jessvalarezo commented Oct 27, 2017
  • move fetch, fetch-object, push-object, to content command
  • move push and pull to images command
  • move unpack to snapshot command
  • remove apply command

@jessvalarezo jessvalarezo force-pushed the ctr-refactor-fourth-pass branch from 1b0e51e to 928d177 Compare October 27, 2017 21:42
@codecov-io
Copy link
codecov-io commented Oct 27, 2017

Codecov Report

Merging #1693 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1693   +/-   ##
=======================================
  Coverage   49.03%   49.03%           
=======================================
  Files          27       27           
  Lines        4087     4087           
=======================================
  Hits         2004     2004           
  Misses       1664     1664           
  Partials      419      419

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 e2f9fbf...7a1d709. Read the comment docs.

@crosbymichael
Copy link
Member

LGTM

listCommand,
pullCommand,
pushCommand,
pushObjectCommand,
Copy link
Member

Choose a reason for hiding this comment

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

This should probably go next to fetch-object. The object shouldn't need to be part of an image.

Copy link
Member

Choose a reason for hiding this comment

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

good catch, i missed that one

@jessvalarezo jessvalarezo force-pushed the ctr-refactor-fourth-pass branch from 928d177 to c2f75bc Compare October 30, 2017 20:19
Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
@jessvalarezo jessvalarezo force-pushed the ctr-refactor-fourth-pass branch from c2f75bc to 6373272 Compare October 30, 2017 20:23
@dmcgowan
Copy link
Member

LGTM

},
}

applyCommand = cli.Command{
Copy link
Member

Choose a reason for hiding this comment

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

@dmcgowan Should we make a subcommand for layer utilities? This is kind of content related, but not directly.

Copy link
Member

Choose a reason for hiding this comment

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

reading back over what it does, not really content related. We should probably just remove it completely actually, doesn't seem like something we should have in ctr. For ctr we might want a command which could apply a digest, a layer or diff subcommand could hold such utilities. We can merge this move and probably just remove it or change it later.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My vote is to remove it

Copy link
Member

Choose a reason for hiding this comment

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

@jessvalarezo perfect, it will not be missed

Copy link
Member

Choose a reason for hiding this comment

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

Don't remove apply... :(

* in its current state, apply command should not be in ctr

Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
@jessvalarezo jessvalarezo force-pushed the ctr-refactor-fourth-pass branch from 6373272 to 7a1d709 Compare October 30, 2017 21:48
Copy link
Member
@estesp estesp left a comment

Choose a reason for hiding this comment

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

LGTM

@estesp estesp merged commit 8bbf8d8 into containerd:master Oct 31, 2017
@jessvalarezo jessvalarezo deleted the ctr-refactor-fourth-pass branch November 7, 2017 22:15
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.

6 participants
0