Spyros Roum
123ccddd91
Move the check to run
function
2021-10-15 02:44:15 +03:00
João Marcos Bezerra
16fbebe8fe
Updating Cargo.lock to newer dependencies ( #92 )
...
bitflags v1.2.1 -> v1.3.2
cc v1.0.69 -> v1.0.71
filetime v0.2.14 -> v0.2.15
pkg-config v0.3.19 -> v0.3.20
ppv-lite86 v0.2.10 -> v0.2.14
proc-macro2 v1.0.28 -> v1.0.30
quote v1.0.9 -> v1.0.10
redox_syscall v0.2.9 -> v0.2.10
syn v1.0.74 -> v1.0.80
thiserror v1.0.26 -> v1.0.30
thiserror-impl v1.0.26 -> v1.0.30
2021-10-14 20:12:42 -03:00
figsoda
69e5e3291c
Fix single file decompression with specified output directory ( #93 )
2021-10-14 20:00:40 -03:00
Spyros Roum
9907ebcf36
Properly detect if we are compressing a partially compressed file
2021-10-15 00:33:17 +03:00
João Marcos Bezerra
c89c34a91f
Fix single format compression ( #89 )
...
Now working for formats that are not archives, like file.gz and file.xz
2021-10-14 18:17:52 -03:00
Santo Cariotti
1c24f41494
chore: print format type instead of index ( #84 )
...
When it raises an error caused by position of the format, now prints
the format type as string instead of the position inside the array of
formats.
In this way you can read on stdout the type like `.tar` or `.lz` instead
of `1`, `2`, .., `n`.
2021-10-14 17:18:46 -03:00
figsoda
f923423a06
Extension: add support for tgz ( #85 )
...
* extension: add support for tgz
2021-10-14 16:55:34 -03:00
figsoda
cd461fa5a5
apply clippy lints and small refactors ( #86 )
2021-10-14 16:22:48 -03:00
Vinícius Miguel
f46ff3c26e
CI: stop building for ARM and Windows MinGW ( #82 )
2021-10-07 22:30:07 -03:00
Vinícius Miguel
a96eb53625
CI: bump VM's Ubuntu version to 20 ( #81 )
2021-10-07 18:31:41 -03:00
Vinícius Miguel
14961bed65
Check if a folder is being compressed to a non-archive format ( #79 )
2021-10-07 17:09:33 -03:00
Vinícius Rodrigues Miguel
a739b5a482
Re-add "Compressing" output to Tar and make Tar and Zip compression use the info
macro
2021-10-07 11:36:54 -03:00
Vinícius Miguel
22f57e634f
Merge pull request #75 from ouch-org/dont-upload-artifacts-unused
...
CI: don't upload unused artifacts
2021-10-07 01:12:57 -03:00
João Marcos Bezerra
4e382491c5
CI: remove --release from unused artifacts
...
This will speed up compilation in our CI.
2021-10-07 00:54:38 -03:00
João Marcos Bezerra
97825b8ad5
CI: don't upload unused artifacts
...
Just upload artifacts that are supported by the installer
2021-10-07 00:48:52 -03:00
João Marcos Bezerra
30733662bf
Merge pull request #74 from ouch-org/mime-type-on-tests
...
test: check the resulting compressed files through MIME types
2021-10-07 00:02:31 -03:00
Vinícius Rodrigues Miguel
d4862e2b6f
test: check the resulting compressed files through MIME types
2021-10-06 23:54:20 -03:00
Vinícius Rodrigues Miguel
89271d465f
extension: fix .bz2
being inferred to Gzip
2021-10-06 23:53:34 -03:00
Vinícius Rodrigues Miguel
a6eaef1220
commands: replace usage of "bundle" by "archive"
2021-10-06 22:37:36 -03:00
Vinícius Miguel
8bf087bbd7
Merge pull request #69 from ouch-org/fix-ci
...
CI: fix macOS executable paths
2021-10-06 19:22:49 -03:00
Vinícius Miguel
23a3eafc3f
CI: fix macOS executable paths
2021-10-06 19:18:07 -03:00
João M. Bezerra
14c7023046
Remove warning in zstd dependency specification
2021-10-06 17:30:03 -03:00
Vinícius Rodrigues Miguel
b804e820f2
Reduce binary size used by Zstd
2021-10-06 17:19:29 -03:00
Vinícius Rodrigues Miguel
b093277a85
Refactor FinalError::display_and_crash
into Error::Custom
0.2.0
2021-10-06 16:23:19 -03:00
Vinícius Rodrigues Miguel
40410840c9
error: add MissingArgumentsForDecompression
2021-10-06 15:55:13 -03:00
Vinícius Rodrigues Miguel
990458b771
Release 0.2.0
2021-10-06 15:39:55 -03:00
Vinícius Miguel
a8beaaae84
Merge pull request #65 from ouch-org/buffers-capacity-improvement
...
Increasing read and writer buffers capacity
2021-10-06 01:07:28 -03:00
João M. Bezerra
5b54bf85ee
Increasing read and writer buffers capacity
...
By changing from 8KB to 64KB we will be making 8 times less syscalls
2021-10-06 00:56:39 -03:00
João Marcos Bezerra
c4bf226a54
Merge pull request #64 from ouch-org/zstd
...
Add support for Zstd
2021-10-06 00:19:10 -03:00
Vinícius Miguel
5597ddc341
readme: mark Zstd as supported
2021-10-06 00:03:06 -03:00
Vinícius Rodrigues Miguel
e9bc65a787
Add support for Zstd
2021-10-05 23:56:09 -03:00
João M. Bezerra
3f718b8335
Simplify tests by making gen_args more generic
2021-10-05 22:21:11 -03:00
João Marcos Bezerra
4ddc21a551
Merge pull request #61 from GabrielSimonetto/issue-48
...
Make the "decompress" command explicit
2021-10-05 22:10:27 -03:00
Gabriel Simonetto
788809b8f3
Make decompress command explicit
...
- No subcommand given now calls the help menu
- Also added docs for the short version of compress and decompress
2021-10-05 22:06:18 -03:00
João Marcos Bezerra
8bd4ae9794
Merge pull request #60 from ouch-org/no-color-when-redirected
...
Don't use colors when `stdout` or `stderr` are being redirected
2021-10-05 21:19:31 -03:00
Vinícius Rodrigues Miguel
e7dd6f2d4f
Don't use colors when stdout
or stderr
are being redirected
2021-10-05 21:12:15 -03:00
João M. Bezerra
f7139548f6
Switch from BTree to Hash collections
2021-10-05 18:10:28 -03:00
João M. Bezerra
2f5083278f
Add libc dependency
...
Cross compatible (with windows) exit failure code
2021-10-03 00:20:12 -03:00
João M. Bezerra
89d1e6a752
Document modules
2021-10-03 00:17:57 -03:00
João Marcos Bezerra
7178ae84ff
Fix tests/utils.rs warning suppresion
2021-10-02 23:40:51 -03:00
João Marcos Bezerra
402f33b1cc
Merge pull request #57 from GabrielSimonetto/issue-41
...
Allow compression of empty folders
2021-10-02 20:43:45 -03:00
Gabriel Simonetto
e352f8bc93
Allow empty dirs on tar
2021-10-02 17:33:16 -03:00
Gabriel Simonetto
0c65fbd2d4
Allow empty dirs on zip
2021-10-02 17:14:16 -03:00
João M. Bezerra
d43a93d8bb
Moving some tests utilities to tests/utils.rs
2021-10-02 17:12:59 -03:00
Gabriel Simonetto
4431e8e047
Create failing test
2021-10-02 17:12:59 -03:00
João M. Bezerra
3cd8b3aa51
CI: Removing fallible mac arm64 job
2021-10-02 02:11:58 -03:00
Vinícius Rodrigues Miguel
df062f4155
zip: optimize UTF-8 checks on Unix, remove unneeded Clone
2021-10-01 19:13:43 -03:00
Vinícius Rodrigues Miguel
17d8959a0f
unix: if setting permission fails, return an error instead of panicking
2021-10-01 12:00:52 -03:00
Vinícius Rodrigues Miguel
8fc2f06ef7
error: remove unused error variants
2021-10-01 11:46:20 -03:00
João M. Bezerra
9265198f58
Fix workflows new path for binaries
2021-09-26 23:02:59 -03:00