HomeClusterLabs Projects

Refactor: libcrmcommon: New pcmk__xml_patchset_versions()
37410f812973Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Refactor: libcrmcommon: New pcmk__xml_patchset_versions()

Preserve the body of xml_patch_versions() because the new function
returns EINVAL in the case where we fail to parse version numbers as
integers.

The order of arguments changes. I think it's clearer to use "source" and
then "target". In v1 patchsets, we used "add"/"remove", but we can start
moving away from that.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Mar 17 2025, 4:33 PM
Parents
rP047d66eb7230: Refactor: libcrmcommon: Document buggy return xml_patch_versions() RC
Branches
Unknown
Tags
Unknown

Event Timeline