For my latest release of the geerlingguy.pip role on Galaxy, it should be 3.0.0 (that’s the latest tag on GitHub—see GitHub Actions run here: Role versions doesn't match the GitHub releases
It resulted in a master release, but no tag 3.0.0.
This has resulted in users of the role getting the following error upon trying to install the role:
[WARNING]: - geerlingguy.pip was NOT installed successfully: Unable to compare
role versions (1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.3.0, 2.0.0, 2.1.0, 2.2.0,
master) to determine the most recent version due to incompatible version
formats. Please contact the role author to resolve versioning conflicts, or
specify an explicit role version to install.
ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.
I figured out, the --branch option is used for the galaxy-ng version. So if you are on your latest release tag on the main or master branch, you can run:
Also tried that –branch option. But basically got the same error that I always got (besides one try):
Successfully submitted import request 2053172058356991462981303515328567548
running
git clone for https://github.com/githubixx/etcd failed
File "/venv/lib64/python3.11/site-packages/pulpcore/tasking/tasks.py", line 66, in _execute_task
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/app/galaxy_ng/app/api/v1/tasks.py", line 167, in legacy_role_import
raise Exception(f'git clone for {clone_url} failed')
I’m having the same problem. I deleted andrewrothstein.kubelogin and re-imported it. Now I only have a “main” version. I’m expecting the ansible-galaxy role import --branch main --role-name kubelogin andrewrothstein ansible-kubelogin to bring in all the semver tags hanging off any commits in the main branch. It’s not working as the documentation suggests.