<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/python-systemd.git/systemd/test, branch v235</title>
<subtitle>github.com: systemd/python-systemd.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/'/>
<entry>
<title>tests: simplify imports</title>
<updated>2022-08-16T09:03:09+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2022-08-16T08:35:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=cc03ed6d2013f40c5e20efa2af8d822a47c592b2'/>
<id>cc03ed6d2013f40c5e20efa2af8d822a47c592b2</id>
<content type='text'>
'import foo as _foo' is useful in exported modules to avoid 'foo' being
present in the public API. No need to play that game in test code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'import foo as _foo' is useful in exported modules to avoid 'foo' being
present in the public API. No need to play that game in test code.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: python2-compat in another place</title>
<updated>2022-08-16T09:03:09+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2022-08-16T08:34:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=ba9d9f89104a26a410e1eb9e371d366ef2702c35'/>
<id>ba9d9f89104a26a410e1eb9e371d366ef2702c35</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>journal: fix compatibility with python2</title>
<updated>2022-08-16T09:03:09+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2022-08-16T08:34:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=872ce304a07bb4c1b4fc06b7bfbd9220652c3793'/>
<id>872ce304a07bb4c1b4fc06b7bfbd9220652c3793</id>
<content type='text'>
This is a lazy workaround: 4c9a241949067fc8d55f3ea12170ad364bd8b18d
is amended to do nothing on python2, so we have the same issue that
was present before. This allows the code to execute, and hopefully
almost nobody is using python2 code anyway.

f868a56b935b6152d611b22f7a5538f14dafb194 is amended in the same way.
For python2 code we have the same lack of timezone-awareness as before.

This allows the tests to pass under python 2.7.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a lazy workaround: 4c9a241949067fc8d55f3ea12170ad364bd8b18d
is amended to do nothing on python2, so we have the same issue that
was present before. This allows the code to execute, and hopefully
almost nobody is using python2 code anyway.

f868a56b935b6152d611b22f7a5538f14dafb194 is amended in the same way.
For python2 code we have the same lack of timezone-awareness as before.

This allows the tests to pass under python 2.7.
</pre>
</div>
</content>
</entry>
<entry>
<title>Adding timezone information to datetimes from systemd-journal</title>
<updated>2022-08-13T17:34:51+00:00</updated>
<author>
<name>Samuel BF</name>
<email>36460-samuelbf@users.noreply.framagit.org</email>
</author>
<published>2022-01-08T14:32:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=f868a56b935b6152d611b22f7a5538f14dafb194'/>
<id>f868a56b935b6152d611b22f7a5538f14dafb194</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>journal: allow JournalHandler constructor to be called with args in a positional param</title>
<updated>2020-11-12T18:05:37+00:00</updated>
<author>
<name>Tamaki Nishino</name>
<email>otamachan@gmail.com</email>
</author>
<published>2017-10-20T12:50:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=5dd8afda3ec83d245a4708638a40ca267d0dfed0'/>
<id>5dd8afda3ec83d245a4708638a40ca267d0dfed0</id>
<content type='text'>
This change enables to add extra fields to JournalHandler in a
configuration file loaded by `logging.config.fileConfig`, which only allows positional
parameters:

class=systemd.journal.JournalHandler
args={'level': INFO, 'SYSLOG_IDENTIFIER': 'my-cool-app'}

[zj: originally the patch added a new positional parameter to
__init__(), but that is not backwards compatible. So I added a new
classmethod to allow the positional parameters to be passed.]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change enables to add extra fields to JournalHandler in a
configuration file loaded by `logging.config.fileConfig`, which only allows positional
parameters:

class=systemd.journal.JournalHandler
args={'level': INFO, 'SYSLOG_IDENTIFIER': 'my-cool-app'}

[zj: originally the patch added a new positional parameter to
__init__(), but that is not backwards compatible. So I added a new
classmethod to allow the positional parameters to be passed.]
</pre>
</div>
</content>
</entry>
<entry>
<title>test: make sure $NOTIFY_SOCKET is unset in test</title>
<updated>2020-11-12T16:20:05+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2020-11-12T16:08:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=397dec74114dcdc72728cbe3fe8fa6b982b44f1b'/>
<id>397dec74114dcdc72728cbe3fe8fa6b982b44f1b</id>
<content type='text'>
When running the tests in Fedora's mock, the test would
fail because NOTIFY_SOCKET is set to /run/systemd/nspawn/notify, and
we get a permission error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When running the tests in Fedora's mock, the test would
fail because NOTIFY_SOCKET is set to /run/systemd/nspawn/notify, and
we get a permission error.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: add tests for all id128 funcs, including get_machine_app_specific()</title>
<updated>2019-06-16T14:27:11+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2019-06-16T14:19:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=83b4939e16fb202b8412f2f77e915916f53a2048'/>
<id>83b4939e16fb202b8412f2f77e915916f53a2048</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added support for listen_fds_with_names()</title>
<updated>2019-06-16T14:27:11+00:00</updated>
<author>
<name>Marcel Waldvogel</name>
<email>marcel.waldvogel@uni-konstanz.de</email>
</author>
<published>2018-06-24T09:58:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=b1608daf27a38f223afa4dda1930d4999c183178'/>
<id>b1608daf27a38f223afa4dda1930d4999c183178</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: add the reproducer from #51</title>
<updated>2019-06-16T14:27:11+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2019-06-16T13:23:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=a2471e236906503a2079fe9806303ff31e832cbd'/>
<id>a2471e236906503a2079fe9806303ff31e832cbd</id>
<content type='text'>
The example relies on implementation details, but I don't see
why it wouldn't work everywhere. Let's pull it in, and if it breaks
somewhere, we can remove it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The example relies on implementation details, but I don't see
why it wouldn't work everywhere. Let's pull it in, and if it breaks
somewhere, we can remove it.
</pre>
</div>
</content>
</entry>
<entry>
<title>journal: do not convert extra args to string in JournalHandler</title>
<updated>2017-03-19T19:07:59+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2017-03-19T19:03:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=2169cdea8d2850a8e4109b2d1f3980d44a361818'/>
<id>2169cdea8d2850a8e4109b2d1f3980d44a361818</id>
<content type='text'>
send() already does conversions in a type-specific way, and doing it
in journal handler would defeat those conversions. In particular, UUIDs
would be converted to early and have dashes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
send() already does conversions in a type-specific way, and doing it
in journal handler would defeat those conversions. In particular, UUIDs
would be converted to early and have dashes.
</pre>
</div>
</content>
</entry>
</feed>
