mat issueshttps://0xacab.org/mat/mat/-/issues2017-04-06T03:14:25Zhttps://0xacab.org/mat/mat/-/issues/4427Handle mtime/atime for files inside archives2017-04-06T03:14:25ZjvoisinHandle mtime/atime for files inside archivesThe Python module zipfile does likely not allow me to play with ZipInfo properties, but I may be wrong.
*(from redmine: created on 2013-07-14, closed on 2014-01-21)*The Python module zipfile does likely not allow me to play with ZipInfo properties, but I may be wrong.
*(from redmine: created on 2013-07-14, closed on 2014-01-21)*https://0xacab.org/mat/mat/-/issues/6416Does not inform the user when files where lost while cleaning an archive2017-04-06T03:14:26ZintrigeriDoes not inform the user when files where lost while cleaning an archiveI've just run MAT on a tarball (@.tar.bz2@) that contained a few dozens @.pl@ and @.pm@ Perl program files, plus a PDF, 2 JPG's and a @.txt@.
MAT happily tells me "whatever.tar.bz2 cleaned !" (the space before the exclamation mark is ...I've just run MAT on a tarball (@.tar.bz2@) that contained a few dozens @.pl@ and @.pm@ Perl program files, plus a PDF, 2 JPG's and a @.txt@.
MAT happily tells me "whatever.tar.bz2 cleaned !" (the space before the exclamation mark is a typo, btw).
I would appreciate it if it quickly mentioned, in passing, that most of the files were removed from the tarball, that now only contains the non-Perl files.
*(from redmine: created on 2013-11-11, closed on 2014-04-03, relates #7012)*https://0xacab.org/mat/mat/-/issues/6423Same gettext string used in places where it should be translated differently2017-04-06T03:14:26ZintrigeriSame gettext string used in places where it should be translated differently_Clean_ is used in places where it's a imperative verb (to be translated "Nettoyer" in French), and in places where it's a status (to be translated "Nettoyé" in French).
I'm unsure how this should be dealt with, but this must be fixed..._Clean_ is used in places where it's a imperative verb (to be translated "Nettoyer" in French), and in places where it's a status (to be translated "Nettoyé" in French).
I'm unsure how this should be dealt with, but this must be fixed in the code, not by translators.
*(from redmine: created on 2013-11-14, closed on 2014-01-29)*https://0xacab.org/mat/mat/-/issues/6604MAT does not handle archives with non-readable files inside.2017-04-06T03:14:26ZjvoisinMAT does not handle archives with non-readable files inside.Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py", line 633, in <lambda>
return (lambda data: callback(*data), user_data)
File "./mat-gui", line 413, in __mat_clean
if self.li...Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py", line 633, in <lambda>
return (lambda data: callback(*data), user_data)
File "./mat-gui", line 413, in __mat_clean
if self.liststore[line][0].file.remove_all(whitelist=list_to_add):
File "/home/intrigeri/cyber/mat/git/MAT/archive.py", line 197, in remove_all
tarin.extract(item, self.tempdir)
File "/usr/lib/python2.7/tarfile.py", line 2084, in extract
self._extract_member(tarinfo, os.path.join(path, tarinfo.name))
File "/usr/lib/python2.7/tarfile.py", line 2160, in _extract_member
self.makefile(tarinfo, targetpath)
File "/usr/lib/python2.7/tarfile.py", line 2200, in makefile
with bltn_open(targetpath, "wb") as target:
IOError: [Errno 13] Permission denied: '/tmp/tmp_U07jm/path/to/blib/lib/Blog.pm'
*(from redmine: created on 2014-01-17, closed on 2014-01-21, relates #6620)*https://0xacab.org/mat/mat/-/issues/6605MAT's GUI is unable to sort by states2017-04-06T03:14:26ZjvoisinMAT's GUI is unable to sort by statesWithin MAT's gui, it's currently not possible to sort on the "State" column.
*(from redmine: created on 2014-01-18, closed on 2014-01-21)*Within MAT's gui, it's currently not possible to sort on the "State" column.
*(from redmine: created on 2014-01-18, closed on 2014-01-21)*https://0xacab.org/mat/mat/-/issues/6609MAT's GUI traceback when cleaning files2017-04-06T03:14:26ZGhost UserMAT's GUI traceback when cleaning filesWith the *mat-gui*, when click on [Scour] after adding a file to clean, there's the following traceback :
<pre>
Traceback (most recent call last):
File "./mat-gui", line 419, in __mat_clean
if self.liststore[line][0].file.rem...With the *mat-gui*, when click on [Scour] after adding a file to clean, there's the following traceback :
<pre>
Traceback (most recent call last):
File "./mat-gui", line 419, in __mat_clean
if self.liststore[line][0].file.remove_all(whitelist=list_to_add):
UnboundLocalError: local variable 'list_to_add' referenced before assignment
</pre>
Nevertheless, the file seems to be cleaned after that.
*(from redmine: created on 2014-01-19, closed on 2014-01-29)*https://0xacab.org/mat/mat/-/issues/6613Released tarball contains spurious .pyc files2017-04-06T03:14:26ZintrigeriReleased tarball contains spurious .pyc filesI've no idea what step of the release process is buggy, but no .pyc should be part of the released tarballs. The 0.5 tarball is buggy on this respect.
*(from redmine: created on 2014-01-20, closed on 2014-01-21)*I've no idea what step of the release process is buggy, but no .pyc should be part of the released tarballs. The 0.5 tarball is buggy on this respect.
*(from redmine: created on 2014-01-20, closed on 2014-01-21)*https://0xacab.org/mat/mat/-/issues/6614Copyright years were not updated for 20142017-04-06T03:14:26ZintrigeriCopyright years were not updated for 2014The @README@ file reads @Copyright 2011-2013 Julien Voisin <julien.voisin@dustri.org>@. This should presumably be bumped to 2011-2014.
*(from redmine: created on 2014-01-21, closed on 2014-01-29)*The @README@ file reads @Copyright 2011-2013 Julien Voisin <julien.voisin@dustri.org>@. This should presumably be bumped to 2011-2014.
*(from redmine: created on 2014-01-21, closed on 2014-01-29)*https://0xacab.org/mat/mat/-/issues/6615setup.py tries to install non-existing TODO file2017-04-06T03:14:26Zintrigerisetup.py tries to install non-existing TODO filePerhaps it would be worth adding "test @setup.py install@" to the release process doc, to avoid releasing broken, untested stuff.
*(from redmine: created on 2014-01-21, closed on 2014-01-29)*Perhaps it would be worth adding "test @setup.py install@" to the release process doc, to avoid releasing broken, untested stuff.
*(from redmine: created on 2014-01-21, closed on 2014-01-29)*https://0xacab.org/mat/mat/-/issues/6616Test suite relies on non-existing unwritable_content.zip file2017-04-06T03:14:26ZintrigeriTest suite relies on non-existing unwritable_content.zip fileERROR: test_archive_unwritable_content (libtest.TestArchiveProcessing)
<pre>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/intrigeri/cyber/mat/git/test/libtest...ERROR: test_archive_unwritable_content (libtest.TestArchiveProcessing)
<pre>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/intrigeri/cyber/mat/git/test/libtest.py", line 163, in test_archive_unwritable_content
shutil.copy2('./unwritable_content.zip', self.tmpdir)
File "/usr/lib/python2.7/shutil.py", line 130, in copy2
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: './unwritable_content.zip'
</pre>
*(from redmine: created on 2014-01-21, closed on 2014-01-29)*https://0xacab.org/mat/mat/-/issues/6617Test suite returns exit code 0 on failure2017-04-06T03:14:26ZintrigeriTest suite returns exit code 0 on failureThis makes it a pain to integrate the test suite as a blocker into e.g. Debian package building, but it would be the same for any CI effort.
*(from redmine: created on 2014-01-21, closed on 2014-02-19)*This makes it a pain to integrate the test suite as a blocker into e.g. Debian package building, but it would be the same for any CI effort.
*(from redmine: created on 2014-01-21, closed on 2014-02-19)*https://0xacab.org/mat/mat/-/issues/6618Status bar says "Cleaning Dirty" or "Cleaning Unknown"2017-04-06T03:14:26ZintrigeriStatus bar says "Cleaning Dirty" or "Cleaning Unknown"I suspect it should instead say "Cleaning FILENAME", no?
*(from redmine: created on 2014-01-21, closed on 2014-01-29)*I suspect it should instead say "Cleaning FILENAME", no?
*(from redmine: created on 2014-01-21, closed on 2014-01-29)*https://0xacab.org/mat/mat/-/issues/6619PO files are outdated in various ways2017-04-06T03:14:26ZintrigeriPO files are outdated in various waysIn 0.5: first, updated translations were not imported from Transifex. Second, the PO files were not updated to match the POT update (done in Git post-0.5).
Missing step in the release process doc, perhaps?
*(from redmine: created on ...In 0.5: first, updated translations were not imported from Transifex. Second, the PO files were not updated to match the POT update (done in Git post-0.5).
Missing step in the release process doc, perhaps?
*(from redmine: created on 2014-01-21, closed on 2014-02-19)*https://0xacab.org/mat/mat/-/issues/6620Cannot shred read-only files from temporary directory2017-04-06T03:14:26ZintrigeriCannot shred read-only files from temporary directory<pre>
$ mat perl-exercices-src.tar.bz2
[+] Cleaning src.tar.bz2
src.tar.bz2 cleaned !
shred: /tmp/tmpwRI3KU/exercices/src/blog/blib/lib/Blog.pm: failed to open for writing: Permission denied
shred: /tmp/tmpwRI3KU/exercices/src/blog/...<pre>
$ mat perl-exercices-src.tar.bz2
[+] Cleaning src.tar.bz2
src.tar.bz2 cleaned !
shred: /tmp/tmpwRI3KU/exercices/src/blog/blib/lib/Blog.pm: failed to open for writing: Permission denied
shred: /tmp/tmpwRI3KU/exercices/src/blog/blib/lib/Blog/Model/Schema.pm: failed to open for writing: Permission denied
shred: /tmp/tmpwRI3KU/exercices/src/blog/blib/lib/Blog/Model/Category.pm: failed to open for writing: Permission denied
shred: /tmp/tmpwRI3KU/exercices/src/blog/blib/lib/Blog/Model/Article.pm: failed to open for writing: Permission denied
</pre>
The temporary directory is correctly removed, but it seems that not all its content was correctly shred'ed, right?
*(from redmine: created on 2014-01-21, closed on 2014-01-28, relates #6604)*https://0xacab.org/mat/mat/-/issues/6627Sets very broad permissions on files to remove2017-04-06T03:14:26ZintrigeriSets very broad permissions on files to removeMAT 0.5.1 chmod's 777 the files it wants to remove. This seems a bit scary, without at least a security discussion that concludes why and how this is not dangerous in any awy.
*(from redmine: created on 2014-01-29, closed on 2014-02-17)*MAT 0.5.1 chmod's 777 the files it wants to remove. This seems a bit scary, without at least a security discussion that concludes why and how this is not dangerous in any awy.
*(from redmine: created on 2014-01-29, closed on 2014-02-17)*https://0xacab.org/mat/mat/-/issues/6628Hyphen used as minus sign in manpage2017-04-06T03:14:26ZintrigeriHyphen used as minus sign in manpageQuoting Lintian:
<pre>
I: mat: hyphen-used-as-minus-sign usr/share/man/man1/mat-gui.1.gz:74
N:
N: This manual page seems to contain a hyphen where a minus sign was
N: intended. By default, "-" chars are interpreted as hyphe...Quoting Lintian:
<pre>
I: mat: hyphen-used-as-minus-sign usr/share/man/man1/mat-gui.1.gz:74
N:
N: This manual page seems to contain a hyphen where a minus sign was
N: intended. By default, "-" chars are interpreted as hyphens (U+2010) by
N: groff, not as minus signs (U+002D). Since options to programs use minus
N: signs (U+002D), this means for example in UTF-8 locales that you cannot
N: cut and paste options, nor search for them easily. The Debian groff
N: package currently forces "-" to be interpreted as a minus sign due to
N: the number of manual pages with this problem, but this is a
N: Debian-specific modification and hopefully eventually can be removed.
N:
N: "-" must be escaped ("\-") to be interpreted as minus. If you really
N: intend a hyphen (normally you don't), write it as "\(hy" to emphasise
N: that fact. See groff(7) and especially groff_char(7) for details, and
N: also the thread starting with
N: http://lists.debian.org/debian-devel/2003/debian-devel-200303/msg01481.html
N:
N: If you use some tool that converts your documentation to groff format,
N: this tag may indicate a bug in the tool. Some tools convert dashes of
N: any kind to hyphens. The safe way of converting dashes is to convert
N: them to "\-".
N:
N: Because this error can occur very often, Lintian shows only the first 10
N: occurrences for each man page and give the number of suppressed
N: occurrences. If you want to see all warnings, run Lintian with the
N: -d/--debug option.
N:
N: Refer to /usr/share/doc/groff-base/README.Debian and the groff_char(7)
N: manual page for details.
</pre>
*(from redmine: created on 2014-01-29, closed on 2014-02-17)*https://0xacab.org/mat/mat/-/issues/6633Generate test files at test suite setup stage2018-02-14T23:07:57ZjvoisinGenerate test files at test suite setup stageIt would be great to generate testfiles on runtimes, instead of having binary files in the git repo.
*(from redmine: created on 2014-02-01, closed on 2015-08-21)*It would be great to generate testfiles on runtimes, instead of having binary files in the git repo.
*(from redmine: created on 2014-02-01, closed on 2015-08-21)*https://0xacab.org/mat/mat/-/issues/6637MAT nukes PDF2018-02-14T23:07:57ZjvoisinMAT nukes PDFMAT nukes PDF when processed at multiples times in the GUI>
*(from redmine: created on 2014-02-05, closed on 2014-02-17)*MAT nukes PDF when processed at multiples times in the GUI>
*(from redmine: created on 2014-02-05, closed on 2014-02-17)*https://0xacab.org/mat/mat/-/issues/7012GUI fails to clean archive that contains unsupported files, after forcefully ...2018-02-14T23:07:57ZintrigeriGUI fails to clean archive that contains unsupported files, after forcefully including some of theseSteps to reproduce:
# start the GUI
# add a tar.bz2 file that contains a bunch of Perl scripts
# click _Scour_
# in the dialog that allows me to select what unsupported files I want to include nevertheless, select one Perl script
...Steps to reproduce:
# start the GUI
# add a tar.bz2 file that contains a bunch of Perl scripts
# click _Scour_
# in the dialog that allows me to select what unsupported files I want to include nevertheless, select one Perl script
# click _Scour_
# the GUI's status bar reads "Cleaning $tarball", and does not clean the archive at all
*(from redmine: created on 2014-04-03, closed on 2015-12-18, relates #6416)*https://0xacab.org/mat/mat/-/issues/7048Unhelpful message for unsupported files2018-02-14T23:07:57ZintrigeriUnhelpful message for unsupported files"Unable to process [...]" does not hint me in any way: is an optional dependency missing? Is this file not supported at all?
*(from redmine: created on 2014-04-10, closed on 2015-12-30)*"Unable to process [...]" does not hint me in any way: is an optional dependency missing? Is this file not supported at all?
*(from redmine: created on 2014-04-10, closed on 2015-12-30)*