Skip to content
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

Untar directly in rust #1347

Merged
merged 2 commits into from
Oct 25, 2023

Conversation

passcod
Copy link
Contributor

@passcod passcod commented Oct 20, 2023

Good: doesn't require tar and bzip2 cli tools
Bad: more rust dependencies I guess

This PR also changes the untar process to be a little more resistant to unexpected crashes (or power failures), downloading and unpacking to a staging directory before moving the new sources in place. Happy to split that into its own PR if you want.

@workingjubilee
Copy link
Member

I am not immediately sure if we want to accept this (probably? I'd want to check with the others first), but I know I'd click the merge button on a making-the-process-more-resilient PR.

Copy link
Member

@workingjubilee workingjubilee left a comment

Choose a reason for hiding this comment

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

Talked to @thomcc and he says this means we're compiling in and shipping libbzip2, but that seems fine. Preferable, even.

Good: doesn't require tar and bzip2 cli tools
Bad: more dependencies I guess
@passcod
Copy link
Contributor Author

passcod commented Oct 25, 2023

Rebased

@workingjubilee workingjubilee merged commit c96546c into pgcentralfoundation:develop Oct 25, 2023
9 checks passed
@passcod passcod deleted the untar-in-rust branch October 26, 2023 03:30
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