| #
ac69e77e
|
| 26-Jan-2026 |
Gunnar Mills <gmills@us.ibm.com> |
Move clang-off / clang-on to catch scope
As a comment in https://gerrit.openbmc.org/c/openbmc/bmcweb/+/86868 suggested "You might also consider moving this up a line so you catch the scope on both s
Move clang-off / clang-on to catch scope
As a comment in https://gerrit.openbmc.org/c/openbmc/bmcweb/+/86868 suggested "You might also consider moving this up a line so you catch the scope on both sides."
This enforces just the slightest bit more clang-format.
Rerun script.
Tested: Builds. Manual changes to script only. Rest generated.
Change-Id: I8ff01befc56c576716f5d83bd90763354b1ff0c5 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
| #
6bb8c608
|
| 26-Jan-2026 |
Gunnar Mills <gmills@us.ibm.com> |
Rename switch namespace
switch is a reserved keyword in C++.. Therefore "namespace switch" is illegal C++ code.
Add a couple lines of python code to check for keywords and then rename with a rf_ at
Rename switch namespace
switch is a reserved keyword in C++.. Therefore "namespace switch" is illegal C++ code.
Add a couple lines of python code to check for keywords and then rename with a rf_ at the front, e.g. namespace rf_switch.
Rerun the script update_schemas.py script.
This showed downstream, but probably would have upstream too.
``` switch.hpp:8:11: error: expected identifier or '{' [clang-diagnostic-error] 8 | namespace switch | ^ .../bmcweb/redfish-core/include/generated/enums/switch.hpp:8:11: error: expected unqualified-id [clang-diagnostic-error]
...
FAILED: meson-internal__clang-tidy-fix ```
Change-Id: I58be67fc0df6e5056e63da5302724e6509b7114b Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
| #
9dec964e
|
| 20-Jan-2026 |
Gunnar Mills <gmills@us.ibm.com> |
Move to Redfish 2025.4
One line change and rerun the script. 2025.4 includes new properties. One use case is for Redundancy. For the complete overview see [1].
Tested: Visual and build only. In the
Move to Redfish 2025.4
One line change and rerun the script. 2025.4 includes new properties. One use case is for Redundancy. For the complete overview see [1].
Tested: Visual and build only. In the past these have not broken things.
[1]: https://www.dmtf.org/sites/default/files/Redfish_Release_2025.4_Overview.pdf
Change-Id: Icaf710eaa99816264993a964ef9dd8a7f5e7722a Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|