Files
docker-cli/components/engine/pkg
Sebastiaan van Stijn 425242f524 Fix handling of remote "git@" notation
`docker build` accepts remote repositories
using either the `git://` notation, or `git@`.

Docker attempted to parse both as an URL, however,
`git@` is not an URL, but an argument to `git clone`.

Go 1.7 silently ignored this, and managed to
extract the needed information from these
remotes, however, Go 1.8 does a more strict
validation, and invalidated these.

This patch adds a different path for `git@` remotes,
to prevent them from being handled as URL (and
invalidated).

A test is also added, because there were no
tests for handling of `git@` remotes.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 913eb99fdcd26a4106250bd40dfe8b9c18564b23)
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
2017-07-11 23:00:32 +00:00
..
2016-12-27 17:32:15 +08:00
2017-04-21 12:31:16 -04:00
2017-01-18 00:13:09 +08:00
2017-03-30 16:50:46 +03:00
2017-04-27 09:26:21 -07:00
2016-12-28 09:43:27 +08:00
2017-03-26 20:47:18 +00:00
2015-12-13 18:04:12 +02:00
2017-03-30 16:50:46 +03:00
2016-11-16 12:55:18 -05:00
2017-02-14 14:38:42 -08:00
2017-02-24 19:41:59 +00:00
2016-11-30 10:11:42 -08:00
2016-11-13 20:08:51 -08: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!