debian-forge-composer/internal
Lars Karlitski 14ebed46da distro: register distros explicitly
Automatically registering on `init()` is clever, but a bit too magical
and easy to get wrong, because every binary must include all distros
somewhere.

Flip this inside out: distros now have a `New()`, which returns
something that implements the `Distro` interface. The distro package
explicitly creates all of them.

This means that distros cannot import distro itself anymore, because go
forbids import cycles. This only affected `InvalidOutputFormatError`.
Return a generic error for now.
2019-11-29 00:46:05 +01:00
..
blueprint blueprint: remove unused error 2019-11-29 00:46:05 +01:00
crypt blueprint: add support for unencrypted passwords in user customization 2019-10-31 21:46:39 +01:00
distro distro: register distros explicitly 2019-11-29 00:46:05 +01:00
jobqueue job/run: never panic on failed job 2019-11-28 05:56:11 +01:00
mocks/rpmmd api tests: add store fixtures 2019-11-27 22:27:40 +01:00
pipeline distro/rhel82: move ami output closer to official ec2 image 2019-11-29 00:46:05 +01:00
rpmmd distro/f30: rework in the same way as RHEL8.2 2019-11-28 01:24:05 +01:00
store distro: register distros explicitly 2019-11-29 00:46:05 +01:00
target target/aws: support setting the image name 2019-11-28 05:56:11 +01:00
test api tests: refactor weldr and jobqueue api tests to use common helpers 2019-11-27 22:27:40 +01:00
upload Refactor Azure upload code to a separate package 2019-11-27 12:14:07 +01:00
weldr distro: register distros explicitly 2019-11-29 00:46:05 +01:00