When redirecting to collections, ansibullbot should link to the new repo or collection
acozine opened this issue · 2 comments
As a developer or user, when Ansibullbot closes my PR or issue because it belongs in a collection, I would like an easy way to find the correct new repo.
Update https://github.com/ansible/ansibullbot/blob/master/templates/collection_migration.j2 to create a link to the repo if that is available, or to Galaxy.
Once this is done, we may need updates to https://github.com/ansible/ansibullbot/blob/master/docs/collection_migration.md and/or to https://github.com/ansible/ansible/pull/70488/files.
It is not obvious from the template but this is already implemented:
ansibullbot/ansibullbot/triagers/plugins/collection_facts.py
Lines 78 to 84 in 5078511
See an example:
(Epdb) pp self.render_boilerplate(self.meta,boilerplate=u'collection_migration')
('Thank you very much for your interest in Ansible. Ansible has migrated much '
'of the content into separate repositories to allow for more rapid, \n'
'independent development. We are closing this issue/PR because this content '
'has been moved to one or more collection repositories.\n'
'\n'
'* lib/ansible/modules/windows/win_copy.ps1 -> '
'https://galaxy.ansible.com/ansible/windows\n'
'\n'
'For further information, please see:\n'
'https://github.com/ansible/ansibullbot/blob/master/docs/collection_migration.md\n'
'\n'
'<!--- boilerplate: collection_migration --->')
Specifically this line:
* lib/ansible/modules/windows/win_copy.ps1 -> https://galaxy.ansible.com/ansible/windows\n
Is there anything else that should be done?
Closing per above.