1
0
Fork 0
Commit Graph

70 Commits

Author SHA1 Message Date
jvoisin d4479d9baa Bump the changelog 2021-08-29 13:33:47 +02:00
jvoisin c5841a241d Bump the changelog 2021-03-19 17:54:21 +01:00
jvoisin 88fa71fbde Bump the changelog 2020-12-18 17:55:41 +01:00
jvoisin 61dce89fbd Raise a ValueError explicitly 2020-11-30 18:52:07 +01:00
jvoisin d008b1e2f0 Bump the changelog 2020-03-29 13:21:55 +02:00
Antoine Tenart 843c0d8cc5 mat2: standardize the help messages format
This is a cosmetic patch only.

Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2020-02-27 10:25:29 +01:00
jvoisin 12f23e0150 Bump the changelog 2020-02-09 19:00:34 +01:00
jvoisin da182dc2f8 Bump the changelog 2019-11-30 18:31:07 +01:00
georg 697cb36b81 This is mat2, not MAT2
Closes #131
2019-11-30 01:14:41 -08:00
jvoisin a389cc760a Fix a stacktrace in ./mat2 when the file can't be cleaned 2019-10-17 22:51:00 +02:00
jvoisin 4034cf9a1a Copy file permissions
Mat2 (the cli) will now copy the input file permissions
to the output file.
2019-10-13 11:54:47 +02:00
jvoisin 5f0b3beb46 Add a way to disable the sandbox
Due to bubblewrap's pickiness, mat2 can now be run
without a sandbox, even if bubblewrap is installed.
2019-10-12 16:13:49 -07:00
jvoisin 40669186c9 Add support for inplace cleaning 2019-08-31 10:31:08 -07:00
jvoisin d76a6cbb18 Some arguments of mat2 are mutually exclusive 2019-08-01 08:14:21 -07:00
jvoisin 00d728f6cc Display the filename along with the "No metadata found" message 2019-07-18 01:30:28 +02:00
jvoisin 88b95923ab Parallelize the cli 2019-06-05 22:28:57 +02:00
Antoine Tenart f19f6ed8b6 Rework the dependency checks to distinguish required/optional ones
Rework the dependencies definition to include a 'required' flags, which
is passed by the check_dependencies helper to the callers, so that they
can distinguish between required and optional dependencies.

This help in two ways:
- The unit test for the dependencies was now failing when an optional
  one was missing, due to a previous rework.
- Mat2's --check-dependencies was referring to "required dependencies"
  and was misleading for the user as some of them could be optional.

Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2019-05-13 23:35:26 +02:00
jvoisin ef665e6dc1 Please pylint 2019-05-13 23:31:46 +02:00
jvoisin aa0ff643c4 Improve a bit the debug mode 2019-05-13 22:12:00 +02:00
jvoisin d0ab2c3023 Bump the changelog 2019-05-10 22:16:38 +02:00
jvoisin f1a06e805b Fix an erroneous errors message
This one was spotted by @fuzzy
2019-05-08 22:34:32 +02:00
jvoisin 74afa885f5 Please pylint 2019-03-30 10:39:39 +01:00
Antoine Tenart c8602b8c7e mat2: display the default choice of --unknown-members in the help
Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2019-03-26 18:16:03 +01:00
Antoine Tenart b4b150a4f5 mat2: do not check the input file for W_OK
Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2019-03-26 18:11:21 +01:00
Antoine Tenart 2405df0469 mat2: fix typo in error message when a file does not exist
Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2019-03-23 00:33:18 +01:00
georg 1327089a30 Small fixes for newer pylint versions 2019-03-07 21:53:43 +01:00
jvoisin cb8a016319 Bump the changelog 2019-02-28 00:13:28 +01:00
jvoisin 6b45064c78 Bump the changelog 2019-02-17 17:02:17 +01:00
jvoisin 54e50450ad Fix the return code on parsers' list display 2019-02-03 21:09:12 +01:00
jvoisin 505be24be9 Bump the changelog 2018-11-10 12:46:31 +01:00
jvoisin 8ff57c5803 Do not display control characters in output
Kudos to Sherry Taylor for reporting this issue ♥
2018-11-07 22:07:46 +01:00
jvoisin 04bb8c8ccf Add mp4 support 2018-10-28 07:41:04 -07:00
jvoisin e510a225e3 Bump the changelog 2018-10-23 17:07:42 +02:00
jvoisin e70ea811c9 Implement support for .avi files, via ffmpeg
- This commit introduces optional dependencies (namely ffmpeg):
  mat2 will spit a warning when trying to process an .avi file
  if ffmpeg isn't installed.
- Since metadata are obtained via exiftool, this commit
  also refactors a bit our exfitool wrapper.
2018-10-22 12:58:01 +02:00
jvoisin 2ae5d909c3 Make pyflakes happy 2018-10-18 21:22:28 +02:00
jvoisin 5896387ade Output metadata in a sorted fashion 2018-10-18 21:17:12 +02:00
jvoisin 2ba38dd2a1 Bump mypy typing coverage 2018-10-12 14:32:09 +02:00
jvoisin b832a59414 Refactor lightweight mode implementation 2018-10-12 11:49:24 +02:00
jvoisin 2444caccc0 Make pylint happier 2018-10-11 19:55:07 +02:00
jvoisin b9dbd12ef9 Implement recursive metadata for FLAC files
Since FLAC files can contain covers, it makes sense
to parse their metadata
2018-10-11 19:52:47 +02:00
Simon Magnin 35dca4bf1c add recursivity for archive style files 2018-10-11 08:28:02 -07:00
jvoisin 0d25b18d26 Improve both the typing and the comments 2018-10-05 17:07:58 +02:00
jvoisin d0f3534eff Hide unsupported extensions in `mat2 -l` 2018-10-05 12:43:21 +02:00
jvoisin 8675706c93 Improve the display of mat2 when no metadata are found
This should close #74
2018-10-05 12:35:35 +02:00
jvoisin f1ceed13b5 Bump the changelog 2018-10-03 16:38:05 +02:00
jvoisin 7901fdef2e Fix the testsuite 2018-10-03 15:29:46 +02:00
jvoisin 1b356b8c6f Improve mat2's cli reliability
- Replace some class members by instance members
- Don't thread the cleaning process anymore for now
2018-10-03 15:22:36 +02:00
Yoann Lamouroux 0a2a398c9c trivial modification of all shebang.
`/usr/bin/python3` -> `/usr/bin/env python3`

It's always better to trust the environment defined path to bin/python, as
virtualenv become the way to go.
2018-09-12 14:58:27 +02:00
jvoisin 120b204988 Change a bit the previous commit 2018-09-06 11:13:11 +02:00
Daniel Kahn Gillmor f3cef319b9 Unknown Members: make policy use an Enum
Closes #60

Note: this changeset also ensures that clean.cleaned.docx is removed
up after the pytest is over.
2018-09-05 18:59:33 -04:00