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

Multiple module directories #262

Open
diafour opened this issue Nov 12, 2021 · 0 comments
Open

Multiple module directories #262

diafour opened this issue Nov 12, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@diafour
Copy link
Contributor

diafour commented Nov 12, 2021

Is your feature request related to a problem? Please describe.

I want to have multiple directories with modules. It is convenient for building the addon-operator with Go hooks when modules are stored in different repositories.

Describe the solution you'd like to see

I want to pass colon-delimited paths in MODULES_DIR env.
The first entry should have the highest priority as it is with PATH variable.

Describe alternatives you've considered

  • Moving all go hooks sources into one /modules directory. It is not working if there are imports of internal packages.

  • Replace in go.mod file. It works only if the module's hooks directory is a separate Go module.

Additional context

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

No branches or pull requests

1 participant