Brian Goff 677d41aa3b Plumb context through info endpoint hai 1 ano
..
aaparser e3e715666f pkg/aaparser: deprecate GetVersion, as it's no longer used %!s(int64=2) %!d(string=hai) anos
archive 3cf409aa9e pkg/archive: migrate to (tar.Header).PAXRecords hai 1 ano
authorization cff4f20c44 migrate to github.com/containerd/log v0.1.0 hai 1 ano
broadcaster f23c00d870 Various code-cleanup %!s(int64=7) %!d(string=hai) anos
capabilities 1291bbfa50 pkg/capabilities: format code with gofumpt %!s(int64=2) %!d(string=hai) anos
chrootarchive 9e3ed7b429 pkg/chrootarchive: fix Darwin build hai 1 ano
containerfs 6c6e1fb13d pkg/containerfs: format code with gofumpt hai 1 ano
directory ab35df454d remove pre-go1.17 build-tags %!s(int64=2) %!d(string=hai) anos
dmesg 2841b05b71 Use Klogctl from x/sys/unix to read Linux kernel log %!s(int64=6) %!d(string=hai) anos
fileutils 677d41aa3b Plumb context through info endpoint hai 1 ano
homedir 3c1de2e667 pkg/homedir: deprecate Key() utility %!s(int64=2) %!d(string=hai) anos
idtools df3a321164 migrate to github.com/moby/sys/user hai 1 ano
ioutils 3cfc1ffb0a pkg/ioutils: some cleanups in tests %!s(int64=2) %!d(string=hai) anos
jsonmessage ec11aea880 pkg/jsonmessage: use string-literals for easier grep'ing %!s(int64=2) %!d(string=hai) anos
longpath c63ea32a17 pkg/ioutils: TempDir: move to pkg/longpath %!s(int64=2) %!d(string=hai) anos
loopback cff4f20c44 migrate to github.com/containerd/log v0.1.0 hai 1 ano
meminfo ab35df454d remove pre-go1.17 build-tags %!s(int64=2) %!d(string=hai) anos
namesgenerator 952e1e62c5 Sort entries in pkg/namesgenerator %!s(int64=2) %!d(string=hai) anos
parsers cff4f20c44 migrate to github.com/containerd/log v0.1.0 hai 1 ano
pidfile 7493debe26 pkg/pidfile: implement Read() %!s(int64=2) %!d(string=hai) anos
platform cff4f20c44 migrate to github.com/containerd/log v0.1.0 hai 1 ano
platforms 1616a09b61 add support for image inspect with containerd-integration %!s(int64=2) %!d(string=hai) anos
plugingetter 7c77df8acc Move plugin client to separate interface %!s(int64=7) %!d(string=hai) anos
plugins cff4f20c44 migrate to github.com/containerd/log v0.1.0 hai 1 ano
pools 9f0b3f5609 bump gotest.tools v3.0.1 for compatibility with Go 1.14 %!s(int64=5) %!d(string=hai) anos
process ab35df454d remove pre-go1.17 build-tags %!s(int64=2) %!d(string=hai) anos
progress c55a4ac779 refactor: move from io/ioutil to io and os package %!s(int64=4) %!d(string=hai) anos
reexec ab35df454d remove pre-go1.17 build-tags %!s(int64=2) %!d(string=hai) anos
rootless 056be8b7b0 Merge pull request #46473 from thaJeztah/c8d_logs hai 1 ano
stack 211d3a8c32 pkg/stack: format code with gofumpt hai 1 ano
stdcopy f930559076 pkg/stdcopy: format code with gofumpt %!s(int64=2) %!d(string=hai) anos
streamformatter 9f0b3f5609 bump gotest.tools v3.0.1 for compatibility with Go 1.14 %!s(int64=5) %!d(string=hai) anos
stringid 54512f2184 pkg/stringid: optimize performance %!s(int64=2) %!d(string=hai) anos
sysinfo cff4f20c44 migrate to github.com/containerd/log v0.1.0 hai 1 ano
system a3c97beee0 image: implement CheckOS, deprecate pkg/system IsOSSupported hai 1 ano
tailfile 79495c5b6a pkg/tailfile: rename max/min as it collides with go1.21 builtin hai 1 ano
tarsum 63a9d72ee8 pkg/tarsum: handle xattrs like archive/tar does hai 1 ano
useragent 4f0d95fa6e Add canonical import comment %!s(int64=7) %!d(string=hai) anos
README.md d040d637a9 Rename a few docker to moby %!s(int64=7) %!d(string=hai) anos

README.md

pkg/ is a collection of utility packages used by the Moby project without being specific to its internals.

Utility packages are kept separate from the moby core codebase to keep it as small and concise as possible. If some utilities grow larger and their APIs stabilize, they may be moved to their own repository under the Moby organization, to facilitate re-use by other projects. However that is not the priority.

The directory pkg is named after the same directory in the camlistore project. Since Brad is a core Go maintainer, we thought it made sense to copy his methods for organizing Go code :) Thanks Brad!

Because utility packages are small and neatly separated from the rest of the codebase, they are a good place to start for aspiring maintainers and contributors. Get in touch if you want to help maintain them!