Role namespace duplication
MonolithProjects opened this issue · comments
Bug Report
SUMMARY
Hi team, i just noticed that my Ansible Roles in the Galaxy got duplicated like they would be in two different namespaces (MonolithProjects
and monolithprojects
) which contains a different role versions.
STEPS TO REPRODUCE
Go to Galaxy web UI and search for role github_actions_runner
. You will get two instead of one - monolithprojects.github_actions_runner
and MonolithProjects.github_actions_runner
.
When i am importing new releases they seem to appear in monolithprojects.github_actions_runner
(in the one without capital M and P). But whenever i try to click on any of the Roles I end up in the MonolithProjects.github_actions_runner
which does not contain latest releases and the download count seems to be old too.
EXPECTED RESULTS
To have one namespace (does not matter if monolithprojects or MonolithProjects) with latest ansible roles
ACTUAL RESULTS
I can see my roles in two namespaces. Can not navigate via web UI to the roles with latest releases.
ansible-galaxy info
shows old content from MonolithProjects
(latest release of the role is 1.19.0)
ansible-galaxy info monolithprojects.github_actions_runner
Role: monolithprojects.github_actions_runner
description: Deploy Github Actions private runner
commit: b9446130396072f8e919742fb3ab0fc8c7cc934f
commit_message: Merge pull request #191 from MonolithProjects/feat/ci
ci: adjust workflow triggers
created: 2023-05-08T21:17:02.827720Z
download_count: 136196
github_branch: 1.18.7
github_repo: ansible-github_actions_runner
github_user: MonolithProjects
id: 19739
imported: 2023-12-02T23:28:55.952463
modified: 2023-12-02T23:28:56.335793Z
path: ('/home/mike/.ansible/roles', '/usr/share/ansible/roles', '/etc/ansible/roles')
upstream_id: None
username: MonolithProjects
Working around this by setting the namespace
in the meta/main.yml
and deleting the role from the other namespace.