mat2 issueshttps://0xacab.org/jvoisin/mat2/-/issues2019-07-17T08:45:28Zhttps://0xacab.org/jvoisin/mat2/-/issues/114Configuration file2019-07-17T08:45:28ZVipulConfiguration fileIt would be better to have a config file (~/.mat2rc or ~/.mat2.rc) where user can put long option(s) and its corresponding value. I know, currently this will be useless since, mat2 have very few options but, may be useful in future when ...It would be better to have a config file (~/.mat2rc or ~/.mat2.rc) where user can put long option(s) and its corresponding value. I know, currently this will be useless since, mat2 have very few options but, may be useful in future when mat2 become more mature and have more options.
Edit:
Some use-cases
* #113
* #110 https://0xacab.org/jvoisin/mat2/-/issues/113Setting output destination folder2019-07-19T15:26:54ZVipulSetting output destination folderAdd an option (-o or --output) to set output of a file to destination folder. This will reduce the number of steps if user wants to keep that file at specific location.
For ex:
mat2 my.jpeg -o ~/Documents/photo.jpeg
mat2 my.jpeg -o...Add an option (-o or --output) to set output of a file to destination folder. This will reduce the number of steps if user wants to keep that file at specific location.
For ex:
mat2 my.jpeg -o ~/Documents/photo.jpeg
mat2 my.jpeg -o ~/Documents/
(if name of file is not provided, save it with same name)
jvoisinjvoisinhttps://0xacab.org/jvoisin/mat2/-/issues/112CI: Run tests in parallel to make overall execution faster2023-01-07T16:08:11ZgeorgCI: Run tests in parallel to make overall execution fasterWhile we're using tailored containers to run the testsuite nowadays to save time spent on installing dependencies, I still think there is quite some time to gain in case we would run the testsuite in parallel, instead of linar, each file...While we're using tailored containers to run the testsuite nowadays to save time spent on installing dependencies, I still think there is quite some time to gain in case we would run the testsuite in parallel, instead of linar, each file after each other, as currently.
I've made some tests which look promising.
Before investing more time do get this to work, I wanted to check first if this is desirable. If so, I'll propose the needed changes.georggeorghttps://0xacab.org/jvoisin/mat2/-/issues/111Add option to preserve TOC in PDFs2023-08-02T23:18:10ZGhost UserAdd option to preserve TOC in PDFsNow, even with `-L` option, TOC is erased. It would be nice to have an option to wipe only creator, author, dates, etc. but preserve useful data like table of contents.Now, even with `-L` option, TOC is erased. It would be nice to have an option to wipe only creator, author, dates, etc. but preserve useful data like table of contents.1.0 - Ponyhttps://0xacab.org/jvoisin/mat2/-/issues/110Create a folder à la Dropbox as a GUI?2020-03-04T16:30:58ZjvoisinCreate a folder à la Dropbox as a GUI?Someone suggested that we should maybe try to create something like Dropbox does: a magical folder when files would get their metadata cleaned as soon at they're inside it. A small icon on the file would indicate if the files is cleaned,...Someone suggested that we should maybe try to create something like Dropbox does: a magical folder when files would get their metadata cleaned as soon at they're inside it. A small icon on the file would indicate if the files is cleaned, being cleaned, unable to be cleaned.
I don't know how practical this is to implement on Nautilus and its KDE/Xfce friends.https://0xacab.org/jvoisin/mat2/-/issues/109Improve zip compression2019-07-13T13:05:19ZjvoisinImprove zip compressionAs mentionned in #107, mat2 is currently using the default `ZIP_STORED` compression method for all zipfiles.
Maybe we should instead use the same method as the one used by the file being cleaned. This would make fingerprinting a bit easi...As mentionned in #107, mat2 is currently using the default `ZIP_STORED` compression method for all zipfiles.
Maybe we should instead use the same method as the one used by the file being cleaned. This would make fingerprinting a bit easier, but could also dramatically decrease produced archive sizes. I think that it's worth it.
This is a good first issue, since it involves designing a proper integration of this feature in the already-quite-complex archive handling code :)1.0 - Ponyhttps://0xacab.org/jvoisin/mat2/-/issues/108Add support for doc2019-05-14T18:16:52ZfraczAdd support for docI.e. the old format of MS Word.I.e. the old format of MS Word.https://0xacab.org/jvoisin/mat2/-/issues/107Docx does not work2019-07-18T03:09:49ZfraczDocx does not workAfter metadata clearing in a docx file, the file cannot be opened by MS Word anymore (it says that the file has problems with its contents or some part of it is missing).
Have you come across such issue?After metadata clearing in a docx file, the file cannot be opened by MS Word anymore (it says that the file has problems with its contents or some part of it is missing).
Have you come across such issue?1.0 - Ponyjvoisinjvoisinhttps://0xacab.org/jvoisin/mat2/-/issues/106Pdf: Nautilus Extension does not work?2019-07-15T11:16:23Znigra blackPdf: Nautilus Extension does not work?hello,
i just installed mat2 and the nautilus extension on my debian stretch. i used this manual: https://0xacab.org/jvoisin/mat2/blob/master/INSTALL.md#debian
it works fine for nearly all formats, but not for pdf. if i open the contex...hello,
i just installed mat2 and the nautilus extension on my debian stretch. i used this manual: https://0xacab.org/jvoisin/mat2/blob/master/INSTALL.md#debian
it works fine for nearly all formats, but not for pdf. if i open the context-menue of a pdf there is no "clean metadata".
do you know this problem?
greetings, nigra1.0 - Ponygeorggeorghttps://0xacab.org/jvoisin/mat2/-/issues/105Verbose options is not verbose at all2019-08-01T15:13:06ZVaracVerbose options is not verbose at allThis is on ubuntu 19.04:
```
$ mat2 --verbose IMG_20190508_105854.jpg
$ mat2 --version
MAT2 0.8.0
$
```This is on ubuntu 19.04:
```
$ mat2 --verbose IMG_20190508_105854.jpg
$ mat2 --version
MAT2 0.8.0
$
```1.0 - Ponyhttps://0xacab.org/jvoisin/mat2/-/issues/104Add option to replace in-place2019-11-05T02:57:34ZVaracAdd option to replace in-placeMany tools have an option to replace files in place, without creating a seperate file.
It would be great if mat2 could offer this, since it's easier and less steps for the user.Many tools have an option to replace files in place, without creating a seperate file.
It would be great if mat2 could offer this, since it's easier and less steps for the user.1.0 - Ponyjvoisinjvoisinhttps://0xacab.org/jvoisin/mat2/-/issues/103Errors with some mp3 file.2019-07-18T02:43:04ZSimon MagninErrors with some mp3 file.I have encountered some mat2 crashes with mp3 files:
```python
Traceback (most recent call last):
File "/usr/bin/mat2", line 186, in <module>
sys.exit(main())
File "/usr/bin/mat2", line 170, in main
show_meta(f)
File "/usr...I have encountered some mat2 crashes with mp3 files:
```python
Traceback (most recent call last):
File "/usr/bin/mat2", line 186, in <module>
sys.exit(main())
File "/usr/bin/mat2", line 170, in main
show_meta(f)
File "/usr/bin/mat2", line 72, in show_meta
__print_meta(filename, p.get_meta())
File "/usr/lib/python3/dist-packages/libmat2/audio.py", line 41, in get_meta
metadata[key.rstrip(' \t\r\n\0')] = ', '.join(map(str, meta[key].text))
AttributeError: 'UFID' object has no attribute 'text'
```
This issue only appeared with the show option `-s`, if metadatas are just clean, there is no error.https://0xacab.org/jvoisin/mat2/-/issues/102Do we want to have a flatpak package?2019-07-17T23:19:38ZjvoisinDo we want to have a flatpak package?I'm not a big fan of flatpak:
- bundling dependencies is a terrible idea in my book
- it doesn't provide an effective sandbox (yet?)
- the project doesn't look [super-active]( https://flatpak.org/blog-posts/ ) community-wise
- I don't w...I'm not a big fan of flatpak:
- bundling dependencies is a terrible idea in my book
- it doesn't provide an effective sandbox (yet?)
- the project doesn't look [super-active]( https://flatpak.org/blog-posts/ ) community-wise
- I don't want to maintain more stuff
But I'll be happy to be proved that this is a good idea and that we should invest effort into packaging/maintaining mat2 in flatpak.1.0 - Ponyhttps://0xacab.org/jvoisin/mat2/-/issues/101PATH management is quite messy2020-03-04T16:26:54ZfuzzyPATH management is quite messyOn several occasion, we are calling some external programs.
The paths are hardcoded where it should rely on whatever is set in `$PATH` environment variables.
This leads to crash on *BSD+ports and MacOS+brew or macports as the bins are ...On several occasion, we are calling some external programs.
The paths are hardcoded where it should rely on whatever is set in `$PATH` environment variables.
This leads to crash on *BSD+ports and MacOS+brew or macports as the bins are usually found in `/usr/local`.
Also the get_path pattern is repeated in several files (check possible paths + checking if we can execute). This needs to be factorized.https://0xacab.org/jvoisin/mat2/-/issues/100Arch Linux package from AUR is missing correct dependencies2019-03-08T10:03:49ZIvy FayArch Linux package from AUR is missing correct dependenciesHi, I'm reporting this issue here because AUR package is officially listed in project documentation: https://0xacab.org/jvoisin/mat2/blob/master/INSTALL.md#arch-linux
The problem is that Arch Linux package from AUR is missing some of th...Hi, I'm reporting this issue here because AUR package is officially listed in project documentation: https://0xacab.org/jvoisin/mat2/blob/master/INSTALL.md#arch-linux
The problem is that Arch Linux package from AUR is missing some of the needed dependencies. I tried to help package maintainer to fix this issues by providing the proper build recipe couple of months ago but he just ignored it while still bumping package to new releases. After recent efforts to gain his attention, he adopted some changes but only partially, without doing any tests which made the situation even worse. I tried to help him fix those again but he refuses to get any help from me and asked to report it upstream instead.
Dependencies which I proposed match the current ones used in [project CI](https://0xacab.org/georg/mat2-ci-images/blob/master/archlinux) so I don't have anything really to report here but wanted to ask for your help to convince AUR maintainer to do the needed changes for his package. I hope he would trust you as the project upstream. I'll be glad if you can help.
https://aur.archlinux.org/packages/mat2/#comment-684924https://0xacab.org/jvoisin/mat2/-/issues/99Improve epub support2019-02-27T22:07:34ZjvoisinImprove epub supportThe [w3m epub validator]( http://validator.idpf.org/ ) can be used to find issues.
- [x] `mimetype` must be the first member in the archive
- [x] apparently, the `<metadata>` field is mandatory
- and so is the uniqid propertyThe [w3m epub validator]( http://validator.idpf.org/ ) can be used to find issues.
- [x] `mimetype` must be the first member in the archive
- [x] apparently, the `<metadata>` field is mandatory
- and so is the uniqid property0.8.0 - Lobsterjvoisinjvoisinhttps://0xacab.org/jvoisin/mat2/-/issues/98Please add support for SVG2019-07-13T21:12:24ZCyril BruleboisPlease add support for SVGI've noticed strange things using `httrack` to mirror my company's website (to check for link consistency mostly):
Some files weren't found but they didn't make sense at first:
```
404 for [DOMAIN]/tmp/debamax-logo.png (from [DOMAIN]/d...I've noticed strange things using `httrack` to mirror my company's website (to check for link consistency mostly):
Some files weren't found but they didn't make sense at first:
```
404 for [DOMAIN]/tmp/debamax-logo.png (from [DOMAIN]/data/debamax-title.svg)
404 for [DOMAIN]/data/debamax-logo.svg (from https://preview.debamax.com/data/debamax-title.svg)
404 for [DOMAIN]/home/kibi/work/websites/web.git/data/news.png (from [DOMAIN]/data/news.svg)
404 for [DOMAIN]/data/icons/package-x-generic.svg (from [DOMAIN]/data/icons/debian-packaging.svg)
404 for [DOMAIN]/data/icons/network-workgroup.svg (from [DOMAIN]/data/icons/sysadmin.svg)
404 for [DOMAIN]/data/icons/system-installer.svg (from [DOMAIN]/data/icons/debian-installer.svg)
404 for [DOMAIN]/data/icons/applications-system.svg (from [DOMAIN]/data/icons/development.svg)
```
The `[DOMAIN]/home/kibi/work/websites/web.git/data/news.png` hinted me into figuring out that this was due to the `inkscape:export-filename` attribute's being embedded in the SVG file when you perform an export to PNG from Inkscape. The filename can leak some paths, and possibly the username. I've also found a similar `sodipodi:docname` in other SVG files.
So it seems to me cleaning up SVG files should be supported by mat2.
Thanks for your work!1.0 - Ponyhttps://0xacab.org/jvoisin/mat2/-/issues/97'ascii' codec can't decode byte2019-02-21T09:37:39ZTemp User Anon'ascii' codec can't decode byteHey.
[ sorry, I use online translator ]
When assembling the mat2 version (0.7.0) to debian stretch faced with such a problem (when building in a chroot environment):
```python
dh clean --with python3 --buildsystem=pybuild
dh_auto_...Hey.
[ sorry, I use online translator ]
When assembling the mat2 version (0.7.0) to debian stretch faced with such a problem (when building in a chroot environment):
```python
dh clean --with python3 --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
pybuild --clean -i python{version} -p 3.5
I: pybuild base:184: python3.5 setup.py clean
Traceback (most recent call last):
File "setup.py", line 4, in <module>
long_description = fh.read()
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3259: ordinal not in range(128)
E: pybuild pybuild:283: clean: plugin distutils failed with: exit code=1: python3.5 setup.py clean
dh_auto_clean: pybuild --clean -i python{version} -p 3.5 returned exit code 13
debian/rules:6: recipe for target 'clean' failed
make: *** [clean] Error 25
dpkg-buildpackage: error: debian/rules clean gave error exit status 2
```
In the README file.md is a bad character. Here (point symbols):
```
compressed again, … Since some
```
Decision:
Replace with "normal points".
After that, everything was going fine.0.8.0 - Lobsterjvoisinjvoisinhttps://0xacab.org/jvoisin/mat2/-/issues/96Rename black/white list to block/allow list2019-03-06T20:07:33ZjvoisinRename black/white list to block/allow list1.0 - Ponyhttps://0xacab.org/jvoisin/mat2/-/issues/95Minor issue with the warning printed about mandatory fields2019-02-19T23:56:24ZJonasMinor issue with the warning printed about mandatory fieldsWhile skimming through your last commits, I stumbled across https://0xacab.org/jvoisin/mat2/commit/8e84ba547abbc3e2bed91f3bd508317d16bbb4c3#7f31bd11cf17a0088014bfa5f533a10cc4931771_13_17. Now that the warning is general and not tied to m...While skimming through your last commits, I stumbled across https://0xacab.org/jvoisin/mat2/commit/8e84ba547abbc3e2bed91f3bd508317d16bbb4c3#7f31bd11cf17a0088014bfa5f533a10cc4931771_13_17. Now that the warning is general and not tied to mpeg4 anymore, it probably shouldn't have the format "(video/mp4)" hardcoded anymore, right?