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

builder: consider all execution paths #566

Merged
merged 1 commit into from
May 29, 2024

Conversation

jkloetzke
Copy link
Member

The builds step implicitly depends on the execution path of all dependencies, even for tools.

@rhubert
Copy link
Contributor

rhubert commented May 29, 2024

The commit message looks somehow incomplete?

@jkloetzke
Copy link
Member Author

🤦 Thanks for noticing. Apparently I was a bit distracted yesterday evening. 😆

The builds step implicitly depends on the execution path of all
dependencies. So far we only tracked arguments. But some build systems
also store the absolute path to tools. In this case, the build will fail
if a tool path changes.

The simple approach by using getAllDepSteps() will additionally add the
sandbox path too. This will lead to rebuilds if the sandbox image
changes. This should not happen too often and is probably not even a bad
idea.
@jkloetzke jkloetzke merged commit 8f17598 into BobBuildTool:master May 29, 2024
9 checks passed
@jkloetzke jkloetzke deleted the fix-build-step branch May 29, 2024 20:21
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

Successfully merging this pull request may close these issues.

2 participants