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

Add + use rpmdsIsSysuser() API for testing and decoding sysuser provides #3025

Merged
merged 2 commits into from Apr 9, 2024

Conversation

pmatilai
Copy link
Member

@pmatilai pmatilai commented Apr 8, 2024

De-duplicate the code between psm and tag extensions and let API users into the loop too. More details in commit messages.

Allows de-duplicating the code in tagexts, psm and any external callers.
Should've done this from the start of course...

The Python binding doesn't return the decoded line because it'd have
to return a tuple which would be inconsistent with the other IsFoo()
method returns. We'd need a separate method for decoding but that doesn't
seem worth the trouble as decoding base64 in Python is so trivial.
@pmatilai pmatilai merged commit ee528ce into rpm-software-management:master Apr 9, 2024
1 check passed
@pmatilai pmatilai deleted the dsuser branch April 9, 2024 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API API related cleanup python Python bindings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant