Skip to content

feat(extract): extract 7zip files #1779

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
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

lucascolley
Copy link
Contributor

@lucascolley lucascolley commented Jul 16, 2025

untested

@lucascolley lucascolley marked this pull request as ready for review July 17, 2025 20:55
Comment on lines -160 to -164
/// Determines if a file should be extracted based on its name
fn should_extract_file(filename: &str) -> bool {
is_tarball(filename) || filename.ends_with(".zip")
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lucascolley lucascolley requested a review from remimimimimi July 17, 2025 20:59
@lucascolley
Copy link
Contributor Author

lucascolley commented Jul 17, 2025

now tested and working with the 7zip recipe!

7zip-feedstock\recipe on 🎋 convert_feedstock_to_v1_recipe_format [🔨?]C:\Users\lucas\.cargo\bin\rattler-build.exe build -vvv
...
2025-07-17T21:01:40.745763Z DEBUG Running build for{recipe="7zip-24.08-h9490d1a_2"}:Fetching source code: rattler_build::source::url_source: Saved download metadata to: E:\dev\feedstocks\7zip-feedstock\recipe\output\src_cache\7z2408-src_4df7a62e.7z.json
Extracting 7zip file to cache: E:\dev\feedstocks\7zip-feedstock\recipe\output\src_cache\7z2408-src_4df7a62e.7z
Copying source from url: E:\dev\feedstocks\7zip-feedstock\recipe\output\src_cache\7z2408-src_4df7a62e to E:\dev\feedstocks\7zip-feedstock\recipe\output\bld\rattler-build_7zip_1752786098\work
2025-07-17T21:01:49.521865Z  INFO rattler_index: Adding 0 packages to subdir win-64.
...
✔ all tests passed!
Artifact: E:\dev\feedstocks\7zip-feedstock\recipe\output\win-64\7zip-24.08-h9490d1a_2.conda (1.22 MiB)

@lucascolley lucascolley changed the title feat(extract): extract 7z files feat(extract): extract 7zip files Jul 17, 2025
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.

2 participants