Spyros Roum
bc33ccc99c
Update tests
2021-10-19 14:55:37 +03:00
Spyros Roum
e24c9ce931
Replace oof with clap
2021-10-19 14:42:07 +03:00
João Marcos Bezerra
1337be4f49
Merge pull request #106 from ouch-org/fix-monospace-in-readme
...
Escaping pipes in installation commands
2021-10-19 04:34:05 -03:00
João Marcos Bezerra
7a13a6410a
Escaping pipes in installation commands
...
This fixes monospaced formatting in README
2021-10-19 04:33:53 -03:00
João Marcos Bezerra
b342a16333
Merge pull request #104 from ouch-org/readme-md-error
...
Fix README small markdown error
2021-10-19 02:40:11 -03:00
João Marcos Bezerra
c7b7fa4097
Fix README small markdown error
2021-10-19 02:39:57 -03:00
João Marcos Bezerra
765fb40ec7
Readme revision ( #102 )
...
+ Added list of aliases to the README
2021-10-18 23:09:28 -03:00
João Marcos Bezerra
9d7c8a9abb
Merge pull request #100 from figsoda/cleanup
...
Minor cleanups and refactors
2021-10-18 02:01:02 -03:00
figsoda
2feefb3ca3
minor cleanups
2021-10-17 18:02:32 -04:00
João Marcos Bezerra
a424a2a017
Merge pull request #101 from dnaka91/tar-short-ext
...
Add support for short tar archive extensions
2021-10-17 18:28:54 -03:00
Dominik Nakamura
06af320595
Add support for short tar archive extensions
2021-10-18 00:42:35 +09:00
figsoda
1acf6e4d35
tests: apply clippy lints
2021-10-16 10:10:48 -04:00
João Marcos Bezerra
2c5a57c01c
Merge pull request #91 from SpyrosRoum/properly-compress-partially-compressed-files
...
Properly detect if we are compressing a partially compressed file
2021-10-15 11:38:02 -03:00
João Marcos Bezerra
55466a314e
Merge pull request #99 from SpyrosRoum/Add-proper-error-for-conflicted-flags
...
Add proper error handling for conflicting flags
2021-10-15 11:26:44 -03:00
João Marcos Bezerra
10af86831a
Merge pull request #97 from SpyrosRoum/Improve-FinalError
...
Change FinalError builder pattern to take and give ownership of self
2021-10-15 11:23:48 -03:00
João Marcos Bezerra
d33dd7f445
Merge branch 'master' into Improve-FinalError
2021-10-15 11:23:25 -03:00
Spyros Roum
16ee513906
Replace todo!
with an actual error
2021-10-15 17:21:35 +03:00
João Marcos Bezerra
1bcdfeb41c
Merge pull request #98 from ouch-org/create-contributing-md
...
Create CONTRIBUTING.md
2021-10-15 11:18:34 -03:00
Spyros Roum
c44cdf1013
Enable nightly for unstable fmt feature and run cargo fmt
2021-10-15 17:11:44 +03:00
João Marcos Bezerra
cf7b3c6e1f
Create CONTRIBUTING.md
2021-10-15 10:47:37 -03:00
João Marcos Bezerra
8224aabb2a
Merge pull request #95 from figsoda/refactor-colors
...
refactor: better NO_COLOR support
2021-10-15 10:04:12 -03:00
João M. Bezerra
15c54a615d
Renaming NO_COLOR_IS_SET to DISABLE_COLORED_TEXT
2021-10-15 09:35:07 -03:00
Spyros Roum
702e7622db
Run cargo fmt
removing redundant braces
2021-10-15 14:49:05 +03:00
Spyros Roum
d852a5897c
Change FinalError builder pattern to take and give ownership of self
...
This means that when you do `let e = FinalError::with_title("Foo").detail("Blah");`, `e` will be of type `FinalError` instead of `&mut FinalError`, thus you don't have to call `clone()` on it
2021-10-15 14:20:49 +03:00
João M. Bezerra
05f82d3aee
Adding unwrap safety for file_name
2021-10-15 05:45:56 -03:00
figsoda
161b8d0d66
refactor: better NO_COLOR support
2021-10-14 21:27:11 -04:00
Spyros Roum
baf23fa685
Use represents_several_files
instead of checking len of files
2021-10-15 02:45:07 +03:00
Spyros Roum
aa65743e4e
Add some info!
for the user
2021-10-15 02:44:34 +03:00
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