ansible / mazer

Experimental Ansible Galaxy Content Manager
GNU General Public License v3.0
114 stars 18 forks source link

fix version used for latest for 'v1.0.0' style vers #55

Closed alikins closed 6 years ago

alikins commented 6 years ago
SUMMARY

wip, fix version used for latest for 'v1.0.0' style vers

client was lossy changing 'v1.0.0' -> '1.0.0' for version matches and sorting, which would sort/match correctly, but it would use '1.0.0' to build the content archive url which is wrong.

So trying to keep track of normalized version to orig version to lookup when returning the 'real' version.

ISSUE TYPE
GALAXY CLI VERSION
Ansible Galaxy CLI, version 0.1.0
Linux, newswoop, 4.16.6-202.fc27.x86_64, #1 SMP Wed May 2 00:09:32 UTC 2018, x86_64
3.6.5 (default, Apr  4 2018, 15:01:18) 
[GCC 7.3.1 20180303 (Red Hat 7.3.1-5)] /home/adrian/venvs/galaxy-cli-py3/bin/python
No config file found; using defaults
ADDITIONAL INFORMATION