1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/builder/remotecontext
Sebastiaan van Stijn 913eb99fdc 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>
2017-06-26 10:02:12 -07:00
..
git Fix handling of remote "git@" notation 2017-06-26 10:02:12 -07:00
archive.go Implement incremental file sync using client session 2017-06-22 11:52:35 -07:00
detect.go Add a test for warning on empty continuation lines. 2017-06-23 13:15:04 -04:00
detect_test.go Refactor remote context parsing 2017-04-25 14:35:31 -07:00
filehash.go Implement incremental file sync using client session 2017-06-22 11:52:35 -07:00
generate.go Implement incremental file sync using client session 2017-06-22 11:52:35 -07:00
git.go Implement incremental file sync using client session 2017-06-22 11:52:35 -07:00
lazycontext.go Implement incremental file sync using client session 2017-06-22 11:52:35 -07:00
mimetype.go Move httputils/mimtype to the single consumser, and remove unused function. 2017-06-02 16:10:39 -04:00
mimetype_test.go Move httputils/mimtype to the single consumser, and remove unused function. 2017-06-02 16:10:39 -04:00
remote.go Implement incremental file sync using client session 2017-06-22 11:52:35 -07:00
remote_test.go Implement incremental file sync using client session 2017-06-22 11:52:35 -07:00
tarsum.go Implement incremental file sync using client session 2017-06-22 11:52:35 -07:00
tarsum.pb.go Implement incremental file sync using client session 2017-06-22 11:52:35 -07:00
tarsum.proto Implement incremental file sync using client session 2017-06-22 11:52:35 -07:00
tarsum_test.go Implement incremental file sync using client session 2017-06-22 11:52:35 -07:00
utils_test.go Refactor remote context parsing 2017-04-25 14:35:31 -07:00