debian-forge-composer/internal
Martin Sehnoutka 8dac72f4fd internal: propose custom types for image types, arches, etc.
We currently use strings for passing arches and image types around,
which is not ideal. We should have a finite set of supported image types
and architectures as well as upload targets. This PR introduces custom
types to make the code base more readable and possibly also more
correct.

I considered some alternatives like a struct with private fields, but struct cannot
be const, so that does not help either. Eventually I think this is the "get s**t done"
solution.

The package also includes unit-tests which try to convert string to
structure and the other way around to make sure it all works properly.
2020-01-30 14:42:25 +01:00
..
blueprint blueprints: fix group handling 2019-12-17 09:24:15 +01:00
common internal: propose custom types for image types, arches, etc. 2020-01-30 14:42:25 +01:00
crypt crypt: make it possible to compile and test on macOS 2020-01-30 14:42:25 +01:00
distro distro: add custom image size 2020-01-23 00:57:31 +01:00
jobqueue store: custom image size 2020-01-23 00:57:31 +01:00
mocks/rpmmd distro/test: flesh out the test distro abit and use it for testing 2020-01-03 22:35:52 +01:00
pipeline distro: add custom image size 2020-01-23 00:57:31 +01:00
rcm store: custom image size 2020-01-23 00:57:31 +01:00
rpmmd repositories: install the base repositories in the filesystem 2020-01-03 22:35:52 +01:00
store store: custom image size 2020-01-23 00:57:31 +01:00
target target: add new fields to target and cleanup 2019-12-01 00:05:17 +01:00
test api: implement /compose/log 2019-12-20 11:43:39 +01:00
upload upload/aws: Add basic S3 upload test 2020-01-16 13:14:15 +01:00
weldr api: add custom image size for composes 2020-01-23 00:57:31 +01:00