Skip to content

Add core and internal root packages to contributing - #9445

Merged
fuweid merged 1 commit into
containerd:mainfrom
dmcgowan:update-contributing-root-packages
Dec 4, 2023
Merged

fuweid merged 1 commit into
containerd:mainfrom
dmcgowan:update-contributing-root-packages

Conversation

@dmcgowan

@dmcgowan dmcgowan commented Nov 30, 2023 •

Copy link
Copy Markdown
Member

For further discussion on 2.0 package layout

Example core packages would be:

  • content
  • containers
  • diff
  • images
  • leases
  • remotes
  • runtime
  • sandbox
  • snapshots
  • pkg/streaming
  • pkg/transfer
  • pkg/unpack

Internal package candidates would be (will be checked against pkg.go.dev reported importers):

  • pkg/cleanup
  • pkg/failpoint
  • pkg/hasher
  • pkg/kmutex
  • pkg/randutil
  • pkg/registrar
  • pkg/testutil
  • pkg/tomlext
  • pkg/truncindex

Related to #9365

@fuweid fuweid left a comment

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.

LGTM

If here is good candidate category name for a set of packages in pkg, containerd should move the packages out of pkg. Before that, I like pkg personally, because I don't get lost in a lot of packages in root path.

@samuelkarp samuelkarp left a comment

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.

LGTM

Comment thread CONTRIBUTING.md Resolved
Signed-off-by: Derek McGowan <derek@mcg.dev>
@dmcgowan
dmcgowan force-pushed the update-contributing-root-packages branch from 4fc2d96 to 96aaf5a Compare December 1, 2023 19:34
@fuweid
fuweid enabled auto-merge December 2, 2023 01:45
@fuweid
fuweid added this pull request to the merge queue Dec 4, 2023
Merged via the queue into containerd:main with commit 87bf39a Dec 4, 2023
@dmcgowan
dmcgowan deleted the update-contributing-root-packages branch April 20, 2024 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants