-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
rename snapshot->snapshots packages, add aliases #1797
Conversation
3b05700
to
835546e
Compare
Codecov Report
@@ Coverage Diff @@
## master #1797 +/- ##
==========================================
+ Coverage 44.25% 49.17% +4.92%
==========================================
Files 67 86 +19
Lines 7104 8518 +1414
==========================================
+ Hits 3144 4189 +1045
- Misses 3467 3659 +192
- Partials 493 670 +177
Continue to review full report at Codecov.
|
metadata/gc.go
Outdated
@@ -26,7 +26,7 @@ const ( | |||
|
|||
var ( | |||
labelGCRoot = []byte("containerd.io/gc.root") | |||
labelGCSnapRef = []byte("containerd.io/gc.ref.snapshot.") | |||
labelGCSnapRef = []byte("containerd.io/gc.ref.snapshots.") |
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 is a breaking change. Let's make sure this gets added to the release notes.
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.
Is this a good target for migration? Would be a nice way to test that functionality
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.
i can keep it as snapshot
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 stay as singular, since it is dealing with a singular thing.
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.
I agree with Stephen, only 1 snapshot is referenced
LGTM |
Can we consider pluralizing archive, content, design, dialer, diff, mount, plugin, reaper, reference, runtime, and server as well ? (or singularizing everything) |
Most package names (including the stdlib) are singular. I think it would be confusing to make them all plural. |
I am looking to make the |
@dnephin @AkihiroSuda Some things are plural, some things are singular, such is the way of the universe. Snapshotters, defined in the @jessvalarezo Please rebase so we can merge this. |
835546e
to
9984978
Compare
Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
9984978
to
c749a4d
Compare
Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
c749a4d
to
1dd6f33
Compare
LGTM |
1 similar comment
LGTM |
moves
snapshot
to plural. an effort to keep packages consistent.rename
snapshot
->snapshots
rename
api/services/snapshot/v1
->api/services/snapshots/v1
rename
services/snapshot
->services/snapshots
add aliases to
ctr
commands singular and plural can be usedaddresses #1753