Emil Hessman
e7bbbfb098
helper/url: add Windows 'safe' URL Parse wrapper
...
Pull out the urlParse function, which was introduced in config/module,
into a helper package.
2015-02-05 11:16:54 +01:00
Emil Hessman
5bbfc0d4e2
config/module: fix URL file path handling on Windows
...
Only adjust the URL Scheme when parsing drive letter file paths on
Windows, don't add a file scheme prefix.
FileDetector is responsible for adding the file scheme prefix.
2015-02-02 12:19:34 +01:00
Mitchell Hashimoto
2d9dd25493
config/module: fix regression of ignoring forced type if valid URL
...
/cc @ceh - Does this break Windows at all? This regressed with your
commit (we didn't have test coverage on it). I added a test now, though.
2015-02-01 20:17:56 +01:00
Emil Hessman
97227a5c70
config/module: fix detection of file paths on Windows
...
Absolute file paths were not correctly detected by module.Detect
when using url.Parse to parse the source URL. Wrap the detection
with urlParse to properly handle file path detections on Windows.
Fixes command test failures on Windows.
2015-01-28 10:40:32 +01:00
Mitchell Hashimoto
0a2d06268c
config/module: detect supports subdirs
2014-09-27 09:29:12 -07:00
Mitchell Hashimoto
27564fff2b
config/module: detect BitBucket URLs
2014-09-16 11:55:14 -07:00
Mitchell Hashimoto
5480eb4e41
config/module: detect preserves forces
2014-09-16 10:54:23 -07:00
Mitchell Hashimoto
2a655bc7d9
config/module: detect GitHub URLs
2014-09-16 10:52:08 -07:00
Mitchell Hashimoto
acb6d12a75
config/module: support forced getters with TYPE::URL syntax
2014-09-15 23:48:56 -07:00
Mitchell Hashimoto
a35a9262d4
config/module: detectors, some more work on Tree
2014-09-14 16:17:29 -07:00