Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | build-sys: also put pytest.ini in the tarball | Zbigniew Jędrzejewski-Szmek | 2015-10-27 | 1 | -0/+1 | |
| | | | | Without this tests don't seem to run properly with a build dir. | |||||
* | docs: remove SD_MESSAGE_CONFIG_ERROR from list | Zbigniew Jędrzejewski-Szmek | 2015-10-27 | 1 | -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 file | Zbigniew Jędrzejewski-Szmek | 2015-10-27 | 2 | -0/+30 | |
| | ||||||
* | build-sys: add utility target to run tests | Zbigniew Jędrzejewski-Szmek | 2015-10-27 | 1 | -0/+4 | |
| | ||||||
* | build-sys: add utility target to build TAGS | Zbigniew Jędrzejewski-Szmek | 2015-10-27 | 2 | -1/+6 | |
| | ||||||
* | Python2 does not have ConnectionError | Zbigniew Jędrzejewski-Szmek | 2015-10-27 | 1 | -5/+10 | |
| | ||||||
* | build-sys: include tests in installation | Zbigniew Jędrzejewski-Szmek | 2015-10-27 | 1 | -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-Szmek | 2015-10-26 | 1 | -1/+36 | |
| | ||||||
* | daemon: wrap sd_pid_notify[_with_pids] | Zbigniew Jędrzejewski-Szmek | 2015-10-26 | 2 | -10/+79 | |
| | | | | Closes #8. | |||||
* | Merge branch 'tests' | Zbigniew Jędrzejewski-Szmek | 2015-10-25 | 6 | -170/+513 | |
|\ | ||||||
| * | tests: work around bug in sd_is_mq | Zbigniew Jędrzejewski-Szmek | 2015-10-25 | 1 | -3/+20 | |
| | | | | | | | | The fix was committed in v226-362-g0260d1d542. | |||||
| * | Do not assume specific output from the journal | Zbigniew Jędrzejewski-Szmek | 2015-10-25 | 1 | -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 matches | Zbigniew Jędrzejewski-Szmek | 2015-09-16 | 1 | -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 identifiers | Zbigniew Jędrzejewski-Szmek | 2015-09-17 | 1 | -2/+2 | |
| | | ||||||
| * | tests: add tests for Reader initialization | Zbigniew Jędrzejewski-Szmek | 2015-09-17 | 2 | -1/+40 | |
| | | ||||||
| * | journal: reindent to 4 spaces | Zbigniew Jędrzejewski-Szmek | 2015-09-17 | 1 | -158/+156 | |
| | | ||||||
| * | tests: start adding tests for JournalHandler | Zbigniew Jędrzejewski-Szmek | 2015-09-17 | 1 | -0/+34 | |
| | | ||||||
| * | Normalize some strange indentation | Zbigniew Jędrzejewski-Szmek | 2015-09-08 | 1 | -7/+8 | |
| | | ||||||
| * | tests: add more tests for socket functions | Zbigniew Jędrzejewski-Szmek | 2015-09-06 | 1 | -1/+85 | |
| | | ||||||
| * | tests: adapt to python2.7 output again | Zbigniew Jędrzejewski-Szmek | 2015-09-05 | 1 | -3/+2 | |
| | | ||||||
| * | tests: daemon.booted | Zbigniew Jędrzejewski-Szmek | 2015-09-05 | 1 | -1/+9 | |
| | | ||||||
| * | tests: daemon.listen_fds | Zbigniew Jędrzejewski-Szmek | 2015-09-05 | 1 | -1/+26 | |
| | | ||||||
| * | tests: fix test discovery by pytest | Zbigniew Jędrzejewski-Szmek | 2015-09-05 | 1 | -1/+2 | |
| | | ||||||
| * | tests: also collect doctests from rst | Zbigniew Jędrzejewski-Szmek | 2015-09-05 | 3 | -6/+40 | |
| | | | | | | | | There isn't much to test now, but it doesn't hurt to enable. | |||||
| * | tests: enable doctests in the sources | Zbigniew Jędrzejewski-Szmek | 2015-09-05 | 2 | -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 test | Zbigniew Jędrzejewski-Szmek | 2015-08-07 | 1 | -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 comprehension | Zbigniew Jędrzejewski-Szmek | 2015-10-25 | 1 | -5/+3 | |
| | | ||||||
* | | build-sys: generate systemd/id128-constants.h in setup.py | Jeroen Dekkers | 2015-10-25 | 2 | -5/+21 | |
| | | | | | | | | Fixes #7. | |||||
* | | Fix booted() doc | Evgeny Vereshchagin | 2015-09-04 | 1 | -1/+1 | |
| | | ||||||
* | | Add compatibility with systemd < 205 | Zbigniew Jędrzejewski-Szmek | 2015-09-04 | 2 | -16/+28 | |
| | | ||||||
* | | build-sys: output full pkg-config output on failure | Zbigniew Jędrzejewski-Szmek | 2015-09-04 | 1 | -10/+28 | |
| | | ||||||
* | | build-sys: use pkg-config to build with old systemd | Zbigniew Jędrzejewski-Szmek | 2015-09-04 | 2 | -10/+33 | |
| | | | | | | | | | | This should allow the build to just work on old Ubuntu and similar. | |||||
* | | README: add semaphore build badge | Zbigniew Jędrzejewski-Szmek | 2015-09-03 | 1 | -0/+2 | |
|/ | ||||||
* | tree-wide: systemd→python-systemd in headers | Zbigniew Jędrzejewski-Szmek | 2015-08-07 | 12 | -36/+36 | |
| | ||||||
* | build-sys: add clean targets | Zbigniew Jędrzejewski-Szmek | 2015-08-07 | 1 | -1/+7 | |
| | ||||||
* | Fix daemon.is_fifo and .is_mq under Python 3 | Jacek Konieczny | 2015-08-07 | 1 | -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 instructions | David Strauss | 2015-08-02 | 1 | -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 targets | Zbigniew Jędrzejewski-Szmek | 2015-07-08 | 2 | -1/+8 | |
| | ||||||
* | build-sys: exclude id128-constants.h after all | Zbigniew Jędrzejewski-Szmek | 2015-07-08 | 1 | -1/+1 | |
| | | | | | This file should be rebuild from latest systemd headers, and not distributed here. | |||||
* | docs: avoid warning about duplicate target name | Zbigniew Jędrzejewski-Szmek | 2015-07-08 | 1 | -1/+1 | |
| | ||||||
* | docs: update links in documentation | Zbigniew Jędrzejewski-Szmek | 2015-07-08 | 2 | -6/+18 | |
| | | | | | This is a standalone package now, but let's keep the links to systemd itself. | |||||
* | build-sys: call setup.py from make | Zbigniew Jędrzejewski-Szmek | 2015-07-08 | 1 | -1/+8 | |
| | ||||||
* | build-sys: add make rules for documentation | Zbigniew Jędrzejewski-Szmek | 2015-07-08 | 1 | -0/+15 | |
| | ||||||
* | Move docs to top level and include in manifest | Zbigniew Jędrzejewski-Szmek | 2015-07-08 | 10 | -0/+1 | |
| | ||||||
* | Bump version to 230v230 | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 1 | -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 maintainers | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 1 | -0/+2 | |
| | ||||||
* | build-sys: add MANIFEST.in to properly include all files | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 2 | -0/+5 | |
| | ||||||
* | Use python-systemd as the name | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 1 | -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 classifiers | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 15 | -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 everything | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 10 | -15/+176 | |
| |