<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mat2/libmat2/__init__.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>2023-05-03T20:28:02Z</updated>
<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>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>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>
<entry>
<title>Please mypy wrt. the last two commits</title>
<updated>2019-05-13T22:50:17Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2019-05-13T22:46:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/mat2/commit/?id=aa52a5c91c1d7f0dc6691fdd972e343fc63f6fc2'/>
<id>urn:sha1:aa52a5c91c1d7f0dc6691fdd972e343fc63f6fc2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rework the dependency checks to distinguish required/optional ones</title>
<updated>2019-05-13T21:35:26Z</updated>
<author>
<name>Antoine Tenart</name>
</author>
<published>2019-05-11T09:20:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/mat2/commit/?id=f19f6ed8b6ded81d2a1cc9d2fe606f71fcd0e27a'/>
<id>urn:sha1:f19f6ed8b6ded81d2a1cc9d2fe606f71fcd0e27a</id>
<content type='text'>
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 &lt;antoine.tenart@ack.tf&gt;
</content>
</entry>
<entry>
<title>Please mypy</title>
<updated>2019-03-30T09:33:16Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2019-03-30T09:31:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/mat2/commit/?id=1e325c5b5bb6b2deb30626b9fbb27e244bb7bae7'/>
<id>urn:sha1:1e325c5b5bb6b2deb30626b9fbb27e244bb7bae7</id>
<content type='text'>
Apparently, mypy isn't able (yet?) to deal
with variables that are changing their types
at runtime.

Python is wonderful.
</content>
</entry>
<entry>
<title>libmat2: fix dependency checks for cmd line utilities</title>
<updated>2019-03-29T18:29:28Z</updated>
<author>
<name>Antoine Tenart</name>
</author>
<published>2019-03-27T17:53:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/mat2/commit/?id=d454ef5b8e867b4827dfc0d1cef818d4f94833c7'/>
<id>urn:sha1:d454ef5b8e867b4827dfc0d1cef818d4f94833c7</id>
<content type='text'>
The command line checks for command line utilities are done by trying to
access the executables and by throwing an exception when not found. This
lead to:
- The mat2 cmd line --check-dependencies option failing.
- The ffmpeg unit tests failing when ffmpeg isn't installed (even though
  it's an optional dependency).

This patch fixes it.

Signed-off-by: Antoine Tenart &lt;antoine.tenart@ack.tf&gt;
</content>
</entry>
<entry>
<title>libmat2: reshape the dependencies list</title>
<updated>2019-03-29T18:29:28Z</updated>
<author>
<name>Antoine Tenart</name>
</author>
<published>2019-03-27T17:50:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/mat2/commit/?id=c824a68dd8cba7ff567f54bf65d22d46438d326b'/>
<id>urn:sha1:c824a68dd8cba7ff567f54bf65d22d46438d326b</id>
<content type='text'>
Invert the keys and values in DEPENDENCIES. It seems more natural to use
the key as a key in check_dependencies(), and the value as the value.
This also help in preparing for reworking the check_dependencies()
helper.

Signed-off-by: Antoine Tenart &lt;antoine.tenart@ack.tf&gt;
</content>
</entry>
<entry>
<title>Whenever possible, use bwrap for subprocesses</title>
<updated>2019-02-03T18:18:41Z</updated>
<author>
<name>intrigeri</name>
</author>
<published>2019-02-03T09:43:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/mat2/commit/?id=e8c1bb0e3c4cae579e81ce6a4b01b829900ff922'/>
<id>urn:sha1:e8c1bb0e3c4cae579e81ce6a4b01b829900ff922</id>
<content type='text'>
This should closes  #90
</content>
</entry>
<entry>
<title>Improve type annotation coverage</title>
<updated>2018-10-23T14:32:28Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2018-10-23T14:32:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/mat2/commit/?id=9a81b3adfd21fcbc38c09b5d28cbd35791ba6004'/>
<id>urn:sha1:9a81b3adfd21fcbc38c09b5d28cbd35791ba6004</id>
<content type='text'>
</content>
</entry>
</feed>
