Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show more info when Legacy role galaxy info has unknown field #243

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

markgoddard
Copy link

Currently during legacy role import, if galaxy_info has an unknown
field, we see the following message:

unknown field in galaxy_info

This is not very helpful, and does not tell us how to fix the issue.

This change adds the cause of the issue to the exception message, so we
know which field to fix.

@jctanner
Copy link
Collaborator

jctanner commented Dec 6, 2023

@markgoddard sorry i've been neglecting this queue. Can you sign your commit so I can get it merged?

https://ansible.readthedocs.io/projects/galaxy-ng/en/latest/community/devstack/#commits

@markgoddard markgoddard force-pushed the fix-role-galaxy-info-error branch from e87096b to 3e0173f Compare December 7, 2023 09:42
Currently during legacy role import, if galaxy_info has an unknown
field, we see the following message:

  unknown field in galaxy_info

This is not very helpful, and does not tell us how to fix the issue.

This change adds the cause of the issue to the exception message, so we
know which field to fix.

No-Issue

Signed-off-by: Mark Goddard <[email protected]>
@markgoddard markgoddard force-pushed the fix-role-galaxy-info-error branch from 3e0173f to 196d1b7 Compare December 7, 2023 09:43
@markgoddard
Copy link
Author

@markgoddard sorry i've been neglecting this queue. Can you sign your commit so I can get it merged?

https://ansible.readthedocs.io/projects/galaxy-ng/en/latest/community/devstack/#commits

No problem, sorry for ignoring the CI result :) Now passes the commit check

@jctanner jctanner merged commit c3a7822 into ansible:master Jan 3, 2024
5 checks passed
@markgoddard markgoddard deleted the fix-role-galaxy-info-error branch January 3, 2024 19:49
@markgoddard
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants