640 Commits

Author SHA1 Message Date
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
figsoda
5d27a0cd0b feat: generate man pages with clap_mangen 2022-10-03 20:56:48 -04:00
João Marcos Bezerra
398a619018
Merge pull request #271 from figsoda/zip-permissions
fix: respect file permissions when compressing zip files
2022-09-16 18:46:57 -03:00
João Marcos Bezerra
ff8619acb7
Merge pull request #270 from figsoda/fix-ext-warning
fix: incorrect warnings for decompression
2022-09-01 17:37:08 -03:00
figsoda
6d8ebbf273 chore: add CHANGELOG.md entry 2022-09-01 16:27:29 -04:00
figsoda
0519b5663e fix: respect file permissions when compressing zip files 2022-09-01 16:17:29 -04:00
figsoda
dcf86f7e1a chore: add CHANGELOG.md entry 2022-09-01 14:30:05 -04:00
figsoda
1f8cbdd360 fix: incorrect warnings for decompression 2022-09-01 14:27:12 -04:00
Vinícius Miguel
99ec7d2cf2
Fix wrong filename suggestions when compressing folders into non-archives (#269) 2022-08-22 23:37:04 -03:00
João Marcos Bezerra
e377dd3a3a
Merge pull request #267 from figsoda/clippy
Apply clippy lints and simplify smart_unpack
2022-08-14 17:59:25 -03:00
figsoda
e9ae3114ba chore: add CHANGELOG.md entry 2022-08-14 12:32:59 +08:00
figsoda
996e597c1f fix: apply clippy lint 2022-08-14 12:32:54 +08:00
figsoda
a1c943923c refac: simplify smart_unpack to remove redundant code and make clippy happy 2022-08-14 12:24:41 +08:00
João Marcos Bezerra
72295d872c
Merge pull request #261 from ouch-org/refac/optimize-current-dir-call
refac: use `Lazy` to optimize `env::current_dir` repeated call
2022-08-12 13:06:26 -03:00
João M. Bezerra
66d73396a6 Update CHANGELOG.md 2022-08-12 13:05:30 -03:00
João M. Bezerra
86234084ab refac: use Lazy cell to optimize env::current_dir call 2022-08-12 13:03:48 -03:00
João Marcos Bezerra
b2c87c5307
Merge pull request #265 from hivehand/decompress-arg
Fix the `decompress` `-d` argument description
2022-08-12 13:01:07 -03:00
João M. Bezerra
9d4fc81281 fix typo in CHANGELOG.md 2022-08-12 13:00:36 -03:00