jvoisin
38fae60b8b
Rename some files to simplify packaging
...
- the `src` folder is now `libmat2`
- the `main.py` script is now `mat2.py`
2018-05-18 23:52:40 +02:00
jvoisin
57d5cd0428
Bump the changelog
0.1.1
2018-05-16 23:11:18 +02:00
jvoisin
fa7d18784c
Do a pylint pass
2018-05-16 22:36:59 +02:00
jvoisin
0354c3b7e3
Add a test about unsupported files
2018-05-16 22:10:47 +02:00
jvoisin
effe68f08f
The CLI shouldn't display unsupported file extensions
2018-05-16 22:00:37 +02:00
jvoisin
7afff93e9c
Fix the build
2018-05-16 00:08:45 +02:00
jvoisin
be6d32afa8
Some arguments are mutually exclusives
2018-05-16 00:07:04 +02:00
jvoisin
7b0a27ce76
Don't process unsupported filenames with a known mimetype
2018-05-15 23:29:04 +02:00
jvoisin
94afdd970f
Don't mess with rdf for now
2018-05-15 23:28:51 +02:00
jvoisin
7dd9e8bcdf
Clear a bit the help of the cli
2018-05-15 23:27:58 +02:00
jvoisin
1aac096786
Add an svg version of the logo
2018-05-15 21:48:38 +02:00
jvoisin
6e8f9e578a
Improve a bit the readme
0.1.0
2018-05-14 22:59:42 +02:00
jvoisin
289f2b9641
Add a changelog file
2018-05-14 22:49:37 +02:00
jvoisin
2b713deb94
Add a contributing guide
2018-05-14 22:44:54 +02:00
jvoisin
c037e265c6
Add a --version
option
2018-05-14 22:44:31 +02:00
jvoisin
ef956e84d6
Remove a leftover pdf metadata
2018-05-14 22:44:17 +02:00
jvoisin
b02d72887a
Test for faulty files, and document how MAT2 is behaving wrt. them
2018-05-06 21:58:31 +02:00
jvoisin
459e9b82f7
Add linting to the CI
2018-05-01 00:11:16 +02:00
jvoisin
c4271715e4
Use full path to call exiftool
2018-04-30 23:57:05 +02:00
jvoisin
09930391c4
Clean up after the testsuite
2018-04-30 23:51:59 +02:00
jvoisin
23bc7e8f5f
Rework the way we're outputing files
2018-04-30 23:46:37 +02:00
jvoisin
d2b2a54a72
MAT2's cli now uses meaningful return codes
...
- Simplify the multiprocessing by using a Pool
- Use some functional (♥) constructions to exit
with a return code
- Add some tests to prove that we're doing things
that are working correctly
2018-04-29 22:59:23 +02:00
jvoisin
a79c9410af
Document the lightweight cleaning mode
2018-04-29 21:41:34 +02:00
jvoisin
2b1b075a8f
In mimetype's world, there is no such thing as image/bmp
2018-04-26 21:50:18 +02:00
jvoisin
cfc3a58550
Add a test for odg
2018-04-23 00:28:36 +02:00
jvoisin
0fa184cb6f
Test .odf support
2018-04-23 00:25:06 +02:00
jvoisin
73db16031b
Add a warning about the beta status of MAT2
2018-04-23 00:11:34 +02:00
jvoisin
42aa32fb35
Simplify a bit the main.py file
2018-04-23 00:11:25 +02:00
jvoisin
9e485c0dad
Clean up the torrent implementation
2018-04-22 23:48:01 +02:00
jvoisin
57bf89e035
Add support for torrent files cleaning
2018-04-22 22:02:00 +02:00
jvoisin
ecb199b4a6
Add a cli-related test
...
Since I didn't notice that it was broken
until c5f51345029440ab80cfa1670d554a9d851d57c4,
it's a good idea to have some tests for this ;)
2018-04-16 23:20:21 +02:00
jvoisin
e34bc19f71
Add support for BMP
...
To be completely honest, BMP have no metadata,
but we still add it, just in case™
2018-04-16 22:27:29 +02:00
jvoisin
4b92bef219
Don't override the quality of jpg images
2018-04-16 22:24:41 +02:00
jvoisin
c5f5134502
Fix the main.py file
2018-04-16 22:06:55 +02:00
jvoisin
6893de6e58
Add a prototype for the nautilus extension
2018-04-15 13:59:44 +02:00
jvoisin
3bf82af205
Document which versions of Debian are supported
2018-04-14 21:35:45 +02:00
jvoisin
96299c6a53
Add lightweight processing for PDF
2018-04-14 21:23:31 +02:00
jvoisin
6f4ed2490f
Thread the cleaning process
2018-04-14 16:13:51 +02:00
jvoisin
cef5068fe9
Silence the apt
process of the CI
2018-04-14 16:12:32 +02:00
jvoisin
bbde340e8a
Silence a bit the CI
2018-04-11 23:40:35 +02:00
jvoisin
7ec1eff96e
Improve the way we parse/display pdf metadata
2018-04-11 23:20:59 +02:00
jvoisin
0239ab3b6a
Add some white lines to make the code more compliant
2018-04-04 23:21:48 +02:00
jvoisin
9fa76c4c20
Remove some unused imports
2018-04-04 23:18:38 +02:00
jvoisin
d830760d4f
Oups, fix the build
2018-04-04 23:18:32 +02:00
jvoisin
972de8469e
main.py is now correctly handling folders
2018-04-04 23:15:00 +02:00
jvoisin
d3b1eabe07
Add a test for when main.py is called without any args
2018-04-04 23:14:43 +02:00
jvoisin
4ee091d833
Improve get_meta in various ways
...
- Normalize the case
- Strip \00, \r, space and \n
- Flatten metadata lists
- Add tests for audio files
2018-04-04 21:59:46 +02:00
jvoisin
1ad817566d
Fix the ci
2018-04-04 01:06:35 +02:00
jvoisin
6c19e43e5d
Add even more tests for the cli
2018-04-04 00:37:55 +02:00
jvoisin
6398befe14
Add a first test for the CLI
2018-04-04 00:22:00 +02:00