Hi Federic
dak exposes this info via an API
$ curl -s 'https://api.ftp-master.debian.org/suites' | jq
$ curl -s 'https://api.ftp-master.debian.org/suite/stable' | jq
you might also like the following rather than calling rmadison and
trying to interpret its output:
$ curl -s
'https://api.ftp-master.debian.org/madison?package=ufo-core&a=source&f=json'
| jq
(jq is just to pretty-print the json for inspection in the terminal)
For more info, see
https://wiki.debian.org/Services/api.ftp-master.debian.org
https://ftp-team.pages.debian.net/dak/epydoc/dakweb-module.html
https://salsa.debian.org/ftp-team/dak/-/blob/master/dakweb/queries/suite.py
cheers
Stuart
--
Stuart Prescott http://www.nanonanonano.net/ stu...@nanonanonano.net
Debian Developer http://www.debian.org/ stu...@debian.org
GPG fingerprint 90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7