Skip to content

Move top level packages into pkg or specific sub pkgs#2351

Merged
estesp merged 6 commits intocontainerd:masterfrom
crosbymichael:pkg
May 24, 2018
Merged

Move top level packages into pkg or specific sub pkgs#2351
estesp merged 6 commits intocontainerd:masterfrom
crosbymichael:pkg

Conversation

@crosbymichael
Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Michael Crosby <[email protected]>
Signed-off-by: Michael Crosby <[email protected]>
Signed-off-by: Michael Crosby <[email protected]>
Signed-off-by: Michael Crosby <[email protected]>
Signed-off-by: Michael Crosby <[email protected]>
Signed-off-by: Michael Crosby <[email protected]>
Comment thread archive/issues_test.go

"github.com/containerd/containerd/archive/compression"
"github.com/containerd/containerd/testutil"
"github.com/containerd/containerd/pkg/testutil"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

if this is just for testing, have you considered putting it in internal?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think most of the packages under pkg could be considered internal, but not sure that package naming is worth using.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeah, I know we moved some packages to internal in the Moby to more clearly indicate we don't provide any compatibility guarantee (pkg feels more as "here, you can use this in your own project")

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

we document what is supported and what is not. things we expect ppl to depend on a broken out into separate repos. I don't think its worth it at this point

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍 SGTM

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #2351 into master will decrease coverage by 4.29%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #2351     +/-   ##
=========================================
- Coverage   49.29%   44.99%   -4.3%     
=========================================
  Files          84       92      +8     
  Lines        7421     9336   +1915     
=========================================
+ Hits         3658     4201    +543     
- Misses       3088     4457   +1369     
- Partials      675      678      +3
Flag Coverage Δ
#linux 49.29% <ø> (ø) ⬆️
#windows 41.25% <ø> (?)
Impacted Files Coverage Δ
services/server/server.go 2.27% <ø> (ø)
services/server/server_linux.go 0% <ø> (ø)
services/server/server_windows.go 0% <ø> (ø)
services/server/config.go 0% <ø> (ø)
oci/spec.go 40% <0%> (-10%) ⬇️
snapshots/native/native.go 43.89% <0%> (-10%) ⬇️
metadata/snapshot.go 45.8% <0%> (-8.96%) ⬇️
archive/compression/compression.go 43.93% <0%> (-8.9%) ⬇️
remotes/docker/fetcher.go 41.42% <0%> (-7.6%) ⬇️
content/local/writer.go 52.63% <0%> (-7.37%) ⬇️
... and 57 more

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 d1435e6...8e97da0. Read the comment docs.

Copy link
Copy Markdown
Member

@dmcgowan dmcgowan left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
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

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