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

Duplicate sub-plugins make general commands fail #2946

Open
cemeceme opened this issue Nov 7, 2023 · 0 comments
Open

Duplicate sub-plugins make general commands fail #2946

cemeceme opened this issue Nov 7, 2023 · 0 comments

Comments

@cemeceme
Copy link
Contributor

cemeceme commented Nov 7, 2023

If you have a plugin/sub-repo that internally uses another plugin (e.g. the cc-rules) and also have the parent project use both of these plugins, then commands such as plz build or plz test will fail with the error:
CRITICAL: Found multiple definitions for subrepo 'cc' ( [Details on the two instances of the sub-plugins] )

It is however, still possible to build a rule specifically (e.g.plz build //:ruleName) even though this rule would also have the same dependencies.

@cemeceme cemeceme changed the title Dublicate sub-plugins make general commands fail Duplicate sub-plugins make general commands fail Nov 7, 2023
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

No branches or pull requests

1 participant