choose_fetch_method was always choosing SCM_URL for any http style url and failing in various ways.
Fix that by using urlparse() on whatever the potential install candidate string (ie, the args from the cli), and handling http style urls before scm styles. Various tweaks and unit test cases. Note that while this momentarily improces SCM_URL detection, SCM_URL doesn't make a ton of sense for collection artifacts.
For cases with REMOTE_URL (ie, 'mazer install http://somehost.example.com/collections/whatever') go ahead and download the url and try to open it as a collection artifact early. Then otherwise treat it as a LOCAL_FILE install.
SUMMARY
Two related fixes:
choose_fetch_method was always choosing SCM_URL for any http style url and failing in various ways. Fix that by using urlparse() on whatever the potential install candidate string (ie, the args from the cli), and handling http style urls before scm styles. Various tweaks and unit test cases. Note that while this momentarily improces SCM_URL detection, SCM_URL doesn't make a ton of sense for collection artifacts.
For cases with REMOTE_URL (ie, 'mazer install http://somehost.example.com/collections/whatever') go ahead and download the url and try to open it as a collection artifact early. Then otherwise treat it as a LOCAL_FILE install.
ISSUE TYPE