debian-forge-composer/internal/distro
Tom Gundersen 5fcdd4bea5 distro: don't use a global variable to store the distro register
Introduce a DistroRegister object. For now this does not introduce
any functional changes, as the object is always instantited to be
the same. However, in follow-up patches it will get options.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2020-01-03 22:35:52 +01:00
..
fedora30 distro: don't use a global variable to store the distro register 2020-01-03 22:35:52 +01:00
rhel82 distro: don't use a global variable to store the distro register 2020-01-03 22:35:52 +01:00
test distro: don't use a global variable to store the distro register 2020-01-03 22:35:52 +01:00
distro.go distro: don't use a global variable to store the distro register 2020-01-03 22:35:52 +01:00
distro_test.go distro: don't use a global variable to store the distro register 2020-01-03 22:35:52 +01:00
osrelease_test.go distro: add DetectHost 2019-11-10 17:23:14 +01:00