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

wishlist: automatic determination of what to rebuild #12

Open
crazyscot opened this issue Jul 12, 2017 · 0 comments
Open

wishlist: automatic determination of what to rebuild #12

crazyscot opened this issue Jul 12, 2017 · 0 comments

Comments

@crazyscot
Copy link
Contributor

A welded source tree stored in a single monolithic git repo has a major sanity/usability problem.

When you update your source tree (by pull/merge/whatever), how do you know what to rebuild?

Back in the day, before weld was on the scene, it was easy; muddle pull was wired in to the underlying VCS and this caused the relevant labels to be deasserted. Then you could just muddle redeploy your top-level deployment, and you're done. Easy.

When weld is in play, the muddle-VCS linkage is broken.

My known strategies to date are:

  1. Read the commit logs and deduce a list of packages to turn into a muddle rebuild invocation. This depends on being able to work out the list of packages quickly, and there not being too many changes.
  2. muddle rebuild _all. On this build tree that takes at least half an hour, even with a fully loaded ccache.

There must be a better way. Perhaps a clever git hook?

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