Fixes: https://pagure.io/koji/issue/2836
It will probably not used anywhere else so it is ok to inline it.
It is not recursive.
string formatting doesn't make sense here (output of join is already string) (+ I would print one per line as these can be longer)
It should be sorted, so it is always same order - it would be better even for tests.
This should be converted to human-readble format (koji.USER_STATUS[info['status']])
dtto
with_dups=True (align with web page userinfo), opts = {'countOnly': True) for all listTasks,Packages,Builds to improve performance
just base tasks (parent=None)
Is there any authenticated call used? From the first sight it should work with just ensure_connection.
ensure_connection
If code will be inlined (and even for one user it should be faster), you should benefit from using multicall.
rebased onto cccd6ce06b8f1802264bdc3519f5f869efe0d1bb
@tkopecek comments are fixed.
It is probably more fit for [info] section.
rebased onto 1aab1955b14f9f40d30644d20c44e3fe0b309369
Last update - print also one permission per line, so it is displayed in the same way as krb principals.
rebased onto e9f7abb00db8e2f1130278a685acd230020a0508
@tkopecek fixed
:thumbsup:
Metadata Update from @tkopecek: - Pull-request tagged with: testing-ready
Metadata Update from @mfilip: - Pull-request tagged with: testing-done
Commit da9e9310 fixes this pull-request
Pull-Request has been merged by tkopecek
Fixes: https://pagure.io/koji/issue/2836