please icon indicating copy to clipboard operation
please copied to clipboard

Duplicate sub-plugins make general commands fail

Open cemeceme opened this issue 2 years ago • 1 comments

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 avatar Nov 07 '23 14:11 cemeceme

This issue has been automatically marked as stale because it has not had any recent activity in the past 90 days. It will be closed if no further activity occurs. If you require additional support, please reply to this message. Thank you for your contributions.

stale[bot] avatar Apr 26 '25 01:04 stale[bot]