autospec icon indicating copy to clipboard operation
autospec copied to clipboard

Resolve special strings in URL to full URL

Open matthewrsj opened this issue 8 years ago • 0 comments

In options.conf['package']['url'], resolve strings such as 'pypi://' to either pypi.debian.net or pypi.python.org depending on which is available (pypi.debian.net is often down, but offers a much easier URL scheme). This could be determined easily with pip download -v package and parsing the output to determine the URL to put in the spec file.

This could make future mirror:// resolution possible as well for the more general cases.

matthewrsj avatar Oct 20 '17 17:10 matthewrsj