ansible / mazer

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

Fix 'install -e' after requirements solving changes #161

Closed alikins closed 6 years ago

alikins commented 6 years ago
SUMMARY

After the changes to get the dep solving working, 'install -e' was busted.

Get 'install -e' working with deps

Add an 'editable' fetch method.

Some shenanigans to avoid writing 'None' versions in install_info (which causes semver issues)

Split up repo_archive stuff so that we can skip the extract() step.

Change repo archive type detection to take a list of files instead of tarfile members, since editable repos are just dirs (we need to know the repo role/collection type before extracting it...)

ISSUE TYPE
MAZER VERSION
name = mazer
version = 0.2.1
config_file = /home/adrian/.ansible/mazer.yml
uname = Linux, newswoop, 4.18.12-100.fc27.x86_64, #1 SMP Thu Oct 4 16:22:17 UTC 2018, x86_64
executable_location = /home/adrian/venvs/galaxy-cli-py27/bin/mazer
python_version = 2.7.15 (default, Oct 15 2018, 18:36:25) [GCC 7.3.1 20180712 (Red Hat 7.3.1-6)]
python_executable = /home/adrian/venvs/galaxy-cli-py27/bin/python
ADDITIONAL INFORMATION