-
Notifications
You must be signed in to change notification settings - Fork 190
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
feat: Enable global expose with nested paths #2362
Open
bahugo
wants to merge
31
commits into
prefix-dev:main
Choose a base branch
from
bahugo:main
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.
+203
−105
Open
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
5047d55
rebasing onto prefix main
bahugo 576f900
Fixed formatting and executable_name call
bahugo 5c65cbe
Removed dead code
bahugo b1a6b73
Added test for path stripping with nested path
bahugo 0b38434
Removed constrain on executable directeory for global executables
bahugo b67e8d8
rebasing Fixing executable detection for global install
bahugo 4870d0d
Updated format mapping for relname
bahugo 8c8dcc4
Exposing relname to manifest
bahugo b1df886
Using relname in project
bahugo 65debc8
format
bahugo bdcbabd
Deleting extension in Mapping new method
bahugo 11c56f6
Using strip_executable_extension
bahugo f50e300
using pixi_utils::executable_from_path in global/mod.rs
bahugo 96f2350
Attempt to test dummy package with nested exposed
bahugo e11105d
Added documentation for nested expose in global install
bahugo 0d93260
Fixed testing nested_dummy
bahugo 58fb4ce
reverted addition of rattler-build to pixi.toml
bahugo db1d8e7
Rebasing :Updated dummy channels
bahugo f9b491c
format
bahugo 5c4ffb6
applying pre-commit
bahugo 2302ee7
building integration tests channels after rebasing
bahugo 69ea5ba
fixes from PR comments + format
bahugo ac526ed
updating dummy channels
bahugo 4cb9ad9
Merge remote-tracking branch 'upstream/main' into bahugo/main
ruben-arts 4c8114d
fix: nested test
ruben-arts ca93d62
Merge branch 'main' into main
ruben-arts edc84c1
format
ruben-arts 0254a01
fix: test on windows
ruben-arts 95f9167
fix: test for real v1
ruben-arts 61e64dc
fix: executable path name
ruben-arts 71f61a3
fix: test
ruben-arts 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 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
I tried this example on Linux but that package doesn't seem to work. Do you understand why the
dotnet
setup is using a nonbin/xx
setup for it's binaries?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.
I have no Idea.
I had never tried to install dotnet on linux but you're right, it's installed in
.pixi/envs/dotnet/lib/dotnet/dotnet
For some reason everything is painful with windows tools...
Maybe a more cross platform or generic tool would be better for the documentation.
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.
Yeah, I contacted @dhirschfeld as he is a pixi user and the maintainer of
dotnet
maybe he has some smart things to say about this.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.
Not sure about smart - the TL;DR is that it's just a binary repackage of upstream and that seems to be the way it's packaged by Microsoft.
The package sets a number of env vars in an activation script, including the PATH. I'd like to port setting/unsetting the env vars to the JSON format (assuming that works with
pixi
?) but haven't gotten around to it.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.
Yes pixi supports that 👍
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.
Is there another example package, where this would be required, that does work on linux?