Skip to content
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

Move more code from libpe_rules to libcrmcommon #3740

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

kgaillot
Copy link
Contributor

@kgaillot kgaillot commented Dec 2, 2024

This allows libcib to drop its linkage with libpe_rules

@kgaillot
Copy link
Contributor Author

kgaillot commented Dec 2, 2024

@wenningerk , here's the next chunk of this project

@wenningerk
Copy link
Contributor

wenningerk commented Dec 10, 2024

Looking good as far as I can tell. Just comments and thoughts ...

lib/common/nvpair.c Outdated Show resolved Hide resolved
lib/pengine/utils.c Show resolved Hide resolved
include/crm/pengine/common.h Show resolved Hide resolved
include/crm/pengine/rules.h Show resolved Hide resolved
This will replace pe_eval_nvpairs() and pe_unpack_nvpairs(). It is
public API as that capability seems potentially useful and can't be done
directly by external code due to needing to call internal APIs.
…taset_nvpairs()

This involves converting the function and its callers to use
pcmk_rule_input_t instead of pe_rule_eval_data_t.
... since it contains only deprecated code now
libcib now uses rule APIs only from libcrmcommon
@kgaillot
Copy link
Contributor Author

updated commits per review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants