-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
ctr: move more commands #1693
Conversation
1b0e51e
to
928d177
Compare
Codecov Report
@@ 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.
|
LGTM |
cmd/ctr/commands/images/images.go
Outdated
listCommand, | ||
pullCommand, | ||
pushCommand, | ||
pushObjectCommand, |
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.
This should probably go next to fetch-object
. The object shouldn't need to be part of an image.
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.
good catch, i missed that one
928d177
to
c2f75bc
Compare
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>
c2f75bc
to
6373272
Compare
LGTM |
cmd/ctr/commands/content/content.go
Outdated
}, | ||
} | ||
|
||
applyCommand = cli.Command{ |
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.
@dmcgowan Should we make a subcommand for layer utilities? This is kind of content related, but not directly.
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.
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.
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.
My vote is to remove it
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.
@jessvalarezo perfect, it will not be missed
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.
Don't remove apply... :(
* in its current state, apply command should not be in ctr Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
6373272
to
7a1d709
Compare
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.
LGTM
fetch
,fetch-object
,push-object
, tocontent
commandpush
andpull
toimages
commandunpack
tosnapshot
commandapply
command