Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rewrite utils.parse_host to detect more invalid addresses.ssh_protocol_support | Joffrey F | 2018-11-01 | 1 | -58/+72 |
| | | | | | | | | The method now uses parsing methods from urllib to better split provided URLs. Addresses containing query strings, parameters, passwords or fragments no longer fail silently. SSH addresses containing paths are no longer accepted. Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Add support for SSH protocol in base_url | Joffrey F | 2018-11-01 | 1 | -5/+11 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Re-add walk method to utils.build | Joffrey F | 2018-06-28 | 1 | -0/+5 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | On Windows, convert paths to use forward slashes before fnmatch call | Joffrey F | 2018-06-28 | 1 | -5/+13 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Improved .dockerignore pattern processing to better match Docker CLI behavior | Joffrey F | 2018-06-28 | 2 | -88/+112 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Fix socket reading function for TCP (non-HTTPS) connections on Windows | Joffrey F | 2018-06-06 | 1 | -0/+3 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Improve extra_files override check | Joffrey F | 2018-03-27 | 1 | -1/+2 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Move build utils to appropriate file | Joffrey F | 2018-03-27 | 3 | -93/+93 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Support building with Dockerfile outside of context | Joffrey F | 2018-03-27 | 2 | -7/+27 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Don't descend into symlinks when building context tar | Joffrey F | 2018-03-21 | 1 | -1/+1 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Remove redundant single-socket select call | Joffrey F | 2018-03-20 | 1 | -2/+1 |
| | | | | | | Clean up + use pytest-timeout Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Use same split rules for Dockerfile as other include/exclude patterns1956-dockerignore-include-dockerfile | Joffrey F | 2018-03-14 | 1 | -2/+5 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Add note about potential dockerignore optimization. | mefyl | 2018-02-21 | 1 | -0/+9 |
| | | | | Signed-off-by: mefyl <quentin.hocquet@docker.com> | ||||
* | Skip entirely excluded directories when handling dockerignore. | mefyl | 2018-02-21 | 1 | -0/+4 |
| | | | | | | | This is pure optimization to not recurse into directories when there are no chances any file will be included. Signed-off-by: mefyl <quentin.hocquet@docker.com> | ||||
* | Fix .dockerignore: accept wildcard in inclusion pattern, honor last line ↵ | mefyl | 2018-02-21 | 1 | -114/+74 |
| | | | | | | precedence. Signed-off-by: mefyl <quentin.hocquet@docker.com> | ||||
* | Fix dockerignore handling of absolute path exceptions. | mefyl | 2018-02-21 | 1 | -3/+3 |
| | | | | Signed-off-by: mefyl <quentin.hocquet@docker.com> | ||||
* | Revert "Correctly support absolute paths in .dockerignore" | mefyl | 2018-02-19 | 1 | -13/+7 |
| | | | | | | This reverts commit 34d50483e20e86cb7ab22700e036a5c4d319268a. Signed-off-by: mefyl <quentin.hocquet@docker.com> | ||||
* | Correctly support absolute paths in .dockerignorec5672-dockerignore-abspath | Joffrey F | 2018-02-12 | 1 | -7/+13 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Merge pull request #1901 from docker/1899-create_archive_fix | Joffrey F | 2018-02-05 | 1 | -5/+3 |
|\ | | | | | Rewrite access check in create_archive with EAFP | ||||
| * | Rewrite access check in create_archive with EAFP1899-create_archive_fix | Joffrey F | 2018-02-05 | 1 | -5/+3 |
| | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | | Add workaround for bpo-32713c5618-negative-mtime-tar | Joffrey F | 2018-02-01 | 1 | -0/+4 |
|/ | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Remove parameters and methods marked as deprecated | Joffrey F | 2018-01-31 | 2 | -26/+1 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Improve separation between auth_configs and general_configsimprove_authconfig_genconfig_separation | Joffrey F | 2018-01-30 | 2 | -5/+6 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Use config.json for detachKeys | Fumiaki MATSUSHIMA | 2018-01-30 | 1 | -0/+65 |
| | | | | Signed-off-by: Fumiaki Matsushima <mtsmfm@gmail.com> | ||||
* | Do not break when archiving broken symlinks1841-tar-broken-symlinks | Joffrey F | 2018-01-29 | 1 | -1/+2 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Merge pull request #1830 from mhank/1822-reformat-hosts | Joffrey F | 2017-12-13 | 1 | -1/+7 |
|\ | | | | | Fix format in which hosts are being stored for Swarm services | ||||
| * | Change format in which hosts are being stored for Swarm services | Michael Hankin | 2017-12-05 | 1 | -2/+8 |
| | | | | | | | | Signed-off-by: Michael Hankin <mhank@users.noreply.github.com> | ||||
| * | Change format of extra hosts | Michael Hankin | 2017-12-03 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Michael Hankin <mjhankin1@gmail.com> | ||||
* | | Fix common issues with build context creation: inaccessible files and fifosfix-context-building | Joffrey F | 2017-11-29 | 1 | -7/+14 |
|/ | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Add support for new ContainerSpec parameters | Joffrey F | 2017-11-07 | 2 | -1/+7 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Do not interrupt streaming when encountering 0-length frames | Joffrey F | 2017-11-07 | 1 | -2/+2 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Commit d798afca made changes for the handling of '**' patterns in | Veli-Matti Lintu | 2017-08-22 | 1 | -1/+1 |
| | | | | | | | | .dockerignore. This causes an IndexError with patterns ending with '**', e.g. 'subdir/**'. This adds a missing boundary check before checking for trailing '/'. Signed-off-by: Veli-Matti Lintu <veli-matti.lintu@nosto.com> | ||||
* | Fix handling of non-multiplexed (TTY) streams over upgraded sockets | Joffrey F | 2017-08-17 | 1 | -1/+20 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Leading slash in .dockerignore should be ignored | Joffrey F | 2017-08-17 | 1 | -0/+1 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Generating regexp from .dockerignore file in a similar way as docker-ce. | Jakub Goszczurny | 2017-08-17 | 1 | -8/+19 |
| | | | | Signed-off-by: Jakub Goszczurny <szczurmys@o2.pl> | ||||
* | Compose 1.14.0 hack | Joffrey F | 2017-06-28 | 1 | -0/+5 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | split_port should not break when passed a non-string argument | Joffrey F | 2017-06-28 | 1 | -0/+1 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Merge pull request #1649 from shin-/1639-exec-id-check-resource | Joffrey F | 2017-06-19 | 1 | -16/+15 |
|\ | | | | | Update check_resource decorator to account for new resource names | ||||
| * | Update check_resource decorator to account for new resource names | Joffrey F | 2017-06-15 | 1 | -16/+15 |
| | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | | Rewrite the split_port function using re | kaiyou | 2017-06-05 | 1 | -67/+40 |
|/ | | | | | | | | In the case of a defined format with specific parts, a regular expression with named capturing bits make reasoning about the parts simpler than imlementing a parser from scratch. Signed-off-by: kaiyou <pierre@jaury.eu> | ||||
* | Fix test issuesappveyor | Joffrey F | 2017-03-29 | 2 | -9/+10 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Raise an error when passing an empty string to split_port | Joffrey F | 2017-03-09 | 1 | -0/+2 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | fix: Missing exception handling in split_port when no container port | Lei Gong | 2017-03-09 | 1 | -0/+5 |
| | | | | | | | | | | "localhost:host_port:" case will raise TypeError exception directly Catch the "TypeError" and give proper error message * docker/utils/ports.py Signed-off-by: Lei Gong <xue177125184@gmail.com> | ||||
* | passing flake8 test | SeungJin Oh | 2017-02-20 | 1 | -1/+1 |
| | | | | Signed-off-by: SeungJin Oh <crierr@naver.com> | ||||
* | check NoneType before using | SeungJin Oh | 2017-02-20 | 1 | -2/+4 |
| | | | | Signed-off-by: SeungJin Oh <crierr@naver.com> | ||||
* | Allow port range like 8000-8010:80 | crierr | 2017-02-20 | 1 | -3/+6 |
| | | | | Signed-off-by: SeungJin Oh <crierr@naver.com> | ||||
* | Merge pull request #1449 from shin-/secrets-api | Joffrey F | 2017-02-15 | 1 | -1/+1 |
|\ | | | | | Implement secrets API | ||||
| * | Add support for secrets in ContainerSpec | Joffrey F | 2017-02-13 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | | Add support for recursive wildcard pattern in .dockerignore | Joffrey F | 2017-02-14 | 4 | -134/+247 |
|/ | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Add create_plugin implementation | Joffrey F | 2017-02-09 | 2 | -12/+29 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> |