No description
Find a file
Jacob Kozol 81d9fef76a api: update api error responses to equal lorax's
In order to maintain parity with lorax the api needs to reply with an
error message equivalent to that used by lorax. Error messages are now
returned inside an error object that contains an id, message, and
optional status code.

For some routes, there are errors when no url parameters are passed. The
httprouter was using named parameters of the form /:param which does not
match for empty parameters. Now, it has been updated to use the
catch-all parameters of the form /*param. This change allows the case of
no parameters. However, parameters will now include a "/" as
their first character. This needs to be removed from the string in the
route handler.

In order to provide the proper error message for
/modules/list/<modules>, searching for the modules needed to be updated.
The requested modules and known packages are iterated over and if there
is a match the module is added to the response. Also, the found module
is dropped from the list of requested modules. If this list is not empty
after searching all of the modules then an error is returned containing
the name of the non-existant module.
2019-10-23 01:08:03 +02:00
cmd osbuild-composer: Fix imports broken by new module name 2019-10-09 08:06:07 +02:00
distribution build-sys: rework makefiles 2019-10-11 17:40:31 +02:00
internal api: update api error responses to equal lorax's 2019-10-23 01:08:03 +02:00
osbuild@cd49e2407c image-info: add test 2019-10-05 14:47:35 +02:00
tools image-info: add test 2019-10-05 14:47:35 +02:00
.gitignore QCOW2 image generation and output test 2019-10-22 13:52:36 +02:00
.gitmodules image-info: add test 2019-10-05 14:47:35 +02:00
.travis.yml image-info: add test 2019-10-05 14:47:35 +02:00
dnf-json dnf-json: Remove custom dnf cache directory 2019-10-14 23:45:53 +02:00
go.mod osbuild-composer: Rename module to github.com/osbuild/osbuild-composer 2019-10-08 21:44:57 +02:00
go.sum Integration of osbuild composer with systemd 2019-10-02 17:56:59 +02:00
LICENSE Add README and LICENSE files 2019-10-14 10:31:04 +02:00
Makefile QCOW2 image generation and output test 2019-10-22 13:52:36 +02:00
README.md Add README and LICENSE files 2019-10-14 10:31:04 +02:00

osbuild-composer

An image building service based on osbuild. It is inspired by lorax-composer and exposes the same API. As such, it is a drop-in replacement.