Open
Description
In an effort of splitting Moby and Docker, we are reorganizing the repo to avoid confusion (see #32871)
We decided to not move some of the packages at first, so we won't break projects depending on those.
Item 1 - Move pkg
s with single consumers to a subpackage of that consumer
(see https://gist.github.com/dnephin/35dc10f6b6b7017f058a71908b301d38)
- github.com/docker/docker/pkg/aaparser remove pkg/aaparser, and inline remaining functionality in profiles/apparmor #47005
- github.com/docker/docker/pkg/broadcaster remove pkg/broadcaster and make it internal to container/streams #49172
- github.com/docker/docker/pkg/devicemapper Remove deprecated devicemapper storage driver #43637
- github.com/docker/docker/pkg/directory pkg/directory: deprecate, and move to internal #48108
- github.com/docker/docker/pkg/directory remove deprecated pkg/longpath.Prefix, pkg/directory #48779
- github.com/docker/docker/pkg/filenotify LogFile follow without filenotify #43294
- github.com/docker/docker/pkg/gitutils (@dnephin Split and remove pkg/gitutils and pkg/httputils #33477)
- github.com/docker/docker/pkg/jsonlog
- move or duplicate RFC3339NanoFixed first Move pkg/jsonlog to be a subpackage of the single consumer #34946
- Move pkg/jsonlog to be a subpackage of the single consumer #34946
- github.com/docker/docker/pkg/listenershttps://github.com/Move pkg/listeners away #34442
- github.com/docker/docker/pkg/loopback deprecate pkg/loopback (utility package for devicemapper) #46506
- github.com/docker/docker/pkg/namesgenerator
- github.com/docker/docker/pkg/parsers
- github.com/docker/docker/pkg/pidfile
- github.com/docker/docker/pkg/platform deprecate pkg/platform and move internal #48862
- github.com/docker/docker/pkg/platforms pkg/platforms: internalize in daemon/containerd #47141
- github.com/docker/docker/pkg/pubsub migrate pkg/pubsub to github.com/moby/pubsub #44221
- github.com/docker/docker/pkg/registrar Store container names in memdb #33886
- github.com/docker/docker/pkg/tailfile
- github.com/docker/docker/pkg/tlsconfig Move pkg/listeners away #34442
- github.com/docker/docker/pkg/truncindex Use hashicorp/go-memdb instead of truncindex #43624
- github.com/docker/docker/pkg/dmesg pkg/dmesg: deprecate, and use internal utility instead #47999
- github.com/docker/docker/pkg/containerfs pkg/containerfs: move to internal #48097
- github.com/docker/docker/pkg/capabilties pkg/capabilities move to daemon/internal #48101
- pkg/rootless/specconv: move to internal #48110
Item 2 - Split packages with poor cohesion
- github.com/docker/docker/pkg/stringutils (@charrywanganthony Split and remove pkg/stringutils #35473)
- github.com/docker/docker/pkg/httputils (@dnephin Split and remove pkg/gitutils and pkg/httputils #33477)
- github.com/docker/docker/pkg/idtools
- github.com/docker/docker/pkg/ioutils
- move multireader out of /pkg #33479
- pkg/ioutils: remove OnEOFReader and move it internal #49170
- pkg/ioutils: move atomic file-writers to a separate (pkg/atomicwriter) package #49171
- pkg/ioutils: deprecate unused types and functions #49244
- pkg/ioutils: remove or internalize deprecated types and functions #49245
- pkg/ioutils: deprecate NopWriter, NopWriteCloser #49254
- pkg/ioutils: remove deprecated NopWriter, NopWriteCloser #49256
- github.com/docker/docker/pkg/term Deprecate pkg/term and make it an alias for github.com/moby/term #40825
Item 3 - Reduce scope of packages and reduce inter-package dependency
- pkg/stringid: deprecate ValidateID, IsShortID #47995
- pkg/archive, pkg/chrootarchive: remove dependency on pkg/longpath #47997
- daemon/graphdriver: split, internalize packages to separate snapshotters and graphdrivers #48092
- pkg/system: deprecate MkdirAll and remove custom volume GUID handling #49162
Item 4 - Move packages to separate modules
- github.com/docker/docker/image/spec
- github.com/docker/docker/pkg/locker
- github.com/docker/docker/pkg/pubsub
- github.com/docker/docker/pkg/signal
- github.com/docker/docker/pkg/symlink
- sequential utilities from github.com/docker/docker/pkg/system
- github.com/docker/docker/pkg/reexec
Metadata
Assignees
Type
Projects
Status
In Progress