I can only assume that the symlinks would work from a technical
perspective. But i think what he meant was to make the change and add
symlinks for the old names around (for a [little] while).
It will probably be impossible to get those symlinks into the
collection, so the question is, can we have them in git anyway. Is
there something like a ".galaxyignore" file? Maybe [0]?

[0] https://github.com/ansible/galaxy/issues/78

On Wed, May 20, 2020 at 10:08 PM Brian Bouterse <bmbou...@redhat.com> wrote:
>
>
>
> On Wed, May 20, 2020 at 2:31 PM James Cassell <fedoraproj...@cyberpear.com> 
> wrote:
>>
>> On Wed, May 20, 2020, at 1:38 PM, Fabricio Aguiar wrote:
>> > We are working to have pulp_installer
>> > <https://github.com/pulp/pulp_installer> published as a collection on
>> > galaxy
>> >
>> > As stated in [1] we had to rename our roles use underscore rather than
>> > dashes [2], this change is merged and it is planned to be released
>> > along with pulpcore 3.4.0 on May 27th. After 3.4.0 release you'll need
>> > to update your playbooks:
>> >
>> > pulp-database -> pulp_database
>> > pulp-workers - > pulp_workers
>> > pulp-resource-manager -> pulp_resource_manager
>> > pulp-webserver -> pulp_webserver
>> > pulp-content -> pulp_content
>> >
>>
>> Possible to make it a non breaking change by adding a symlink?
>
>
> We regret breaking users; I know it's a pain. Your question prompted us to 
> check in on this decision again. In this case, the old role names aren't 
> valid based on the collection spec, so we don't see keeping those invalid 
> names as something we want to do. As a related aside, Ansible collections 
> will be the primary way these roles are distributed soon so that 
> compatibility is driving this change.
>
>>
>> V/r,
>> James Cassell
>>
>> > [1]
>> > https://docs.ansible.com/ansible/latest/dev_guide/developing_collections.html#roles-directory
>> > [2] https://github.com/pulp/pulp_installer/pull/287
>> >
>> > Related PRs:
>> > - https://github.com/pulp/pulp_installer/pull/287
>> > - https://github.com/pulp/pulp_rpm_prerequisites/pull/59
>> > - https://github.com/pulp/pulpcore/pull/706
>> > - https://github.com/pulp/pulp_rpm/pull/1714
>> > - https://github.com/pulp/pulp_ansible/pull/312
>> > - https://github.com/ansible/galaxy_ng/pull/175
>> >
>> > Best regards,
>> > Fabricio Aguiar
>> > Software Engineer, Pulp Project
>> > Red Hat Brazil - Latam <https://www.redhat.com/>
>> > +55 11 999652368
>> > _______________________________________________
>> > Pulp-dev mailing list
>> > Pulp-dev@redhat.com
>> > https://www.redhat.com/mailman/listinfo/pulp-dev
>> >
>>
>> _______________________________________________
>> Pulp-dev mailing list
>> Pulp-dev@redhat.com
>> https://www.redhat.com/mailman/listinfo/pulp-dev
>>
> _______________________________________________
> Pulp-dev mailing list
> Pulp-dev@redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-dev


_______________________________________________
Pulp-dev mailing list
Pulp-dev@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-dev

Reply via email to