1393 Commits

Author SHA1 Message Date
João Marcos
11344a6ffd
Fix tar extraction count when --quiet (#824) 2025-05-17 13:02:38 -03:00
tommady
da9b32a366
Fix 7z BadSignature error when compressing and then listing (#819) 2025-05-17 13:00:25 -03:00
João Marcos
c3b89b038d
improve misleading error message (#818)
Follow up to #817
2025-05-06 00:27:43 -03:00
João Marcos
c8f97197c3
Give good error messages when archive extensions are invalid (#817)
+ simplify unit tests, don't require them to start the logger

+ unrelated TODOs
2025-05-06 00:08:38 -03:00
Amyspark
07967927dd
feat: Make bzip3 optout (#814)
Co-authored-by: João Marcos <marcospb19@hotmail.com>
2025-05-03 20:43:59 -03:00
tommady
1ff1932e3d
Merge folders in decompression (#798)
Signed-off-by: tommady <tommady@users.noreply.github.com>
2025-05-01 04:20:33 -03:00
Talison Fabio
c97bb6a2d6
feat: Add flag '--no-smart-unpack' to disable smart unpack (#809) 2025-04-28 11:03:50 -03:00
João Marcos
2b9da1e441 Bump version to 0.6.1 0.6.1 2025-04-20 23:05:08 -03:00
João Marcos
add1793d75 Update draft-release-automatic-trigger.yml 2025-04-20 17:19:32 -03:00
João Marcos
c3ff0e963f
Releases: restore previous directory structure (#805) 2025-04-20 13:12:34 -03:00
João Marcos
0b122fa05c
Fix .zip crash when file mode isn't present (#804) 2025-04-20 13:09:48 -03:00
João Marcos
739dfa9507 Bump version to 0.6.0 0.6.0 2025-04-18 17:56:57 -03:00
Talison Fabio
4961a2c478 tweak: Align file sizes at left to make output clearer (#792) 2025-04-18 13:00:18 -03:00
João Marcos
ab5dd00b86
Fix release CI (#797) 2025-04-18 03:20:31 -03:00
Talison Fabio
267ce7672e
feat: ignore .git/ when -g/--gitignore is set (#795) 2025-04-17 13:56:02 -03:00
tommady
08416c7a22
change crate from sevenz-rust to sevenz-rust2 (#796) 2025-04-17 13:42:35 -03:00
João Marcos
fdab666bf8
Enable all tests in CI (#787)
Some tests are behind the feature `allow_piped_choice`.

By adding that to the feature list we include these tests.
2025-04-16 17:48:04 -03:00
tommady
b9b1e11303
Store symlinks by default and add --follow-symlinks to toggle it (#789) 2025-04-16 17:43:46 -03:00
Mihail Malo
7b082b59c5
Sort results.md (#791)
I was so confused I barely escaped with my life
2025-04-14 13:24:27 -03:00
MisileLab
21e7fdf3d6
Fix typo in CHANGELOG.md (#790) 2025-04-13 17:23:42 -03:00
Talison Fabio
c584170a24
tweak: replace '.tmp-ouch-' prefix with 'tmp-ouch-' for smart unpack (#788) 2025-04-08 11:53:31 -03:00
Talison Fabio
c6cbf6e157 perf: replace .count() from iterators to more performative operations 2025-04-07 21:38:41 -03:00
João Marcos
61dab2af29 CI: fix releases 2025-04-06 16:18:33 -03:00
Talison Fabio
3bf6aaa810 chore: improvements 2025-04-04 18:30:50 -03:00
Talison Fabio
8c8d00cab8 update CHANGELOG.md 2025-04-04 18:30:50 -03:00
Talison Fabio
35a3f3627c fix: remove unnecessary allow_piped_choice check config on test 2025-04-04 18:30:50 -03:00
Talison Fabio
081642724e cargo clippy 2025-04-04 18:30:50 -03:00
Talison Fabio
184bafc0fa test: format 2025-04-04 18:30:50 -03:00
Talison Fabio
8c478a3f9d test: fix renamed test and implement to check disabled smart_unpack 2025-04-04 18:30:50 -03:00
Talison Fabio
bb22cbb738 fix: check valid empty directory 2025-04-04 18:30:50 -03:00
Talison Fabio
3258cbef5b refactor: improve execute_decompression legibility 2025-04-04 18:30:50 -03:00
Talison Fabio
f65444d2fb feat: add conditional smart_unpack when --dir is provided 2025-04-04 18:30:50 -03:00
Talison Fabio
4f9a786e57 feat: add flag to check when use specify --dir 2025-04-04 18:30:50 -03:00
Talison Fabio
82c551ddef update CHANGELOG.md 2025-04-04 11:57:46 -03:00
Talison Fabio
31dd9eb923
feat: Add rename option in overwrite menu (#779)
* feat: Add generic Choice prompt implementation

* feat: use ChoicePrompt in user_wants_to_continue method

* feat: add "rename" option in ask_to_create_file method

* feat: check accessible mode for choises prompt

* feat: rename file in "ask_to_create_file" rename action

* feat: create "resolve_path" for smart_unpack to deal with rename

* feat: use resolve_path instead clear_path in smart_unpack

* fix: remove unused clear_path function

* chore: cargo fmt

* Add docs

* refactor: rename "resolve_path" method

* chore: fix ChoicePrompt doc

* doc: improve doc of resolve_path_conflict

* fix: out of bound when type answer bigger than some choice

* doc: improve rename_path docs

* chore: cargo fmt

* chore: revert user_wants_to_continue

* fix: update error message when find EOF in choise prompt response

* revert: update message error in ChoicePrompt instead Confirmation

* test: add overwrite and cancel tests

* test: Add rename test with "allow_piped_choice" new feature

* cargo fmt

* test: create test for autoincrement new renamed files
2025-03-30 19:19:21 -03:00
João Marcos
27e727ced3 update dependencies 2025-03-01 00:01:45 -03:00
Pascal Hertleif
ecc05cdd60 feat: Add support for Brotli
Using https://crates.io/crates/brotli/7.0.0

#203
2025-02-12 13:59:18 -03:00
Pascal Hertleif
58271ab77f refactor(cli): Clearer docs for -y/-n 2025-02-12 10:12:54 -03:00
Pascal Hertleif
fadfe1a213 fix(cli): Align docs phrasing and capitalization 2025-02-12 10:12:54 -03:00
Pascal Hertleif
f3b7c0277f fix(cli): Fix typo in 'concurrent' 2025-02-12 10:12:54 -03:00
Pascal Hertleif
aeefa694bf fix: Use BufWriter for list output
Also replaces one `print` call with `write`.

Fixes #702
2025-02-12 10:10:37 -03:00
ttyS3
28d0933d6c fix: change threads short flag to -c in cli args to avoid conflict with tree 2024-12-14 19:52:32 -03:00
ttyS3
e1d7f1424a refactor: improve code formatting in mod.rs and logger.rs 2024-12-14 19:52:32 -03:00
ttyS3
77b01d170f refactor(cli): move thread pool setup to command execution, use thread::spawn instead of rayon::spawn in the logger thread 2024-12-14 19:52:32 -03:00
ttyS3
6b38e1dd46 feat: add concurrent working threads option to CLI args 2024-12-14 19:52:32 -03:00
ttyS3
195483a182 docs: update changelog with new features 2024-12-14 19:22:56 -03:00
ttyS3
499ad77657 fix(cli): remove default value for remove flag in Subcommand 2024-12-14 19:22:56 -03:00
ttyS3
5941afe66e chore: remove decompress file params info to make ui_test_ok_decompress test case pass 2024-12-14 19:22:56 -03:00
ttyS3
353c360f6f style: cargo fmt with nightly version 2024-12-14 19:22:56 -03:00
ttyS3
62f3d78f44 refactor(decompress): refactor function to use DecompressOptions struct to make linter happy (too_many_arguments) 2024-12-14 19:22:56 -03:00