Commit Graph

44 Commits

Author SHA1 Message Date
dependabot-preview[bot] 6820127ccb
Bump redis from 3.4.0 to 3.4.1 in /src
Bumps [redis](https://github.com/andymccurdy/redis-py) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/andymccurdy/redis-py/releases)
- [Changelog](https://github.com/andymccurdy/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/andymccurdy/redis-py/compare/3.4.0...3.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-02 07:08:28 +00:00
dependabot-preview[bot] 25501aa531
Bump redis from 3.3.11 to 3.4.0 in /src
Bumps [redis](https://github.com/andymccurdy/redis-py) from 3.3.11 to 3.4.0.
- [Release notes](https://github.com/andymccurdy/redis-py/releases)
- [Changelog](https://github.com/andymccurdy/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/andymccurdy/redis-py/compare/3.3.11...3.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-31 02:32:43 +00:00
dependabot-preview[bot] 3872b7bcb8
Update pytest requirement from <5.3,>=3.7.2 to >=3.7.2,<5.4 in /src
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/5.3.0/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/3.7.2...5.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-19 22:01:50 +00:00
dependabot-preview[bot] 23e43d0760
Bump redis from 3.3.10 to 3.3.11 in /src
Bumps [redis](https://github.com/andymccurdy/redis-py) from 3.3.10 to 3.3.11.
- [Release notes](https://github.com/andymccurdy/redis-py/releases)
- [Changelog](https://github.com/andymccurdy/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/andymccurdy/redis-py/compare/3.3.10...3.3.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-13 16:09:39 +00:00
dependabot-preview[bot] 9ae805d3a0
Bump redis from 3.3.8 to 3.3.10 in /src
Bumps [redis](https://github.com/andymccurdy/redis-py) from 3.3.8 to 3.3.10.
- [Release notes](https://github.com/andymccurdy/redis-py/releases)
- [Changelog](https://github.com/andymccurdy/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/andymccurdy/redis-py/compare/3.3.8...3.3.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-11 02:58:09 +00:00
dependabot-preview[bot] 2e32fb859f
Update pytest-cov requirement from <2.8,>=2.5.1 to >=2.5.1,<2.9 in /src
Updates the requirements on [pytest-cov](https://github.com/pytest-dev/pytest-cov) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases)
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.5.1...v2.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-04 20:39:25 +00:00
dependabot-preview[bot] a3687325b4
Update pytest requirement from <5.2,>=3.7.2 to >=3.7.2,<5.3 in /src
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/5.2.0/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/3.7.2...5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-29 13:18:20 +00:00
dependabot-preview[bot] 41742fc1b5
Bump redis from 3.3.7 to 3.3.8 in /src
Bumps [redis](https://github.com/andymccurdy/redis-py) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/andymccurdy/redis-py/releases)
- [Changelog](https://github.com/andymccurdy/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/andymccurdy/redis-py/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 22:00:46 +00:00
dependabot-preview[bot] 156cea5f7a
Update pytest requirement from <5.1,>=3.7.2 to >=3.7.2,<5.2 in /src
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/3.7.2...5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-16 01:46:44 +00:00
dependabot-preview[bot] 682a2561d8
Bump redis from 3.3.6 to 3.3.7 in /src
Bumps [redis](https://github.com/andymccurdy/redis-py) from 3.3.6 to 3.3.7.
- [Release notes](https://github.com/andymccurdy/redis-py/releases)
- [Changelog](https://github.com/andymccurdy/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/andymccurdy/redis-py/compare/3.3.6...3.3.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-14 00:11:34 +00:00
dependabot-preview[bot] 915446aca9
Bump redis from 3.3.5 to 3.3.6 in /src
Bumps [redis](https://github.com/andymccurdy/redis-py) from 3.3.5 to 3.3.6.
- [Release notes](https://github.com/andymccurdy/redis-py/releases)
- [Changelog](https://github.com/andymccurdy/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/andymccurdy/redis-py/compare/3.3.5...3.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-06 18:23:15 +00:00
dependabot-preview[bot] 44ca545905
Bump redis from 3.3.4 to 3.3.5 in /src
Bumps [redis](https://github.com/andymccurdy/redis-py) from 3.3.4 to 3.3.5.
- [Release notes](https://github.com/andymccurdy/redis-py/releases)
- [Changelog](https://github.com/andymccurdy/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/andymccurdy/redis-py/compare/3.3.4...3.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-02 22:34:39 +00:00
dependabot-preview[bot] bf6496c36b
Bump redis from 3.3.2 to 3.3.4 in /src
Bumps [redis](https://github.com/andymccurdy/redis-py) from 3.3.2 to 3.3.4.
- [Release notes](https://github.com/andymccurdy/redis-py/releases)
- [Changelog](https://github.com/andymccurdy/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/andymccurdy/redis-py/compare/3.3.2...3.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-31 00:11:53 +00:00
dependabot-preview[bot] 81e1f24a44
Bump redis from 3.2.1 to 3.3.2 in /src
Bumps [redis](https://github.com/andymccurdy/redis-py) from 3.2.1 to 3.3.2.
- [Release notes](https://github.com/andymccurdy/redis-py/releases)
- [Changelog](https://github.com/andymccurdy/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/andymccurdy/redis-py/compare/3.2.1...3.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 20:59:40 +00:00
dependabot-preview[bot] 1d45a1f143
Update pytest requirement from <4.7,>=3.7.2 to >=3.7.2,<5.1 in /src
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/3.7.2...5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-29 01:15:27 +00:00
dependabot-preview[bot] 74f477d011
Update pytest requirement from <4.6,>=3.7.2 to >=3.7.2,<4.7 in /src
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/3.7.2...4.6.0)
2019-06-01 18:22:39 +00:00
Juergen Edelbluth c28d8bf931
Merge pull request #8 from juergen-rocks/dependabot/pip/src/pytest-cov-gte-2.5.1-and-lt-2.8
Update pytest-cov requirement from <2.6,>=2.5.1 to >=2.5.1,<2.8 in /src
2019-05-23 15:37:40 +00:00
Juergen Edelbluth adeff8f4c2
Merge pull request #7 from juergen-rocks/dependabot/pip/src/redis-3.2.1
Bump redis from 2.10.6 to 3.2.1 in /src
2019-05-23 15:36:55 +00:00
dependabot[bot] a9677bd55d
Update pytest-cov requirement from <2.6,>=2.5.1 to >=2.5.1,<2.8 in /src
Updates the requirements on [pytest-cov](https://github.com/pytest-dev/pytest-cov) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases)
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.5.1...v2.7.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-23 15:35:30 +00:00
dependabot[bot] 1daac6cc3d
Bump redis from 2.10.6 to 3.2.1 in /src
Bumps [redis](https://github.com/andymccurdy/redis-py) from 2.10.6 to 3.2.1.
- [Release notes](https://github.com/andymccurdy/redis-py/releases)
- [Changelog](https://github.com/andymccurdy/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/andymccurdy/redis-py/compare/2.10.6...3.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-23 15:28:31 +00:00
dependabot[bot] c843bdaa8c
Update pytest requirement from <3.8,>=3.7.2 to >=3.7.2,<4.6 in /src
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/3.7.2...4.5.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-23 15:28:25 +00:00
Juergen Edelbluth 541481e7f7 Issue #5: Fehlerbehandlung verbessert
Wenn es beim Lesen zu einem `IOError` kommt, so ging dieser in der weiteren Verarbeitung unter. Der Rest des Programmes arbeitete weiter, obwohl es sinnlos war.

Nun werden diese Verbesserungen vorgenommen:

1. Zusammen mit der Exception werden Hinweise ausgegeben, wie es zu dem Lesefehler gekommen sein könnte
2. Das eigentliche Handling der Exception wandert in die aufrufende Methode

Dies löst aber noch nicht den Hardware-Zugriff unter normalen Benutzerrechten. Dies wird anderweitig adressiert.
2019-01-18 19:45:13 +01:00
Juergen Edelbluth 9f31745b29 Additional -> in textual outputs 2018-08-21 21:20:58 +02:00
Juergen Edelbluth b0f4c0023c Additional Unit Tests for DOs 2018-08-21 20:51:22 +02:00
Juergen Edelbluth cdb8d19c9e Type hinting 2018-08-19 21:05:18 +02:00
Juergen Edelbluth acd24cedf0 No 'virtualenv' dir in tests 2018-08-19 10:56:55 +02:00
Juergen Edelbluth b2716e8363 More Testing with coverage for the Config File Discovery
The config file discovery is now tested with coverage and some mocking.
2018-08-19 10:52:37 +02:00
Juergen Edelbluth d52d36d4c3 Monkey patching sucks.
But this makes this stuff at least testable.
2018-08-19 10:03:03 +02:00
Juergen Edelbluth 7b0545ffd3 First test and mocking attempt 2018-08-18 20:35:33 +02:00
Juergen Edelbluth 228364e1fb Anpassung der Umgebungsvariablenbezeichnung 2018-08-18 10:33:00 +02:00
Juergen Edelbluth 0f8881e4a9 Alternativer Weg zum Laden der Konfiguration
Nun wird eine Konfigurationsdatei an verschiedenen Stellen gesucht.
Zuerst im angegebenen Verzeichnis (hier nun meist `dirname(__file__)`),
dann in einem Verzeichnis, welches durch eine Umgebungsvariable
(Standard: `RS500_CONFIG_PATH`) gesetzt wird, dann im Home-Verzeichnis
des ausführenden Users im Unterverzeichnis `.rs500` und zuletzt im
Verzeichnis `/etc`.

Der erste Treffer gewinnt. Wenn an keiner Stelle die erforderliche Datei
gefunden wird, fliegt ein `FileNotFoundError`.

Dies soll die Ausführung der Skripte mit Konfiguration vereinfachen und
löst das in Issue #3 beschriebene Problem.
2018-08-18 10:27:15 +02:00
Juergen Edelbluth 29f25be7b8 Alle Shell- und Python-Skripte nun ausführbar
Dies ist eine erste Verbesserung im Hinblick auf Issue #3 - so sind alle Skripte nach dem Ausführen direkt executable.
2018-08-17 23:11:50 +02:00
Matthias Strubel e5e8a38ec6 rs5002redis: Password is stored as string and not int 2018-08-16 22:09:11 +02:00
Juergen Edelbluth 5099980089 Bessere Prüfung bei 25,5 °C 2018-02-20 08:14:18 +01:00
Juergen Edelbluth 5545ab8821 45 Sekunden sind besser. Das entlastet das Modul. 2018-02-18 19:43:50 +01:00
Juergen Edelbluth 0f35baa0af check script 2018-02-18 18:13:47 +01:00
Juergen Edelbluth c76a79d48f start script 2018-02-18 16:34:59 +01:00
Juergen Edelbluth da3de1387b start script 2018-02-18 16:24:12 +01:00
Juergen Edelbluth 7ff27d2a75 useless print 2018-02-18 16:21:51 +01:00
Juergen Edelbluth 2af0e39c7a Bugfixing 2018-02-18 16:12:28 +01:00
Juergen Edelbluth 3718fc9efc Little bugfixing 2018-02-18 15:55:28 +01:00
Juergen Edelbluth ccf9200a9b Save Script, reqs 2018-02-18 15:10:47 +01:00
Juergen Edelbluth 65e3bb4127 reqs und README 2018-02-18 14:15:17 +01:00
Juergen Edelbluth 124bb4b852 Initial Checkin 2018-02-18 13:29:33 +01:00