APT is maintained by 2 people, encouraging a discussion on every bug
report that will likely get ignored anyway would be madness. I think
closing the bug as Opinion is a much better choice than ignoring it for
10 years or so like most other bugs are.

* Various tools would be broken by such a change
* Having variables in the files looks bad
* Having variables in the files makes it harder to debug
* The variable may be misleading, as your distribution may not override 
os-release files
* It does not work on Debian, as testing/unstable have the same os-release file
* Debian's lsb_release relies on sources.list to figure out which release you 
are running on

You also can't upgrade with this: If we seed the variable from os-
release, we seed it from os-release, and that comes from a package in
that repository - the repository defines the versions installed, not the
versions installed the repository. Now you could say "let's temporarily
override that in the code" but ugh this is not really all that elegant
and it gives different tools different views of things at runtime.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1835645

Title:
  apt sources should be able to understand release variables

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1835645/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to