Commit Graph

20 Commits

Author SHA1 Message Date
sergiotarxz 85aea0378c Adding endpoint to create applications. 2022-04-21 02:46:11 +02:00
sergiotarxz 16ac140f9d Adding the first endpoint which allows to interact by http with the app.
The POST /developer endpoint is created using the openapi definition
to validate the fields. This will allow a way to create endpoints
and their doc automatically.
2022-04-01 03:45:03 +02:00
sergiotarxz e67a4cf593 Refactoring the generate_build method to return a Peace::Model::Build object. 2022-03-30 02:17:27 +02:00
sergiotarxz 3e331d7b1a Refactoring the Peace::Model::Release generate_build method. 2022-03-30 01:54:03 +02:00
sergiotarxz 5eb44406a9 Fixing broken integration test and improving the build generation.
To avoid the app_id duplicity the app now checks that the given
app_id is the same that the repo app_id and fails if it isn't (untested yet)
also if the sdk or runtime is installed at operative system level, the
installation is skipped to be able to avoid the major source of overhead
in the build.

The build system has been rethinked so a release can have multiple
builds to the same architecture if one was unsuccessful. This may
help repositories which choose to release against a branch, if
you release against a tag you will probably have to make other
release fixing the error anyway.
2022-03-29 19:18:17 +02:00
sergiotarxz 20b74912fa Adding a app_id field to applications database which must remain unique. 2022-03-29 18:47:25 +02:00
sergiotarxz cd17423eb5 Improved the Peace::Model::Release generate_build. 2022-03-29 01:03:02 +02:00
sergiotarxz a2cf90ca29 Adding a still very incomplete method to generate builds from releases. 2022-03-28 03:23:17 +02:00
sergiotarxz 9f5d36fa89 Adding Peace::Model::Build with a simple compilation test
to be extended.
2022-03-27 20:22:26 +02:00
sergiotarxz 898b1af4a6 Tests improvements.
release-dao integration test, fixing broken docs,
fixing broken test at t/00008-application-dao.t
2022-03-25 02:12:32 +01:00
sergiotarxz fb50274fd3 Adding flatpak_repo to the possible fields in applications.
This is done so people can choose between flathub stables or
nightly external repositories.
2022-03-24 23:57:09 +01:00
sergiotarxz ea7c5b7471 Adding test for the recovery from uuid of application. 2022-03-24 19:06:01 +01:00
sergiotarxz 436edcef00 Adding Release Model and multiple doc improvements. 2022-03-24 18:52:35 +01:00
sergiotarxz 57b73c1b14 Adding documentation for all models and a test to check all documentation. 2022-03-17 17:32:56 +01:00
sergiotarxz 3433112546 Adding some docs. 2022-03-17 05:08:05 +01:00
sergiotarxz 138e21137a Adding application recovery from developer. 2022-03-17 02:41:47 +01:00
sergiotarxz 865c61d036 Adding missing model object and tests for dao. 2022-03-16 18:00:22 +01:00
sergiotarxz b2758ddf96 Fixing errors in customer, adding developer.
Improving migrations, adding/fixing tests.
2022-03-15 02:45:16 +01:00
sergiotarxz 7ffeac7bc7 Adding customer object. 2022-03-14 19:14:05 +01:00
sergiotarxz caa066a5aa Adding initial project. 2022-02-23 02:52:14 +01:00