On 01/03/13 01:23, Zbigniew Jędrzejewski-Szmek wrote:
On Thu, Feb 28, 2013 at 05:15:05PM -0800, Zbigniew Jędrzejewski-Szmek wrote:
Makefile.am | 80 +++
README | 7
configure.ac | 1
man/.gitignore | 1
src/journal/journalctl.c | 9
src/python-systemd/.gitignore | 2
src/python-systemd/_journal.c | 2
src/python-systemd/_reader.c | 774
++++++++++++++++++++++++++++++++++++
src/python-systemd/docs/conf.py | 288 +++++++++++++
src/python-systemd/docs/id128.rst | 38 +
src/python-systemd/docs/index.rst | 22 +
src/python-systemd/docs/journal.rst | 49 ++
src/python-systemd/id128.c | 162 +++++++
src/python-systemd/journal.py | 299 ++++++++++++-
src/python-systemd/pyutil.c | 30 +
src/python-systemd/pyutil.h | 29 +
16 files changed, 1752 insertions(+), 41 deletions(-)
New commits:
commit 37d3ab1b7e114f0fb6dfb2e7273569b42794b76a
Merge: 54c31a7 7f41820
Author: Zbigniew J??drzejewski-Szmek <zbys...@in.waw.pl>
Date: Thu Feb 28 19:53:42 2013 -0500
Merge branch 'python-systemd-reader'
* python-systemd-reader:
python-systemd: rename Journal to Reader
build-sys: upload python documentation to freedesktop.org
systemd-python: add Journal class for reading journal
python: build html docs using sphinx
journalct: also print Python code in --new-id
python: utilize uuid.UUID in logging
python: add systemd.id128 module
... and 34 other commits
In short: python module systemd.id128 is added, and existing
systemd.journal gains a new class systemd.journal.Reader, which can be
used to iterate over journal entries. Documentation is provided, and
accessible under e.g.
pydoc3 systemd.journal.Reader
or
firefox http://www.freedesktop.org/software/systemd/man/python-systemd/
Hi Steven,
as you can see, I merged your module into the master branch. Any
additional cleanup can be done in the main tree. Thank you for the
module!
Zbyszek
Brilliant. Thank you for your patience, input and contributions. As you
may have noticed I'm a bit of a novice when it comes to C and the python
C-API,so you assistance was greatly appreciated.
--
Steven Hiscocks
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel