an [abandoned] attempt to slice out the docker/docker/pkg package
Find a file
Ahmet Alp Balkan 15dcfb4f50 term/winconsole: Identify tty correctly, fix resize problem
This change fixes a bug where stdout/stderr handles are not identified
correctly.

Previously we used to set the window size to fixed size to fit the default
tty size on the host (80x24). Now the attach/exec commands can correctly
get the terminal size from windows.

We still do not `monitorTtySize()` correctly on windows and update the tty
size on the host-side, in order to fix that we'll provide a
platform-specific `monitorTtySize` implementation in the future.

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2015-03-26 15:11:28 -07:00
archive Changing bitflag checking style to preferred style. Fixes #11668 2015-03-24 21:09:25 -04:00
broadcastwriter Mass gofmt 2014-10-24 15:11:48 -07:00
chrootarchive Add more tests for pkg/chrootarchive 2015-03-24 18:23:28 -07:00
devicemapper Removed redundant elses 2015-03-25 23:34:00 +01:00
directory Makes directory pkg compilable on Windows. 2015-03-12 15:54:22 +01:00
etchosts Refactor pkg/networkfs 2015-03-22 23:53:47 -07:00
fileutils Use logrus everywhere for logging 2014-10-24 15:03:06 -07:00
graphdb Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
homedir If $HOME is not set, return homedir from /etc/passwd 2015-03-10 10:00:22 -04:00
httputils add tests for pkg/httputils 2015-03-24 16:27:09 +00:00
ioutils pkg/ioutils: avoid huge Buffer growth in bufreader 2015-03-18 19:51:55 +02:00
iptables fix various problems with iptables.Exists 2015-03-16 17:14:45 -04:00
jsonlog Rename BINDDIR to BIND_DIR 2015-02-13 15:50:42 -07:00
jsonmessage Fixes hacks from progressreader refactor 2015-03-25 18:21:02 -07:00
listenbuffer listenbuffer: add docs 2015-03-25 03:11:34 +00:00
mflag Make use of %USERPROFILE% in cli help message 2015-03-11 02:14:49 -07:00
mount Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
namesgenerator Merge pull request #10029 from soulshake/add-cecilia-payne-gaposchkin 2015-01-12 17:31:19 -08:00
parsers Add ability to refer to image by name + digest 2015-03-17 10:10:42 +00:00
pidfile Moved pidfile from utils to pkg 2015-03-24 23:59:32 +01:00
pools pkg/pool: add pools for bufio readers & writers 2014-09-03 11:36:39 +03:00
progressreader Fixes hacks from progressreader refactor 2015-03-25 18:21:02 -07:00
promise Move Go() promise-like func from utils to pkg/promise 2014-09-29 23:16:27 -07:00
proxy Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
pubsub Remove publisher if no one is listening 2015-01-20 20:21:47 -08:00
reexec Fix relative path execution of docker daemon in reexec.Self() 2015-03-16 16:52:00 -04:00
resolvconf Fix #11589 by adding README and comments to exported functions 2015-03-24 17:30:19 +00:00
signal #11585: README for pkg/signal. Signed-off-by: Vladimir Roudakov <v_roudakov@yahoo.com> 2015-03-26 21:18:27 +10:00
stdcopy Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
streamformatter Fixes hacks from progressreader refactor 2015-03-25 18:21:02 -07:00
stringid Refactor pkg/common, Fixes #11599 2015-03-24 18:19:59 +01:00
stringutils Refactor pkg/common, Fixes #11599 2015-03-24 18:19:59 +01:00
symlink Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
sysinfo fix warning messages 2015-03-11 08:47:45 +08:00
system Make utils_daemon and volumes cross-platform compileable. 2015-03-16 11:46:07 +01:00
systemd Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
tailfile Implement tail for docker logs 2014-07-01 23:44:12 +04:00
tarsum Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
term term/winconsole: Identify tty correctly, fix resize problem 2015-03-26 15:11:28 -07:00
timeoutconn Rename package timeout to timeoutconn. 2015-02-25 20:52:37 +01:00
timeutils Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
truncindex Removed redundant err == nil check 2015-03-26 11:36:13 +01:00
ulimit Fixes pointer error 2015-03-25 20:45:17 -07:00
units Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
urlutil Move git and url checks into pkg 2014-11-24 18:10:37 -05:00
version Fix minor typo 2015-03-25 00:46:22 +08:00
README.md Add README to pkg 2013-12-23 23:12:19 +00:00

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!