-
Notifications
You must be signed in to change notification settings - Fork 177
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
20
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.
+410
−319
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
0a20482
Changed exposed executable_name to executable_relname (WIP still need…
bahugo e154966
Fixed formatting and executable_name call
bahugo b04f7b2
Removed dead code
bahugo 35bb754
Added test for path stripping with nested path
bahugo 1f7f1cd
Removed constrain on executable directeory for global executables
bahugo 95abd7f
Fixing executable detection for global install
bahugo 6af1974
Updated format mapping for relname
bahugo 8e51e85
Exposing relname to manifest
bahugo be864c2
Using relname in project
bahugo c7b7d82
format
bahugo 4342032
Deleting extension in Mapping new method
bahugo 312bc47
Using strip_executable_extension
bahugo 4cf6e37
using pixi_utils::executable_from_path in global/mod.rs
bahugo 33e4d2b
Attempt to test dummy package with nested exposed
bahugo 22c83a8
Added documentation for nested expose in global install
bahugo d92df0d
Fixed testing nested_dummy
bahugo 529653c
reverted addition of rattler-build to pixi.toml
bahugo 4db54f9
Updated dummy channels
bahugo c6a4ef5
format
bahugo 66b269c
applying pre-commit
bahugo 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
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.
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.