Learn more about these different git repos.
Other Git URLs
A lot of the pagure web API seems a bit inefficient: it would be nice to be able to specify particular fields (or subfields) to only return.
For example if I want to list the packages of a specific user or group, one is inundated with data:
eg exercising the userinfo endpoint:
userinfo
$ pagure userinfo mattdm --json | wc -c 75192
Whereas:
$ pagure user mattdm rpms/calc rpms/cowsay rpms/dateutils rpms/fedora-bookmarks rpms/gcal rpms/geeqie rpms/icebreaker rpms/jsoncpp rpms/nss-altfiles modules/rawtherapee rpms/rawtherapee rpms/smem rpms/sudo modules/system-tools modules/systemtools
Similarly for the group endpoint:
group
$ pagure group budgie-sig rpms/libxfce4windowing rpms/sassc rpms/wlrctl
but
$ pagure groupinfo budgie-sig -p -j | wc -c 5036
I am deliberately using examples with a small numbers of packages here. But the point is some groups or users have thousands of packages, which may becomes dozens of pagure rest api paginations and hence slow also to generate and download (receive).
Hence I want to suggest specific APIs for listing user and group package fullnames only.
Also if the projects endpoint supported listing packages (repos) by group too that would improve things a bit.
projects
Metadata Update from @wombelix: - Issue assigned to wombelix
Metadata Update from @wombelix: - Issue set to the milestone: 6.0
Metadata Update from @wombelix: - Assignee reset
Metadata Update from @wombelix: - Issue tagged with: RFE, easyfix
Log in to comment on this ticket.