-
Notifications
You must be signed in to change notification settings - Fork 96
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
check_source.py: Use correct function for getting maintainer of the devel pkg #3041
Conversation
It only accepts bools now.
…evel pkg "maintainers_get" is a bit weird and uses /search/owner and not the given prj.
impressive this did not blow up much more |
|
In which way? |
it reads the meta and finds the maintainer role groupid and userid |
It doesn't, it uses |
See pasted code in #3041 (comment) there is no search/owner in there |
There is: |
Let's try to clean stuff up then... we have multiple consumers of mainers_get (and apparently also multiple provides.. yay) |
I expect that for some cases it's not actually wrong but necessary and meant to get the actual "package maintainer" instead of the "technical devel package maintainer"... I don't really get the logic though, especially for those methods containing "fallback" in their names. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #3041 +/- ##
=======================================
Coverage 28.31% 28.31%
=======================================
Files 86 86
Lines 14803 14803
=======================================
Hits 4191 4191
Misses 10612 10612 ☔ View full report in Codecov by Sentry. |
To be honest when I working on 7a088e7 I'm confused with maintainers_get/owner_fallback a bit, it sometimes gave a weird result, I spent time on debugging then move to other errands after have some findings, if my memory is right, the culprit is I'm not sure does default has |
#3046 can be a rather proper fix here IMO. |
|
I'll have a look at the other uses of maintainer_* and owner_*, maybe I can come up with something more consistent and less misleading. |
"maintainers_get" is a bit weird and uses /search/owner and not the given prj.
Noticed in https://build.opensuse.org/request/show/1132698.