-
Notifications
You must be signed in to change notification settings - Fork 23
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 sr_get_module_ds_access API #61
Conversation
I'm not sure about the failing CI tests: is this related to my changes? Seems unrelated, but I'm not sure. |
@rjarry I guess this is because |
d6d19b3
to
d0d9c0e
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #61 +/- ##
==========================================
+ Coverage 66.75% 66.93% +0.17%
==========================================
Files 8 8
Lines 1107 1113 +6
==========================================
+ Hits 739 745 +6
Misses 368 368 ☔ View full report in Codecov by Sentry. |
Can you create a new tag once merged or what's the policy? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes. One last thing, could you update your commit message following the rules I am putting in place?
In a nutshell, your commit message should look like this:
connection: add sr_get_module_ds_access API
Add a new function to get owner, group and permissions of a module based
on its name.
Signed-off-by: Bagg Tobias (ETAS-DAP/XPC-Fe3) <[email protected]>
Thanks!
Yes, I can make a release if you want. |
Add a new function to get owner, group and permissions of a module based on its name. Signed-off-by: Bagg Tobias (ETAS-DAP/XPC-Fe3) <[email protected]>
Done |
Thanks! |
pypi.org uploads are suspended temporarily. https://github.com/sysrepo/sysrepo-python/actions/runs/8466165185/job/23194386178#step:9:32 I'll re-run the failed deploy job later. |
In order to read the owner, group and permissions of a module, this PR adds binding for the
sr_get_module_ds_access
C function.I'm not an expert with cffi, so let me know if there are things to improve :)
Do you think returning a tuple from the function is fine or would you expect a dedicated type?
Thanks in advance!