summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* build-sys: also put pytest.ini in the tarballZbigniew Jędrzejewski-Szmek2015-10-271-0/+1
| | | | Without this tests don't seem to run properly with a build dir.
* docs: remove SD_MESSAGE_CONFIG_ERROR from listZbigniew Jędrzejewski-Szmek2015-10-271-1/+0
| | | | | This list should be auto-generated... Let's remove the ID that was removed from systemd from here too for now.
* Add NEWS fileZbigniew Jędrzejewski-Szmek2015-10-272-0/+30
|
* build-sys: add utility target to run testsZbigniew Jędrzejewski-Szmek2015-10-271-0/+4
|
* build-sys: add utility target to build TAGSZbigniew Jędrzejewski-Szmek2015-10-272-1/+6
|
* Python2 does not have ConnectionErrorZbigniew Jędrzejewski-Szmek2015-10-271-5/+10
|
* build-sys: include tests in installationZbigniew Jędrzejewski-Szmek2015-10-271-1/+2
| | | | | | This also allows tests to be run against he build directory: $ py.test-2.7 -v build/lib.linux-x86_64-2.7 docs $ py.test-3.4 -v build/lib.linux-x86_64-3.4 docs
* tests: add tests for notify()Zbigniew Jędrzejewski-Szmek2015-10-261-1/+36
|
* daemon: wrap sd_pid_notify[_with_pids]Zbigniew Jędrzejewski-Szmek2015-10-262-10/+79
| | | | Closes #8.
* Merge branch 'tests'Zbigniew Jędrzejewski-Szmek2015-10-256-170/+513
|\
| * tests: work around bug in sd_is_mqZbigniew Jędrzejewski-Szmek2015-10-251-3/+20
| | | | | | | | The fix was committed in v226-362-g0260d1d542.
| * Do not assume specific output from the journalZbigniew Jędrzejewski-Szmek2015-10-251-2/+1
| | | | | | | | | | While we *usually* get those messages from udev, in many tests environments this will not be true, so just do not try to check the output at all.
| * tests: add simplistic tests for Reader matchesZbigniew Jędrzejewski-Szmek2015-09-161-1/+33
| | | | | | | | | | | | | | It would be nice to run those tests against fake journal files with the right content to actually test the matches. But those tests are still useful because they test that the interface works as expected.
| * journal: allow numbers in field identifiersZbigniew Jędrzejewski-Szmek2015-09-171-2/+2
| |
| * tests: add tests for Reader initializationZbigniew Jędrzejewski-Szmek2015-09-172-1/+40
| |
| * journal: reindent to 4 spacesZbigniew Jędrzejewski-Szmek2015-09-171-158/+156
| |
| * tests: start adding tests for JournalHandlerZbigniew Jędrzejewski-Szmek2015-09-171-0/+34
| |
| * Normalize some strange indentationZbigniew Jędrzejewski-Szmek2015-09-081-7/+8
| |
| * tests: add more tests for socket functionsZbigniew Jędrzejewski-Szmek2015-09-061-1/+85
| |
| * tests: adapt to python2.7 output againZbigniew Jędrzejewski-Szmek2015-09-051-3/+2
| |
| * tests: daemon.bootedZbigniew Jędrzejewski-Szmek2015-09-051-1/+9
| |
| * tests: daemon.listen_fdsZbigniew Jędrzejewski-Szmek2015-09-051-1/+26
| |
| * tests: fix test discovery by pytestZbigniew Jędrzejewski-Szmek2015-09-051-1/+2
| |
| * tests: also collect doctests from rstZbigniew Jędrzejewski-Szmek2015-09-053-6/+40
| | | | | | | | There isn't much to test now, but it doesn't hurt to enable.
| * tests: enable doctests in the sourcesZbigniew Jędrzejewski-Szmek2015-09-052-6/+14
| | | | | | | | | | | | | | | | | | Unfortunately the "standard" way to access the names in the defined module does not work. I find it nicer to explicitly import, e.g. from systemd import journal, because then the examples correspond more closely to what a user would use. The only exception is made for JournalHandler, because journal.JournalHandler is a tad to long.
| * tests: add first testZbigniew Jędrzejewski-Szmek2015-08-071-0/+64
| | | | | | | | | | This is based on the code in https://github.com/systemd/python-systemd/pull/4 by Jacek Konieczny <j.konieczny@eggsoft.pl>.
* | build-sys: replace loop with list comprehensionZbigniew Jędrzejewski-Szmek2015-10-251-5/+3
| |
* | build-sys: generate systemd/id128-constants.h in setup.pyJeroen Dekkers2015-10-252-5/+21
| | | | | | | | Fixes #7.
* | Fix booted() docEvgeny Vereshchagin2015-09-041-1/+1
| |
* | Add compatibility with systemd < 205Zbigniew Jędrzejewski-Szmek2015-09-042-16/+28
| |
* | build-sys: output full pkg-config output on failureZbigniew Jędrzejewski-Szmek2015-09-041-10/+28
| |
* | build-sys: use pkg-config to build with old systemdZbigniew Jędrzejewski-Szmek2015-09-042-10/+33
| | | | | | | | | | This should allow the build to just work on old Ubuntu and similar.
* | README: add semaphore build badgeZbigniew Jędrzejewski-Szmek2015-09-031-0/+2
|/
* tree-wide: systemd→python-systemd in headersZbigniew Jędrzejewski-Szmek2015-08-0712-36/+36
|
* build-sys: add clean targetsZbigniew Jędrzejewski-Szmek2015-08-071-1/+7
|
* Fix daemon.is_fifo and .is_mq under Python 3Jacek Konieczny2015-08-071-2/+8
| | | | | | | The 'path' parameter was not properly converted from Unicode and the functions would always fail when a path was provided. https://github.com/systemd/python-systemd/pull/4
* Update source building instructionsDavid Strauss2015-08-021-6/+6
| | | | | * Only list Fedora 21+. Older releases are no longer supported by upstream, let alone for systemd development. * Fedora now uses `pip` and `pip3`, not `pip-python` and `pip-python3`. By only documenting Fedora 21+, we can be consistent in the instructions. * Use HTTPS for git (rather than HTTP).
* build-sys: also add installation and dist targetsZbigniew Jędrzejewski-Szmek2015-07-082-1/+8
|
* build-sys: exclude id128-constants.h after allZbigniew Jędrzejewski-Szmek2015-07-081-1/+1
| | | | | This file should be rebuild from latest systemd headers, and not distributed here.
* docs: avoid warning about duplicate target nameZbigniew Jędrzejewski-Szmek2015-07-081-1/+1
|
* docs: update links in documentationZbigniew Jędrzejewski-Szmek2015-07-082-6/+18
| | | | | This is a standalone package now, but let's keep the links to systemd itself.
* build-sys: call setup.py from makeZbigniew Jędrzejewski-Szmek2015-07-081-1/+8
|
* build-sys: add make rules for documentationZbigniew Jędrzejewski-Szmek2015-07-081-0/+15
|
* Move docs to top level and include in manifestZbigniew Jędrzejewski-Szmek2015-07-0810-0/+1
|
* Bump version to 230v230Zbigniew Jędrzejewski-Szmek2015-07-051-1/+1
| | | | | This matches what was done for libgudev. This way we have plenty of time to remove the module from systemd, and this version will always be "newer".
* Specify system-devel@ as the maintainersZbigniew Jędrzejewski-Szmek2015-07-051-0/+2
|
* build-sys: add MANIFEST.in to properly include all filesZbigniew Jędrzejewski-Szmek2015-07-052-0/+5
|
* Use python-systemd as the nameZbigniew Jędrzejewski-Szmek2015-07-051-1/+1
| | | | | We want the package to be installed under this name. This is also used for sdist, and we want python-systemd-<version>.tar.xz.
* Update LICENSE file and classifiersZbigniew Jędrzejewski-Szmek2015-07-0515-41/+535
| | | | | | The license was originally MIT, but when this module became part of systemd, it was changed to LGPLv2+. All files had correct headers, so only the LICENSE file needs updating. Take the opportunity to add classifiers to setup.py.
* build-sys: update setup.py to build everythingZbigniew Jędrzejewski-Szmek2015-07-0510-15/+176
|