moby--moby/pkg
Yong Tang d17bb23ae6 Fix flaky test TestJSONFormatProgress (#21124)
In TestJSONFormatProgress, the progress string was used for comparison.
However, the progress string (progress.String()) uses time.Now().UTC()
to generate the timeLeftBox which is not a fixed value and cannot be
compared reliably.

This PR fixes the issue by stripping the timeLeftBox field before doing
the comparison.

This PR fixes #21124.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-03-14 16:00:12 +00:00
..
aaparser apparmor: fix version checks to work properly 2016-02-15 20:36:07 +11:00
archive Merge pull request #20872 from duglin/Issue20470 2016-03-04 09:45:19 +01:00
authorization Call plugins with custom transports. 2016-03-02 12:54:53 -05:00
broadcaster
chrootarchive Windows CI: Unit Tests stop running failing chrootarchive tests 2016-03-01 14:28:29 -08:00
devicemapper
directory
discovery Use net.JoinHostPort to handle address format. 2016-03-01 17:27:30 -08:00
filenotify add file poller panic fix from 1.10.2 2016-02-24 10:17:29 -05:00
fileutils Windows CI: Turn off failing unit test pkg\fileutils 2016-03-02 19:05:33 -08:00
gitutils Windows CI: Unit tests - port pkg\gitutils 2016-02-11 18:19:17 -08:00
graphdb Windows CI: Turn off failing unit tests pkg\graphdb 2016-03-02 19:27:41 -08:00
homedir Revert "resolve the config file from the sudo user" 2016-02-29 13:51:43 +01:00
httputils Fix some typos in comments and strings 2016-02-22 20:27:15 +01:00
idtools pkg: idtools: fix subid files parsing 2016-02-26 15:42:05 +01:00
integration Windows CI: Turn off failing unit tests pkg\integration 2016-03-02 19:37:18 -08:00
ioutils Cleanup WriteFlusher 2016-02-09 14:02:26 -05:00
jsonlog
jsonmessage
locker
longpath
loopback
mflag
mount Windows CI: Unit Test - pkg/mount is Unix specific 2016-02-10 18:09:15 -08:00
namesgenerator Adding biologist Christiane Nüsslein Volhard and AI pioneer Marvin Minsky 2016-01-28 14:33:58 +00:00
parsers
pidfile
platform
plugins Call plugins with custom transports. 2016-03-02 12:54:53 -05:00
pools
progress
promise
proxy
pubsub Revert "use pubsub instead of filenotify to follow json logs" 2016-02-23 21:43:52 -05:00
random
reexec
registrar
signal
stdcopy Make stdcopy.stdWriter goroutine safe. 2016-02-26 16:51:18 -05:00
streamformatter Fix flaky test TestJSONFormatProgress (#21124) 2016-03-14 16:00:12 +00:00
stringid
stringutils
symlink Windows CI: Turning off pkg\symlink unit testing 2016-02-29 13:10:50 -08:00
sysinfo pids limit support 2016-03-08 07:55:01 -08:00
system fix typos 2016-03-11 23:22:16 +08:00
tailfile
tarsum fix common misspell 2016-02-11 15:49:36 -08:00
term Merge pull request #20587 from MHBauer/termfixes 2016-03-01 11:37:26 -05:00
tlsconfig
truncindex
urlutil Fix 'tcp+tls' protocol not being accepted 2016-02-08 17:34:39 +00:00
useragent
version
README.md

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!