Everytime I am doing import on the role ansible-network/network-engine, it is failing with the following the error.
Looks like galaxy is trying to clone the branch master, but we do not have a master branch on the repo.
https://galaxy.ansible.com/ansible-network/network-engine
Should import successfully
INFO Starting import: task_id=261218, repository=ansible-network/network-engine
Task "261218" failed: Command '['git', 'clone', '--quiet', '--depth', '1', '--branch', u'master', 'https://github.com/ansible-network/network-engine.git', '/var/lib/galaxy/downloads/tmpjmPvb3']' returned non-zero exit status 128
@trishnaguha I confirm it's a bug in our importer. I fixed it in our database, please initiate import process again.
Issue fix will land with next Galaxy update shortly.
@cutwater Thanks very much. Import works now.
Any idea when this is fix is going to make it to the Galaxy site? It is affecting several of our roles.
@shepdelacreme It will land on Galaxy site in next update by the end of this week.
I can confirm that this is working in our QA environment. I forked mindpoint/rhel6-stig repository and imported it. The result is here: https://galaxy-qa.ansible.com/api/v1/repositories/?provider_namespace__namespace__name=chouseknecht&name=rhel6_stig You can see that import_branch is set to devel, which matches the repository default branch.
This fix will land in production tomorrow morning when release/3.0.3 is deployed.
Thanks for the update!
Most helpful comment
I can confirm that this is working in our QA environment. I forked
mindpoint/rhel6-stigrepository and imported it. The result is here: https://galaxy-qa.ansible.com/api/v1/repositories/?provider_namespace__namespace__name=chouseknecht&name=rhel6_stig You can see thatimport_branchis set to devel, which matches the repository default branch.