957 Commits

Author SHA1 Message Date
figsoda
f610ff596b
Merge pull request #297 from ouch-org/fix-fatal-error-if-read-fails-when-compressing
Fix fatal error if read fails when compressing
2022-10-15 22:38:12 -04:00
figsoda
dc6e98b1df
Merge pull request #299 from ouch-org/fix-error-message-when-compressing-zip-archive
fix error message when compressing zip archive
2022-10-15 22:36:23 -04:00
João M. Bezerra
9f7cba79e1 use remove_file_or_dir to remove dir check 2022-10-15 22:31:47 -03:00
João M. Bezerra
a29ff3c637 fix error message when compressing zip archive 2022-10-15 22:22:52 -03:00
João M. Bezerra
6e6796bf4e fix clippy warnings 2022-10-15 22:19:30 -03:00
João M. Bezerra
70bdfc4e99 improve fatal error message 2022-10-15 22:06:40 -03:00
João M. Bezerra
2da497c1ca fix fatal error if read fails when compressing 2022-10-15 22:01:30 -03:00
João M. Bezerra
4d2ccf4873 create remove_file_or_dir util 2022-10-15 21:51:52 -03:00
João M. Bezerra
f5fc7bd755 improve documentation of compress_files 2022-10-15 21:51:29 -03:00
João Marcos Bezerra
79597f48bb
Merge pull request #295 from ouch-org/remove-unwrap
Fix not overwriting a folder when compressing
2022-10-15 21:40:31 -03:00
João M. Bezerra
effe0b30b8 add changelog entry 2022-10-15 21:38:57 -03:00
João M. Bezerra
cdd1b530be fix not overwriting a folder when compressing 2022-10-15 21:36:24 -03:00
João Marcos Bezerra
7fdedac8da
Merge pull request #289 from figsoda/reactivate-targets
reactivate ci targets for arm linux and windows mingw
2022-10-15 20:45:15 -03:00
João Marcos Bezerra
c128e07c67
Merge pull request #288 from figsoda/recursive-compression
fix infinite compression if output file is inside the input folder
2022-10-15 19:37:40 -03:00
figsoda
57e7c8c49e add changelog entry [skip ci] 2022-10-14 14:38:41 -04:00
figsoda
628e14f281 reactivate ci targets for arm linux and windows mingw 2022-10-14 14:33:00 -04:00
figsoda
2489d132dd add changelog entry 2022-10-13 21:05:15 -04:00
figsoda
afdbf178ed fix infinite compression if output file is inside the input folder 2022-10-13 21:05:15 -04:00
figsoda
bda6c27062
Merge pull request #286 from ouch-org/remove-partial-compression-and-decompression-feature
Remove automatic detection for partial compression
2022-10-13 20:11:54 -04:00
João M. Bezerra
2cb75a9edd add changelog entry 2022-10-13 18:53:37 -03:00
João M. Bezerra
3d29e17060 remove automatic detection for partial compression 2022-10-13 18:53:29 -03:00
João Marcos Bezerra
385a630d0e
Merge pull request #280 from figsoda/rewrite-progress
rewrite progress module
2022-10-13 15:00:57 -03:00
figsoda
889f1d9c35 fix typo 2022-10-13 11:51:48 -04:00
figsoda
d4766c4bf3
Merge branch 'main' into rewrite-progress 2022-10-13 11:37:09 -04:00
figsoda
51855948f1 add OutputLine trait for performance improvements 2022-10-13 11:31:43 -04:00
figsoda
dd6ab2aa6e rename out to log_out 2022-10-13 10:27:04 -04:00
João Marcos Bezerra
b64d0c0c55
Merge pull request #281 from figsoda/humansize
use humansize instead of Bytes
2022-10-13 02:44:01 -03:00
figsoda
a28291407b add changelog entry 2022-10-12 22:56:33 -04:00
figsoda
2f4404e658 use humansize instead of Bytes 2022-10-12 22:33:41 -04:00
figsoda
759f322722 add changelog entry 2022-10-12 20:53:34 -04:00
figsoda
8b0f4f3ee4 rewrite progress module 2022-10-12 20:49:33 -04:00
figsoda
ee082e1367
Merge pull request #279 from figsoda/compress-zip-modified
set last modified time during zip compression
2022-10-12 13:22:19 -04:00
figsoda
7444568259 add changelog entry 2022-10-11 22:06:07 -04:00
figsoda
09d390608f set last modified time during zip compression 2022-10-11 22:01:13 -04:00
João Marcos Bezerra
e92b538d72
Merge pull request #278 from ouch-org/refactor-last-modified-times-when-unpacking-archives
Check for errors when setting the last modified time
2022-10-11 22:27:45 -03:00
João M. Bezerra
acb756671a update changelog 2022-10-11 22:10:34 -03:00
João M. Bezerra
a2c91c4248 minor tweaks 2022-10-11 22:09:39 -03:00
João M. Bezerra
71893aafeb Refactor the way we set last modified times
Last modified time is a piece of metadata that is available when
decompressing an archive
2022-10-11 22:09:39 -03:00
João Marcos Bezerra
e12c25e833
Merge pull request #277 from ouch-org/wann-file-extension-passed-as-file-name
Warn user if file extension is passed as file name
2022-10-11 21:19:02 -03:00
João M. Bezerra
4f0839f0a9 update changelog 2022-10-11 20:58:44 -03:00
João M. Bezerra
f554e3c5f0 warn user if file extension is passed as file name
example: .tar.gz is a file named .tar with extension .gz

this can be confusing because people might expect .tar.gz to be a
.tar.gz archive, but it's currently not
2022-10-11 20:57:55 -03:00
João Marcos Bezerra
cd21ee99b8
Merge pull request #276 from figsoda/update-deps
bump dependencies
2022-10-11 17:41:45 -03:00
figsoda
fe0af16576
Merge pull request #275 from ouch-org/show-aliases-in-help-message
Show subcommand aliases on `--help`
2022-10-11 16:39:54 -04:00
figsoda
cc6b2c37b6 add changelog entry 2022-10-11 16:30:07 -04:00
figsoda
dfb3a367e4 bump dependencies 2022-10-11 16:27:27 -04:00
João M. Bezerra
22697737cd show aliases on --help 2022-10-11 17:19:08 -03:00
João Marcos Bezerra
f8e6075ee4
Merge pull request #273 from figsoda/mangen
Generate man pages with clap_mangen
2022-10-11 15:54:11 -03:00
João M. Bezerra
31f4f7a162 Update .gitignore 2022-10-11 15:44:34 -03:00
figsoda
fdd9c5be6f chore: add and fix changelog entries 2022-10-03 20:56:48 -04:00
figsoda
5dc8d3efed fix: apply clippy lints 2022-10-03 20:56:48 -04:00