-
Notifications
You must be signed in to change notification settings - Fork 134
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
Add option to specify which repositories to generate SConscript files for #1192
Add option to specify which repositories to generate SConscript files for #1192
Conversation
Tests are failing due to:
Any ideas what the issue is here? |
f11f55a
to
2d5c7e4
Compare
Good idea, but I don't like this implementation as it's not backward compatible and the option is not user friendly (although it could be defaulted I guess). I'd rather you check the buildlog if any of the repos already generated a SConscript file in their output path, and then not generate ours (but still call it of course). |
Yeah I was trying to think of the best way to go about this. I like your idea to check for existing files, but would we need to worry about build order? What if another repo generates its SConscript in |
We need a |
ff4e961
to
eeedcef
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you check if my simplification still works correctly for your use case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍🏽
Thank you a lot!
Yep, works for me 👍 |
Currently, the
modm:scons:build
module will generate an SConscript for itself and every other repository included in the build process. This causes issues if another repository has its own method of generating an SConscript, since modm will overwrite it.This PR changes the behaviour to only generate SConscript files for modm and any additional repos specified in
modm:scons:build:include_repos
(comma-separated list of repository names).Note: this is a minor breaking change since no additional repositories will be included by default, whereas previously they would have been.