-
Notifications
You must be signed in to change notification settings - Fork 35
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
Fix source groups #271
base: develop
Are you sure you want to change the base?
Fix source groups #271
Conversation
@@ -10,6 +10,8 @@ path = "../packages.rs" | |||
|
|||
[package.metadata.build-package] | |||
source-groups = [ | |||
"api", | |||
"imdsclient", |
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.
Let's just list early-boot-config
here instead of the individual subdirectories.
Appears to be missing constants
, generate-readme
, imdsclient
, ...
The brute force way to generate this list would be:
- copy the sources tree to another location
- delete everything from the sources tree that isn't a directory in
source-groups
- trim the workspace
Cargo.toml
and regenerateCargo.lock
- see if the package still builds
static-pods
and netdog
probably also need to be revisited with an eye to completing the dependency picture.
`source-groups` should only be used within `packages/**/Cargo.toml`, in any other place it doesn't have any effect Signed-off-by: Arnaldo Garcia Rincon <[email protected]>
Add missing dependencies for early-boot-config so that it is rebuild whenever they change Signed-off-by: Arnaldo Garcia Rincon <[email protected]>
Add missing dependencies for netdog so that it is rebuild whenever they change Signed-off-by: Arnaldo Garcia Rincon <[email protected]>
Add missing dependencies for the os package so that it is rebuild whenever they change Signed-off-by: Arnaldo Garcia Rincon <[email protected]>
Add missing dependencies for static-pods so that it is rebuild whenever they change Signed-off-by: Arnaldo Garcia Rincon <[email protected]>
1c677a7
to
4d38c03
Compare
Forced push includes:
|
Description of changes:
early-boot-config
was missingapi
andimdsclient
from itssource-group
dependencies, so changes to eitherapiclient
orimdsclient
didn't trigger a rebuild ofearly-boot-config
.pluto
'sCargo.toml
includedsource-groups
by mistake, and it doesn't have any effect.Testing done:
After this change, I confirmed that
early-boot-config
was re-compiled whenever I changedapiclient
orimdsclient
(even by justtouch
ing the files). Before this change,touch
ing didn't trigger a rebuild.Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.