Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 76e66236c8a567db415bce1febbdc290fff1d398
https://github.com/tribe29/checkmk/commit/76e66236c8a567db415bce1febbdc290f…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-01-18 (Mon, 18 Jan 2021)
Changed paths:
A .werks/11873
M cmk/gui/watolib/host_attributes.py
Log Message:
-----------
11873 FIX Fix exception caused by custom host attributes when saving host changes
When some kind of custom host attribute has been defined and is used in the host
configuration, this may lead to an exception like this when editing or deleting
hosts: <tt>Exception: AttributeError ('HostAttributeMYATTRIBUTEConcrete'
object has no attribute 'is_explicit')</tt>.
Besides the fix, this change also adds the type hints that were missing
to uncover this issue.
Change-Id: I87921cf46f82ca44b525c5ce64240f063f45279d
Commit: f948e3842db9829b488a88ed406cdcdbda6d3991
https://github.com/tribe29/checkmk/commit/f948e3842db9829b488a88ed406cdcdbd…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-01-18 (Mon, 18 Jan 2021)
Changed paths:
A tests/typeshed/redis/__init__.pyi
A tests/typeshed/redis/client.pyi
A tests/typeshed/redis/connection.pyi
A tests/typeshed/redis/exceptions.pyi
A tests/typeshed/redis/utils.pyi
Log Message:
-----------
Added external typization for redis-py from typeshed
https: //github.com/python/typeshed/tree/master/third_party/2and3/redis
CMK-6952
Change-Id: If01f2a466c768904329b67d07895815869b5d5bc
Commit: 00eaa4a225bbb694a74ab089d5f246725de11a6c
https://github.com/tribe29/checkmk/commit/00eaa4a225bbb694a74ab089d5f246725…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-01-18 (Mon, 18 Jan 2021)
Changed paths:
M tests/typeshed/redis/client.pyi
Log Message:
-----------
Fix some issues related to str/bytes in redis-py typesheds
Mypy picks the first match when checking overloaded function
definitions, so more specific variants need to come first. This will
also be put as a PR.
CMK-6952
Change-Id: I1e82e8034073026cafd63dd569267f95444f0a91
Commit: f9e9e472defa60bbf2ffd289bc006170d3fec093
https://github.com/tribe29/checkmk/commit/f9e9e472defa60bbf2ffd289bc006170d…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-01-18 (Mon, 18 Jan 2021)
Changed paths:
M cmk/utils/bi/bi_compiler.py
A cmk/utils/redis.py
A tests/unit/cmk/utils/test_redis.py
Log Message:
-----------
Implement utilities for managing Redis DBs
For now, the only functionality is a function to get a correctly typed
client for the default DB (index 0).
CMK-6792
Change-Id: I91f4fab2198b4d0b2af4a5ae9e3c634ab80c0a94
Compare:
https://github.com/tribe29/checkmk/compare/166592a4d298...f9e9e472defa