-
Notifications
You must be signed in to change notification settings - Fork 27
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
chore: Custom .tar.gz and .zip unarchive functions #1824
chore: Custom .tar.gz and .zip unarchive functions #1824
Conversation
882eb54
to
bbe51e3
Compare
I'm getting this error when testing updating on my mac:
edit: Let me re-pull and try again, my branch might have been out of date |
OK, I repulled, slightly different error message but same basic issue:
|
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.
Tested upgrades on mac, win, and linux, all working great.
fca4278
to
7567069
Compare
* add new methods for extracting .tar.gz and .zip; * gosec fixes * ignore EOF err when writing to dst file * use OpenFile for tar * ensure archive file parent dir exists * 0700 permission on files parent
Proposed Change
Adds custom functions for unpacking .tar.gz and .zip packages to the updater. Doing so to remove the
mholt/archiver/v3
dependency due to this issue.Checklist