Skip to content

feat: add bin option support for archive extraction#6930

Closed
matixlol wants to merge 6 commits intojdx:mainfrom
matixlol:feature/static-helpers-bin-option
Closed

feat: add bin option support for archive extraction#6930
matixlol wants to merge 6 commits intojdx:mainfrom
matixlol:feature/static-helpers-bin-option

Conversation

@matixlol
Copy link
Copy Markdown
Contributor

@matixlol matixlol commented Nov 8, 2025

  • Add support for 'bin' option in install_artifact function
  • When bin is specified, rename the extracted executable to the given name
  • Only rename if exactly one executable is found in the archive

fixes #6649

disclaimer: while I know Rust and understand this code, this was 100% LLM generated. I tested the actual problem I had (yt-dlp being named yt-dlp_macos) and it was fixed I haven't done much beyond that.

@matixlol matixlol requested a review from risu729 November 9, 2025 17:23
@jdx
Copy link
Copy Markdown
Owner

jdx commented Nov 9, 2025

needs docs and e2e test

@matixlol matixlol requested a review from jdx November 12, 2025 02:32
@jdx jdx marked this pull request as draft November 12, 2025 13:22
@matixlol
Copy link
Copy Markdown
Contributor Author

matixlol commented Nov 23, 2025

why set as draft?

@jdx
Copy link
Copy Markdown
Owner

jdx commented Nov 24, 2025

tests are failing

matixlol and others added 5 commits November 26, 2025 10:52
- Add support for 'bin' option in install_artifact function
- When bin is specified, rename the extracted executable to the given name
- Only rename if exactly one executable is found in the archive

fixes jdx#6649
@matixlol matixlol force-pushed the feature/static-helpers-bin-option branch from 5859b16 to 83788ff Compare November 26, 2025 13:56
@matixlol
Copy link
Copy Markdown
Contributor Author

@jdx fixed

@github-actions
Copy link
Copy Markdown

This PR has been open for more than 30 days without activity. Please reopen if you'd like to continue working on it.

@github-actions github-actions bot closed this Dec 27, 2025
@matixlol
Copy link
Copy Markdown
Contributor Author

I can't reopen, but this was pending review @jdx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants