-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: libpe_rules: New timezone attribute in date_expression of rules #3068
base: main
Are you sure you want to change the base?
Commits on Oct 10, 2023
-
Refactor: libpe_rules: Rename pe_cron_range_satisfied to pe__
Internal-only Signed-off-by: Reid Wahl <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fb0e521 - Browse repository at this point
Copy the full SHA fb0e521View commit details -
Refactor: libpe_rules: Rename pe_unpack_alerts to pe__
Internal-only Signed-off-by: Reid Wahl <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 576066b - Browse repository at this point
Copy the full SHA 576066bView commit details -
Refactor: libpe_rules: Rename pe_free_alert_list to pe__
Internal-only Signed-off-by: Reid Wahl <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 273e05a - Browse repository at this point
Copy the full SHA 273e05aView commit details -
Refactor: libcrmcommon: New function to get timezone correctly
crm_time_get_timezone() should convert dt->offset to hours and minutes, rather than converting dt->seconds. Additionally, the output variables must be signed, since the offset can be negative. However, we can't change the interface since it's public API. Create a new internal function to get timezone correctly. Signed-off-by: Reid Wahl <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce6095e - Browse repository at this point
Copy the full SHA ce6095eView commit details -
API: libcrmcommon: Deprecate crm_time_get_timezone()
This function has never worked correctly (it uses dt->seconds instead of dt->offset, and it stores output values as unsigned). Nothing uses it internally, so we deprecate it here. It will be removed in a future release. Signed-off-by: Reid Wahl <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e5b578c - Browse repository at this point
Copy the full SHA e5b578cView commit details -
Refactor: libcrmcommon: New function to set timezone for crm_time_t
Given a timezone expressed as hours and minutes offset from UTC, adjust the object's time to match the timezone and then set the object's timezone. Signed-off-by: Reid Wahl <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a0ad7f8 - Browse repository at this point
Copy the full SHA a0ad7f8View commit details -
API: libcrmcommon: New PCMK_XA_TIME_ZONE string constant
This will be used as a new cluster property name. Ref T646 Signed-off-by: Reid Wahl <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 92b9274 - Browse repository at this point
Copy the full SHA 92b9274View commit details -
Feature: libcrmcommon: Bump feature set for cluster-timezone property
For the new "timezone" attribute of date_expression elements in rules. Ref T646 Signed-off-by: Reid Wahl <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 17aacdb - Browse repository at this point
Copy the full SHA 17aacdbView commit details -
Doc: Pacemaker Explained: Document rule:date_expression:timezone
Closes T646 Closes RHBZ#2183466 Signed-off-by: Reid Wahl <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67e6d36 - Browse repository at this point
Copy the full SHA 67e6d36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c24f97 - Browse repository at this point
Copy the full SHA 4c24f97View commit details