user v0.4.0
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:
MkdirAllAndChown
withWithOnlyNew
as aMkdirOpt
MkdirAndChown
also supporting the optsIdentityMapping
its 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/idtools
intouser
#182 - Makefile: fix error from test #172
- Add go fix to CI, rm old build tags #148
- Add Go 1.23, drop 1.21, bump golangci-lint #147
- ci: fix not honoring PACKAGES setting in gha Windows runners #157
- ci: checkout first, disable go caching #160
- ci: add unparam linter #158
- ci: Update macOS runner image to macOS 13 #167
- ci: add codespell #159
- ci: add codecov #180
Full Changelog: user/v0.3.0...user/v0.4.0