Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Feature request: (de)compression only (single-file archives) #80

Closed
justone opened this issue Aug 31, 2018 · 0 comments · Fixed by #99
Closed

Feature request: (de)compression only (single-file archives) #80

justone opened this issue Aug 31, 2018 · 0 comments · Fixed by #99
Assignees
Milestone

Comments

@justone
Copy link
Contributor

justone commented Aug 31, 2018

I've been using archiver for a while for a tool that downloads releases from github (and other places) and automatically unpacks them to make their commands available for running. Archiver has worked out very well so far.

Today, I wanted to add restic to my tool, and it's downloads are only bzip2 compressed, as opposed to being tar'd first. This is not supported by archiver.

It looks like it would be possible to add support for archives of one file that are only compressed (gz or bzip2). I am wondering, would this support be in line with the goals of the project and likely be accepted? I want to know before investing more effort.

Thanks for making such a useful library.

justone added a commit to justone/archiver that referenced this issue Sep 2, 2018
@johnarok johnarok self-assigned this Sep 12, 2018
@mholt mholt changed the title Open to contribution for single file archives? Feature request: (de)compression only (single-file archives) Nov 5, 2018
@mholt mholt added this to the 3.0 milestone Nov 7, 2018
@mholt mholt mentioned this issue Nov 7, 2018
15 tasks
@mholt mholt closed this as completed in #81 Nov 7, 2018
mholt pushed a commit that referenced this issue Nov 7, 2018
* Add support for plain .gz and .bz2 files

Closes #80

* fix tests for single file archives

* added file content detection for gz and bzip
* add test support for single file archives

* fix bzip2 source filename
mholt pushed a commit that referenced this issue Nov 7, 2018
* Add support for plain .gz and .bz2 files

Closes #80

* fix tests for single file archives

* added file content detection for gz and bzip
* add test support for single file archives

* fix bzip2 source filename
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants