<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mat2/libmat2/archive.py, branch master</title>
<subtitle>mat2 is a metadata removal tool, supporting a wide range of commonly used file formats, written in python3: at its core, it's a library, used by an eponymous command-line interface, as well as several file manager extensions.

</subtitle>
<id>http://git.dustri.org/mat2/atom?h=master</id>
<link rel='self' href='http://git.dustri.org/mat2/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dustri.org/mat2/'/>
<updated>2025-04-03T13:24:34Z</updated>
<entry>
<title>Properly handle an exception</title>
<updated>2025-04-03T13:24:34Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2025-04-03T13:24:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/mat2/commit/?id=e740a9559f6e4a233c32a6b48ee0cd7efac4efbf'/>
<id>urn:sha1:e740a9559f6e4a233c32a6b48ee0cd7efac4efbf</id>
<content type='text'>
```
Traceback (most recent call last):
  File "/builds/jvoisin/mat2/tests/test_deep_cleaning.py", line 147, in test_office
    meta = p.get_meta()
  File "/builds/jvoisin/mat2/libmat2/archive.py", line 155, in get_meta
    zin.extract(member=item, path=temp_folder)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/zipfile/__init__.py", line 1762, in extract
    return self._extract_member(member, path, pwd)
           ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/zipfile/__init__.py", line 1829, in _extract_member
    os.makedirs(upperdirs, exist_ok=True)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "&lt;frozen os&gt;", line 227, in makedirs
OSError: [Errno 28] No space left on device: '/tmp/tmptl1ibyv6/word/theme'
```

This should never happen™, but just in case…
</content>
</entry>
<entry>
<title>parsers: Inherit the sandbox option when creating additional parsers</title>
<updated>2023-11-13T12:11:35Z</updated>
<author>
<name>Romain Vigier</name>
</author>
<published>2023-11-13T12:11:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/mat2/commit/?id=7405955ab5995b06c929148f0439670c9be7cb2d'/>
<id>urn:sha1:7405955ab5995b06c929148f0439670c9be7cb2d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Harden get_meta in archive.py against variants of CVE-2022-35410</title>
<updated>2023-07-11T19:31:53Z</updated>
<author>
<name>Jason Smalls</name>
</author>
<published>2023-07-11T19:31:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/mat2/commit/?id=1bcb945360e757e5fa881dc274d9dae8dd825afb'/>
<id>urn:sha1:1bcb945360e757e5fa881dc274d9dae8dd825afb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use proper type annotations instead of comments</title>
<updated>2023-05-03T20:28:02Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2023-05-03T20:28:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/mat2/commit/?id=1b9608aecf25d5e58ee27b9b45afd7f77b883f8b'/>
<id>urn:sha1:1b9608aecf25d5e58ee27b9b45afd7f77b883f8b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make use of is_dir/isdir for archives</title>
<updated>2023-05-03T20:19:19Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2023-05-03T20:19:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/mat2/commit/?id=2ac8c24dac5431a39cdc091dec47ba594f509387'/>
<id>urn:sha1:2ac8c24dac5431a39cdc091dec47ba594f509387</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Another typing pass</title>
<updated>2023-01-28T16:22:26Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2023-01-28T16:22:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/mat2/commit/?id=3cb3f58084043533a55c72c43453692ba972d864'/>
<id>urn:sha1:3cb3f58084043533a55c72c43453692ba972d864</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix the type annotations</title>
<updated>2023-01-28T15:57:20Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2023-01-28T15:57:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/mat2/commit/?id=39fb254e019c920516bb317d4b48a8de7cac850e'/>
<id>urn:sha1:39fb254e019c920516bb317d4b48a8de7cac850e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove pyflakes</title>
<updated>2022-11-21T18:57:38Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2022-11-21T18:42:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/mat2/commit/?id=180ea24e5a050393051ffc8df1fcff8373f59783'/>
<id>urn:sha1:180ea24e5a050393051ffc8df1fcff8373f59783</id>
<content type='text'>
Isn't borderline useless compared to mypy and pylint
</content>
</entry>
<entry>
<title>Remove deprecated pylint checks</title>
<updated>2022-10-09T19:14:20Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2022-10-09T19:12:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/mat2/commit/?id=6d93cf9397479c03c8414a42521987249471975e'/>
<id>urn:sha1:6d93cf9397479c03c8414a42521987249471975e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify the typing annotations</title>
<updated>2022-08-28T20:29:06Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2022-08-28T20:29:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/mat2/commit/?id=cc5be8608b49d74a633b80a95a49a018d4dcd477'/>
<id>urn:sha1:cc5be8608b49d74a633b80a95a49a018d4dcd477</id>
<content type='text'>
</content>
</entry>
</feed>
