#
dfddd648 |
| 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: Ica590f8613f1fb89ab1ca676ac51c1cc7e38d67f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
5e15c3ba |
| 20-Oct-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I3e9e6350864ac267819a4b8d670bef7d3746976e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
fbf4703f |
| 17-Jul-2023 |
Patrick Williams <patrick@stwcx.xyz> |
use std::format instead of fmt::format
The std::format is sufficient for the uses in this repository except for in one file (override_fan_target.cpp, since P2286 isn't supported by GCC yet). Switch
use std::format instead of fmt::format
The std::format is sufficient for the uses in this repository except for in one file (override_fan_target.cpp, since P2286 isn't supported by GCC yet). Switch to std::format whenever possible.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib2576fb530a4d7ce238e1b0bd95b40b476ec2107
show more ...
|
#
61b73296 |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I152f141a5e8343b92b5ce81d3ca16eec77b5606b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
7f23e2c3 |
| 14-Mar-2022 |
Matthew Barth <msbarth@us.ibm.com> |
control:action: Timer based actions run actions on stop timer
When the `call_actions_based_on_timer` action is triggered and it results in stopping its timer and that timer is not running, it result
control:action: Timer based actions run actions on stop timer
When the `call_actions_based_on_timer` action is triggered and it results in stopping its timer and that timer is not running, it results in running all of its configured actions. The idea behind this action is to run a set of actions when its configured timer expires and to not run that set of actions if the state results in the timer being disabled. However, when the state results in what would have caused the timer to be disabled occurs after the timer has already expired, the set of actions should also then be run, which is what this change adds.
Change-Id: Ie5e53790d6b5bad1fedf3bcd68128df03b0b6317 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
cb112a3f |
| 30-Jun-2021 |
Matthew Barth <msbarth@us.ibm.com> |
control:actions: Add timer based actions The timer based actions action starts and stops a timer that runs a list of actions whenever the timer expires. The configured timer is set to
control:actions: Add timer based actions The timer based actions action starts and stops a timer that runs a list of actions whenever the timer expires. The configured timer is set to callback the list of actions against the given zones and any configured groups. Where any group does not have a configured value to be compared against, the groups' service owned state is used to start/stop the timer. When any service providing a group member is not owned, the timer is started and if all memebers' services are owned, the timer is stopped. Where all groups have a configured value to compare against, that will be compared against all memebers within each group to start/stop the timer. When all group members have a given value and it matches what's in the cache, the timer is started and if any do not match, the timer is stopped. Basic event config using this action: . . "actions": [ { "name": "call_actions_based_on_timer", "timer": { "interval": 5000000, "type": "repeating" }, "actions": [ { "name": "test" } ] } ] Change-Id: Ibb80af3218b3cda8b1a7f5bc4dd31046ea6b2bea Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|