#980887 apt: Ability to reference a version also by its major number (e.g. 10) and not only by its name (e.g. buster) in sources.list

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
sim
Date:
2021-01-23 21:00:03 UTC
Severity:
wishlist
#980887#5
Date:
2021-01-23 20:56:32 UTC
From:
To:
Dear Maintainer,

It would be nict to have the ability to reference a Debian version also by its
major number (e.g. 10) and not only by its name (e.g. buster) in sources.list.

E.g. right now `/etc/apt/sources.list` looks like this:

deb http://deb.debian.org/debian/ buster main non-free contrib

It should be possible to use `10` instead of `buster`:

deb http://deb.debian.org/debian/ 10 main non-free contrib


For those who do not know/remember the chronological sequence of the version
names - numbers tell more. It's also allows for a more neutral style - as not
everybody might like things like `potato` or `etch`...

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***