-
Notifications
You must be signed in to change notification settings - Fork 336
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
Install collection to local directory during development #763
Install collection to local directory during development #763
Conversation
@l3ender Thank you for your contribution. Could you please explain why you made the above changes? How does this avoid conflict? Will facilitate the consolidation of this PR. Thank you very much! |
@Fred-sun Installing the collection to a project-specific path allows for better isolation of multiple projects when doing development/testing of changes. For example, a person could have multiple different projects which utilize this collection. When doing development on this collection and installing it to the default location, it then can break all other projects which use this collection. By implementing the PR to install the collection to a project-specific location, it will prevent any conflict or error arising from installing the collection to the global location and breaking other items using azcollection. Hope that helps explain the use case. Thank you! |
Hi @xuzhang3, could you please take a look at this one? Thank you! |
LGTM, shipping it 🛥️ |
SUMMARY
This PR configures the collection so that it is installed to the project's directory when doing local development/testing. This allows for better isolation when doing development/testing of changes. The current install location is a system-wide location which affects all other Ansible work done on the same system.
ISSUE TYPE
COMPONENT NAME
development
ADDITIONAL INFORMATION
When doing development in this repo, I run the following command:
Output of command BEFORE this change:
Output of command AFTER this change: