h-source-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [H-source-users] Debian version at h-node


From: Michał Masłowski
Subject: Re: [H-source-users] Debian version at h-node
Date: Fri, 16 May 2014 13:33:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

> These is the list of distro-codes I've already insert in SVN (and that
> will be loaded to h-node.org too):
>
> debian_6_0 -> Debian GNU/Linux 6.0 squeeze
> debian_7_0 -> Debian GNU/Linux 7.0 wheezy
> debian_7_5 -> Debian GNU/Linux 7.5 wheezy
>
> Do you think we should also use debian_testing and debbian_unstable or
> do you have other suggestions?

Do we need separate codes for 7.0 and 7.5?  They are different
installation media for the same release, they are the same after a
system is updated.  (We don't list e.g. Trisquel 6.0.1 separately or any
Parabola release medium.)

Could we use a standard release naming that distros already use?  Recent
distros (like Debian since Wheezy, or Parabola) have /etc/os_release
with this information (see [0], [1] for examples).  We could represent
pairs of (ID, VERSION_ID) data from this file, e.g. writing debian_7 for
Wheezy (7.0 or 7.5) or parabola for Parabola.  This would make adapting
h-client for new distros unnecessary if we add a way to get the list of
accepted distro codes from the server.  (I'm not recommending changing
existing codes, while we could invent the compatibly-looking debian_6
for Squeeze.)

Testing and unstable have no VERSION_ID in /etc/os_release.  We could
have a "debian" code for them (due to the above naming: no version) and
rely on the kernel/driver version numbers.  It would be like Parabola.

[0] http://sources.debian.net/src/base-files/7.1wheezy5/etc/os-release
[1] 
https://projects.parabolagnulinux.org/abslibre.git/tree/libre/filesystem/os-release

Attachment: pgpDk4070kdF1.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]