-
Notifications
You must be signed in to change notification settings - Fork 7
feat: update build concept page #261
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
Conversation
Describe why you would choose one over the other and what the trade-offs are.
docs/concepts/manifest-builds.md
Outdated
@@ -79,11 +79,13 @@ Builds can be performed with different levels of "purity", meaning different lev | |||
This is controlled with the `sandbox` option. | |||
|
|||
By default this option is set to `"off"`, which instructs the Flox CLI to perform the build in the root of the repository with no restrictions on network or filesystem access. | |||
This allows your build to use local caches or intermediate build artifacts that already exist. | |||
This is convenient because it allows your build scripts to work as they do in your development environment, such as using local caches and intermediate build artifacts that already exist. | |||
However, there are less guarantees that the build is reproducible, meaning that both the build script and built package may not work the same way on another machine. |
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.
suggestion:
However, that also implies that builds can access files or programs specific to your machine, e.g. config files in
$HOME
, applications installed system wide, etc. and potentially embed this information in the resulting binary.
This can subsequently hurt the reproducibility of build script and the ability run binaries on other machines where those referenced files do not exist.
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.
Thanks! I golfed it a tiny bit and added to a separate commit.
Wordsmithed with Yannik.
feat: update build concept page
The second commit contains the actual content changes.
Closes #237