Package: ftp.debian.org
Severity: wishlist

Hi,
in order to ease fully automatic installation in tools like gnome-boxes,
virt-manager or OpenStack it would be nice to have some additional
metadata to make it simpler for tools like libosinfo (or other tools
using the same information) to identify the installation tree.

Fedora and OpenSUSE came up with treeinfo files in the installer
directories of their repository servers. There was some discussion about
this on debian-devel a while back [0].

E.g. for amd64 and stretch we'd have a file

   http://ftp.debian.org/debian/dists/stretch/main/installer-amd64/.treeinfo

looking like

    [checksums]
    current/images/netboot/mini.iso = sha256:...
    current/images/netboot/debian-installer/amd64/initrd.gz = sha256:...
    current/images/netboot/debian-installer/amd64/linux = sha256: ...
    
    [general]
    arch = x86_64
    family = Debian
    name = Debian Stretch
    version = 9.8.0
    platforms = x86_64
    
    [images-x86_64]
    boot.iso = current/images/netboot/mini.iso
    initrd = current/images/netboot/debian-installer/amd64/initrd.gz
    kernel = current/images/netboot/debian-installer/amd64/linux

The layout is described at [1]. Some terms are blurry e.g. platform so
I'll look into clarifying these and make things match our requirements
as well.

I don't have experience with these parts of the archive software yet but
would look into providing the necessary changes at some point.
Cheers,
 -- Guido

[0]: 
https://lists.debian.org/msgid-search/cak9pz9+d2w2+5x1nwe_+vxhmafoke3gehrycudphm38ykx7...@mail.gmail.com
[1]: https://release-engineering.github.io/productmd/treeinfo-1.0.html

Reply via email to