1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Derek McGowan d99f4cc83d Fix overlay2 ignoring whiteout files
Currently when overlay creates a whiteout file then the overlay2 layer is archived,
the correct tar header will be created for the whiteout file, but the tar logic will then attempt to open the file causing a failure.
When tar encounters such failures the file is skipped and excluded for the archive, causing the whiteout to be ignored.
By skipping the copy of empty files, no open attempt will be made on whiteout files.

Fixes #23863

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
(cherry picked from commit bd13c53f8d)
2016-06-30 16:47:46 -07:00
..
aaparser
archive Fix overlay2 ignoring whiteout files 2016-06-30 16:47:46 -07:00
authorization plugins: experimental support for new plugin management 2016-06-14 14:20:27 -07:00
broadcaster
chrootarchive pkg: chrootarchive: chroot_linux: fix mount leak 2016-06-11 00:07:41 +02:00
devicemapper Fix logrus formatting 2016-06-11 13:16:55 -07:00
directory Fix filepath.Walk misusage in pkg/directory 2016-05-30 07:40:46 +00:00
discovery
filenotify
fileutils
gitutils Fix gitconfig dependency in pkg/gitutils.TestCheckoutGit 2016-06-02 17:44:09 +09:00
graphdb
homedir
httputils fix typos 2016-06-02 17:17:22 +08:00
idtools
integration
ioutils ioutils: fix race in access closeErr in bytespipe 2016-06-06 11:29:47 -07:00
jsonlog
jsonmessage fix typos 2016-06-02 17:17:22 +08:00
listeners
locker
longpath
loopback Fix logrus formatting 2016-06-11 13:16:55 -07:00
mflag fix typos 2016-06-02 17:17:22 +08:00
mount
namesgenerator update peaceful zen 2016-06-10 16:39:05 +02:00
parsers pkg/parser/kernel: remove unused var block 2016-06-02 10:50:36 -07:00
pidfile
platform
plugins plugins: experimental support for new plugin management 2016-06-14 14:20:27 -07:00
pools
progress fix typos 2016-06-02 17:17:22 +08:00
promise
proxy pkg: proxy: fix TCPEchoServer.Close() in unit test 2016-06-11 15:27:56 +02:00
pubsub
random
reexec
registrar
signal Fix logrus formatting 2016-06-11 13:16:55 -07:00
stdcopy
streamformatter Fix pkg/streamformatter.TestJSONFormatProgress 2016-05-31 09:09:06 +00:00
stringid
stringutils
symlink
sysinfo *: fix logrus.Warn[f] 2016-06-11 19:42:38 +02:00
system
tailfile
tarsum
term
testutil Add some tests for bundlefile and improve the error messages for LoadFile 2016-06-16 23:36:59 -07:00
tlsconfig
truncindex
urlutil
useragent
README.md

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

Utility packages are kept separate from the docker 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 Docker 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!