FS#32895 - {archweb} Request for repo list in server status JSON ouput.
Attached to Project:
Arch Linux
Opened by Xyne (Xyne) - Thursday, 29 November 2012, 01:25 GMT
Last edited by Kristian (klausenbusk) - Monday, 05 June 2023, 17:43 GMT
Opened by Xyne (Xyne) - Thursday, 29 November 2012, 01:25 GMT
Last edited by Kristian (klausenbusk) - Monday, 05 June 2023, 17:43 GMT
|
Details
Please add the list of mirrored repos to the JSON output
when returning server status results.
E.g. "repos" : ["core","extra","community","testing",...] This would be very useful for scripts and other applications that need to determine for which repos the mirrorlist can be used. Currently this list needs to either be hard-coded, scraped from a mirror, or guessed by checking which repo sections in pacman.conf include the mirrorlist (some applications do not require a pacman.conf file, and guessing is limited to enabled repos). |
This task depends upon
Closed by Kristian (klausenbusk)
Monday, 05 June 2023, 17:43 GMT
Reason for closing: Upstream
Additional comments about closing: Please report upstream if this is still relevant: https://github.com/archlinux/aurweb.
Monday, 05 June 2023, 17:43 GMT
Reason for closing: Upstream
Additional comments about closing: Please report upstream if this is still relevant: https://github.com/archlinux/aurweb.
You have misunderstood my request.
I do not want a list for each repo in the "urls" dictionary. I want a single list in the root dictionary.
For example, the current repos are
'community',
'community-staging',
'community-testing',
'core',
'extra',
'gnome-unstable',
'kde-unstable',
'multilib',
'multilib-testing'
'staging',
'testing'
I would like to be able to retrieve that list directly from the web interface instead of having to scrape mirrors/hard code the list/rely on local guesswork.
http://xyne.archlinux.ca/projects/repoman/
I think dependencies, architectures and options such as SigLevel would be very useful. If you want to use those files as a starting point, grab the source archive from the project page.