This release merges the github.com/moby/moby/pkg/idtools package
functionality. The package was previously trimmed down and is simplified
further to better fit moby/sys.
Now the package interface will just expand with:
MkdirAllAndChownwithWithOnlyNewas aMkdirOptMkdirAndChownalso supporting the optsIdentityMappingits functionsRootPair,ToHost,ToContainer,Empty
Note that the Identity type is gone since SID was not used in the
package or by any of the functions. It is more common to just pass the
uid and gid.
What's Changed
- Merge functionality from
github.com/moby/moby/pkg/idtoolsintouserhttps://github.com/moby/sys/pull/182 - Makefile: fix error from test https://github.com/moby/sys/pull/172
- Add go fix to CI, rm old build tags https://github.com/moby/sys/pull/148
- Add Go 1.23, drop 1.21, bump golangci-lint https://github.com/moby/sys/pull/147
- ci: fix not honoring PACKAGES setting in gha Windows runners https://github.com/moby/sys/pull/157
- ci: checkout first, disable go caching https://github.com/moby/sys/pull/160
- ci: add unparam linter https://github.com/moby/sys/pull/158
- ci: Update macOS runner image to macOS 13 https://github.com/moby/sys/pull/167
- ci: add codespell https://github.com/moby/sys/pull/159
- ci: add codecov https://github.com/moby/sys/pull/180
Full Changelog: https://github.com/moby/sys/compare/user/v0.3.0...user/v0.4.0