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

utils/build-galaxy-release.sh: Do not create duplicates for role plugins #1324

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

t-woerner
Copy link
Member

This change reduces the size of the Ansible collection and removes unused files.

While creating the collection, the role plugins have been linked into the global plugin folders, but a subsequent sed call replaced the links with changed files. The original files have also been changed with another sed call in the same way. This resulted in the duplication of the changed files.

The plugins of the roles are now moved into the global plugin folders and only changed there. The now empty plugin folders in the roles are removed.

This change reduces the size of the Ansible collection and removes unused
files.

While creating the collection, the role plugins have been linked into the
global plugin folders, but a subsequent sed call replaced the links with
changed files. The original files have also been changed with another sed
call in the same way. This resulted in the duplication of the changed
files.

The plugins of the roles are now moved into the global plugin folders and
only changed there. The now empty plugin folders in the roles are
removed.
@t-woerner t-woerner force-pushed the no_role_plugin_duplicates branch 2 times, most recently from 65d2992 to edf765c Compare December 11, 2024 10:13
ansible-test sanity test "metaclass-boilerplate" fails now to recognize
the line "__metaclass__ = type" if there is a pylint disable comment
appended to the same line to not fail on using bad class naming.

The pylint disable comment has been moved to an extra preceding line and
an additional enable commend has been added after the metaclass line.
@t-woerner t-woerner force-pushed the no_role_plugin_duplicates branch from edf765c to a4f6088 Compare December 11, 2024 13:19
Copy link
Member

@rjeffman rjeffman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@rjeffman rjeffman merged commit b7ed9ec into freeipa:master Dec 11, 2024
18 checks passed
@varunmylaraiah
Copy link
Collaborator

LGTM

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.

3 participants