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

RHELPLAN-59755 - Collection - script - not include symlinks in the collection converted format #32

Merged
merged 1 commit into from
Nov 18, 2020

Conversation

nhosoi
Copy link
Contributor

@nhosoi nhosoi commented Nov 18, 2020

lsr_role2collection.py - In copying the roles tests dir to the collections
tests, by setting symlinks=False, it follows the links and copies the real
files and directories. Plus, when calling copy_tree_with_replace, set
"linux-system-roles.ROLENAME" to "ignoreme", which avoids copying the dir.

Removing unnecessary test case from test_lsr_role2collection.py

…llection converted format

lsr_role2collection.py - In copying the roles tests dir to the collections
tests, by setting symlinks=False, it follows the links and copies the real
files and directories. Plus, when calling copy_tree_with_replace, set
"linux-system-roles.ROLENAME" to "ignoreme", which avoids copying the dir.

Removing unnecessary test case from test_lsr_role2collection.py
Copy link
Contributor

@richm richm left a comment

Choose a reason for hiding this comment

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

lgtm

@nhosoi
Copy link
Contributor Author

nhosoi commented Nov 18, 2020

Thank you, @richm. Merging.

@nhosoi nhosoi merged commit f16ecfc into linux-system-roles:master Nov 18, 2020
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