-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[bun install] manual os overide flags + basic level of libc filtering for linux #21174
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
RiskyMH
wants to merge
39
commits into
main
Choose a base branch
from
riskymh/install-libc
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.
Open
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
10e8075
manual install flags + basic level of libc filtering
RiskyMH c5d2928
[autofix.ci] apply automated fixes
autofix-ci[bot] 22f707b
fix tests
RiskyMH 1df8ad0
.
RiskyMH c31bd95
feedback
RiskyMH 5cacd0d
Update npm.zig
RiskyMH e76f90f
Merge branch 'main' into riskymh/install-libc
RiskyMH 48f0a7f
.
RiskyMH 9d6b3d0
[autofix.ci] apply automated fixes
autofix-ci[bot] 5b56b6e
better tests
RiskyMH b73c906
[autofix.ci] apply automated fixes
autofix-ci[bot] 07f1beb
Merge branch 'main' into riskymh/install-libc
RiskyMH f3879a5
test more
RiskyMH 6703de0
more tests
RiskyMH 9db6309
[autofix.ci] apply automated fixes
autofix-ci[bot] 8a78796
more feedback fixes
RiskyMH 5f95d87
Update Tree.zig
RiskyMH 0a2aea0
Update bun.lock.zig
RiskyMH 8e6d4e4
Update package_json.zig
RiskyMH c5eb9c1
Update package_json.zig
RiskyMH 4be5a57
.
RiskyMH a39255d
[autofix.ci] apply automated fixes
autofix-ci[bot] bfcc678
.
RiskyMH a8a7225
simplify
RiskyMH 2db492e
oops
RiskyMH 1445e86
.
RiskyMH b1914a6
.
RiskyMH 56c7667
[autofix.ci] apply automated fixes
autofix-ci[bot] ad5f00e
feedback
RiskyMH 7b78979
nvm
RiskyMH 006b221
Update npm.zig
RiskyMH 0037bbe
Merge branch 'main' into riskymh/install-libc
RiskyMH ec2f2aa
an actual solution?
RiskyMH afbeae1
Merge branch 'main' into riskymh/install-libc
RiskyMH 9d9ccbc
Update yarn.zig
RiskyMH 0110d33
Update yarn.zig
RiskyMH 86ca965
Update yarn.zig
RiskyMH 414f08a
Merge branch 'main' into riskymh/install-libc
RiskyMH dd67609
not used anymore
RiskyMH 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
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
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
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
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
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
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
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
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
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
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.
just makes it a little more simple. we can assume the package name is valid. also, when the package has a '/', should we also check for '-' before looking for keywords?
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 was half trying to have best perf as who knows how many times this fn gets ran (yes i know its not too much, but every little thing right)
Yeah we could check for
-there too but im not sure if its going to gain much and I haven't checked enough to see whats in use (ie is there a @mybuild/win32 or smth)Uh oh!
There was an error while loading. Please reload this page.
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.
@mybuild/win32is a good example, wouldn't be surprised if this is common. let's not check for '-' if it's scopedThere 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 don't think(/hope) anyone puts the specific stuff in the org part, so I think its fine to only search the actual name part
In anycase, this should yield a default true for unmatched packages in this rudimentary search (as if bun doesn't see libc, it assumes all)