Bug#1083289: apt : support release codename in URL
Package: apt
Version: 2.6.1
Feature Request : Would be nice if apt supported $(DIST) or
$(CODENAME) in the URL.
Currently $(ARCH) is only variable supported.
See source here:
https://github.com/Debian/apt/blob/main/apt-pkg/sourcelist.cc#L88
apt could read /etc/os-release to get VERSION_CODENAME and allow a
variable substitute.
This would make flat repos easier to maintain.
Sample sources.list entry:
deb http://my-awesome-debian-repo.com/debian/$(CODENAME)/$(ARCH)/ ./
Thanks,
--
Peter Quiring
Reply to: