-
Notifications
You must be signed in to change notification settings - Fork 10
Clarifying locking for included environments #355
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
Open
mkenigs
wants to merge
1
commit into
main
Choose a base branch
from
clarify-composition
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+5
−2
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -130,6 +130,9 @@ This can be surprising, so check the manifests of the included environments and | |
| It's reasonable to assume that the manifests of the included environments will change over time and at some point you will want to bring in the latest versions of those manifests. | ||
| This is accomplished with the `flox include upgrade` command. | ||
|
|
||
| Running this command will check each of the included environments and determine if there were changes to their manifests. | ||
| If the changes to the manifest have been built by the included environment, then the new manifest will be included. | ||
| Running this command will check each of the included environments and check if the environments have changed. | ||
| In order for changes to be pulled in, the included environment must have a lockfile corresponding to the latest changes to the manifest. | ||
| For example, suppose an environment `my-go-project` includes a `go-tools` environment. | ||
| If the `manifest.toml` for `go-tools` is modified without using `flox edit`, then `flox include upgrade` for `my-go-project` won't be able use the changes to the `go-tools` manifest. | ||
| Using `flox edit` for `go-tools` would re-lock the environment using the latest manifest, and then `flox include upgrade` for `my-go-project` could pull in the changes. | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not 100% sold this is the right place to make the change. Can't decide if it's overexplaining the concept in the wrong place or not |
||
| At this point the merge process runs again, a new merged manifest is produced, and the composed environment is rebuilt from the new merged manifest. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: this reads a little smoother to me