在 2025/6/27 14:59, PICCA Frederic-Emmanuel 写道:
> Hello
> 
> I am writing a tool which use rmadison in order to check if it need to build 
> a package.
> 
> When I run rmadison I get stable, stable-backports, testing and unstable
> 
> $ rmadison ufo-core
> ufo-core   | 0.15.1-1                     | oldoldstable           | source
> ufo-core   | 0.16.0.52.gbd831ab-1         | oldstable              | source
> ufo-core   | 0.16.0.52.gbd831ab-1         | stable                 | source
> ufo-core   | 0.17.0.22.gc831aec-1~bpo12+1 | stable-backports       | source
> ufo-core   | 0.17.0.22.gc831aec-1~bpo12+1 | stable-backports-debug | source
> ufo-core   | 0.17.0.22.gc831aec-1         | testing                | source
> ufo-core   | 0.17.0.22.gc831aec-1         | unstable               | source
> ufo-core   | 0.17.0.22.gc831aec-1         | unstable-debug         | source
> 
> But when I prepare a changelog, I need to target bookworm-backports etc...
> 
> I would like to know if I can find this bookworm -> stable information on the 
> system and where.
> 
> what is 'stable' a codename a suite or something else ?

apt install distro-info

/usr/bin/debian-distro-info --stable

> 
> I use haskell in order to develop this tool, so I need different types for 
> different semantic.
> 
> thanks for your help
> 
> 
> Frederic
> 
> 

-- 
肖盛文 xiao sheng wen -- Debian Developer(atzlinux)
Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40debian.org
Debian salsa: https://salsa.debian.org/atzlinux-guest
GnuPG Public Key: 0x00186602339240CB

Attachment: OpenPGP_0x00186602339240CB.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to