<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/python-systemd.git/systemd, branch v232</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>Store id128-constants.h in the repository</title>
<updated>2016-09-22T00:16:37+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-09-21T23:54:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=d713eacb7ec390d8a0d8610cab61df57e8bd9ae3'/>
<id>d713eacb7ec390d8a0d8610cab61df57e8bd9ae3</id>
<content type='text'>
Instead of generating the list of message ids anew during every build,
the file is generated manually and committed into the
repository. Also, the list of defines is stored in id128-defines.h,
also kept in the repository. Both files should only grow.

This should make build easier. But it also fixes a problem with
systemd, which occasionally drops message definitions. We will keep
them forever, so it should be safe to rely on the presence of message
definitions which systemd does not use anymore.

Fixes #23.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of generating the list of message ids anew during every build,
the file is generated manually and committed into the
repository. Also, the list of defines is stored in id128-defines.h,
also kept in the repository. Both files should only grow.

This should make build easier. But it also fixes a problem with
systemd, which occasionally drops message definitions. We will keep
them forever, so it should be safe to rely on the presence of message
definitions which systemd does not use anymore.

Fixes #23.
</pre>
</div>
</content>
</entry>
<entry>
<title>journal: convert seek_realtime argument to microseconds</title>
<updated>2016-09-22T00:16:37+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-09-20T13:54:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=9e0d797ba7a14ffc4611655008f926f84e896918'/>
<id>9e0d797ba7a14ffc4611655008f926f84e896918</id>
<content type='text'>
This somewhat breaks backwards compatibility, but not for the
previously documented arguments: floats are now interpreted
differently, but ints and datetime.datetime objects are interpreted
the same as before. But the documentation clearly stated that only
ints and datetime.datetime objects were allowed.

This makes seek_realtime match seek_monotonic and other functions
which take time and follows the principle of least surprise.

Fixes #21.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This somewhat breaks backwards compatibility, but not for the
previously documented arguments: floats are now interpreted
differently, but ints and datetime.datetime objects are interpreted
the same as before. But the documentation clearly stated that only
ints and datetime.datetime objects were allowed.

This makes seek_realtime match seek_monotonic and other functions
which take time and follows the principle of least surprise.

Fixes #21.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: use a context manager, skip new functions if missing</title>
<updated>2016-09-21T19:32:58+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-09-20T13:34:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=52119523482430f762f7c8d75161f714b7ef3670'/>
<id>52119523482430f762f7c8d75161f714b7ef3670</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>reader: add SD_JOURNAL_OS_ROOT and rework flag passing</title>
<updated>2016-09-21T19:32:58+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-09-20T13:03:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=02b9432e736f3951078f3ad232baa445ca5d30b1'/>
<id>02b9432e736f3951078f3ad232baa445ca5d30b1</id>
<content type='text'>
Let's pass any flags through to the journal functions without checking
validity. Those functions do their own checking, so there's no need to
second-guess.

The semantics for _Reader(flags=0) are a bit changed:
before, this would be transformed into sd_journal_open(SD_J_LOCAL_ONLY).
Now, this results in sd_journal_open(0). Previous behaviour should be
achieved by not specifying the flags at all.
This change is necessary, because previously it was not possible to
pass flags=0 to sd_journal_open(0), i.e. it was not possible to "merge"
journals through the Python interface.

Similarly, Reader(flags=0) now means to open all journals, and
Reader(flags=None) is the same as Reader(flags=LOCAL_ONLY).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Let's pass any flags through to the journal functions without checking
validity. Those functions do their own checking, so there's no need to
second-guess.

The semantics for _Reader(flags=0) are a bit changed:
before, this would be transformed into sd_journal_open(SD_J_LOCAL_ONLY).
Now, this results in sd_journal_open(0). Previous behaviour should be
achieved by not specifying the flags at all.
This change is necessary, because previously it was not possible to
pass flags=0 to sd_journal_open(0), i.e. it was not possible to "merge"
journals through the Python interface.

Similarly, Reader(flags=0) now means to open all journals, and
Reader(flags=None) is the same as Reader(flags=LOCAL_ONLY).
</pre>
</div>
</content>
</entry>
<entry>
<title>journal: add support for sd_journal_open_files_fd</title>
<updated>2016-09-21T19:32:58+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-09-20T03:13:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=89badf50b797d7b76e37e71c27cba47264c560bf'/>
<id>89badf50b797d7b76e37e71c27cba47264c560bf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>journal: make sd_journal_enumerate return text strings</title>
<updated>2016-09-21T19:32:58+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-09-19T01:59:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=ee9ab0bd6585787655b8add639b5bf7f9a322082'/>
<id>ee9ab0bd6585787655b8add639b5bf7f9a322082</id>
<content type='text'>
Those are field names and they should always be ASCII, and converting
them to str automatically makes the answer more useful.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Those are field names and they should always be ASCII, and converting
them to str automatically makes the answer more useful.
</pre>
</div>
</content>
</entry>
<entry>
<title>journal: allow sd_journal_open_directory_fd to be used</title>
<updated>2016-09-21T19:32:58+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-09-19T01:58:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=dadcd3d723c7781ee9a3ab54341030cad10904bd'/>
<id>dadcd3d723c7781ee9a3ab54341030cad10904bd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reformat documentation to be more PEP257-compliant</title>
<updated>2016-09-20T13:38:36+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-09-18T16:15:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=42f627b30236e92f0b7dd76db8069580ce8a9199'/>
<id>42f627b30236e92f0b7dd76db8069580ce8a9199</id>
<content type='text'>
Wrapping the sources to ~80 columns means that the formatted output is
annoying to read. Rewrap to ~74 columns in the output.

Also remove some obsolete descritions of journal permissions and refer
to journalctl(1) instead.

Add some missing docstrings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Wrapping the sources to ~80 columns means that the formatted output is
annoying to read. Rewrap to ~74 columns in the output.

Also remove some obsolete descritions of journal permissions and refer
to journalctl(1) instead.

Add some missing docstrings.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: check enumerate_fields, has_runtime_fiels, has_persistent_files</title>
<updated>2016-09-20T13:38:18+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-02-07T00:57: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=814cdb9d6ae2aea7a61f92928e5ad77bbd6c87a4'/>
<id>814cdb9d6ae2aea7a61f92928e5ad77bbd6c87a4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>journal: add wrappers for sd_has_*_files</title>
<updated>2016-09-20T13:38:14+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-02-07T00:44:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=36a384a683174471d5158b1848a37612b39ca2ee'/>
<id>36a384a683174471d5158b1848a37612b39ca2ee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
