Commit Graph

56 Commits

Author SHA1 Message Date
mprahl
f7e7765686 Add the ability to override buildrequires and requires when submitting a module build
This will allow for tooling to automatically override certain buildrequires and requires
based on the branch name the modulemd is built form.

Addresses FACTORY-3414
2018-10-29 17:08:27 -04:00
mprahl
599c881714 Add the ability to query by the base modules a module build buildrequires
Future use cases will require the ability to find compatible module builds
to buildrequire based on the base module the module used to build. This
commit adds an association table that will contain module build IDs
and the base module they buildrequire.

Addresses FACTORY-3353
2018-10-17 07:47:31 -04:00
Filip Valder
598347e1b6 Import module API 2018-09-07 17:12:01 +02:00
mprahl
8a54b26fd7 Expose the NVR of component builds in the API to help future debugging 2018-08-07 10:33:14 -04:00
mprahl
36a9026ca8 Remove references to COPR 2018-06-28 10:00:06 -04:00
Filip Valder
23a9eb8e70 Add param to README + other minor fixes 2018-06-18 10:01:40 +02:00
Filip Valder
f1fc7ed467 New: Support querying of modules/components with multiple state value filtering 2018-06-13 09:42:38 +02:00
mprahl
a4903876f2 Remove deprecated mbs-build tool 2018-04-03 10:09:29 -04:00
mprahl
601cd64a2a Add a change log 2018-01-22 10:51:22 -05:00
mprahl
53dc444214 Allow filtering on all table columns 2017-11-27 15:08:58 -05:00
mprahl
ea0d03b24c Add documentation on the rebuild strategies 2017-11-13 10:49:37 -05:00
mprahl
9aab9f256b Fix missing parameters in POST example in the documentation 2017-11-13 10:47:28 -05:00
Nick Coghlan
d159350fff Default to reverse ordering by ID in APIs
Adjusts the affected tests to assume the
exact current set of default test data.

These tests were also testing the exact
same query URL, so they've been consolidated
into a single test.
2017-10-31 09:15:08 -04:00
mprahl
eedf0a1684 Default verbose to false but present a lot more information when verbose is false 2017-10-23 20:19:51 -04:00
mprahl
25b689ef46 Update the documentation 2017-10-06 09:58:34 -04:00
mprahl
6165fd5088 Add an API that exposes information about the MBS server 2017-09-19 16:48:28 -04:00
mprahl
0f6d7a55c5 Add Kerberos + LDAP authentication support 2017-09-15 12:02:57 -04:00
Filip Valder
3cb41aa5dc Changes in MBS restful API:
- Refactor MBS API code
- Unify module-/component_build API philosophy/design/approach
- Naming fixes
- _utc_datetime_to_iso moved from ModuleBuildAPI and is now a module-level function.
- Existing v1 API remains unchanged. ComponentBuildAPI now supports individual component build listing + verbose mode.
- documented in README
- various component_build API tests added
2017-09-11 14:48:22 +02:00
Filip Valder
5b7be25558 Add 'Listing component builds' subsection to the API section 2017-08-25 15:01:17 +02:00
Filip Valder
2e2856169a Update and reformat README, CONTRIBUTING guide and sync code comments 2017-08-25 14:45:42 +02:00
Stanislav Ochotnicky
5eb4c1652f Modify content generator based on Koji dev feedback
- Change the type of build from modulemd to just module
- Change build output type from modulemd to file
- Provide the typeinfo also for the modulemd.yaml output
- Convert dashes to underscores for build version (i.e. mbs stream).
  koji build versions can't have dashes - we can provide real value in
  the extra section
- Add name, stream, version data into build extra section
- Add tool information for modulemd
- Add buildroot components from host running mbs
- Added few methods licensed under BSD 3-clause (from atomic-reactor)
2017-05-15 10:39:01 +02:00
Ralph Bean
1104a3ae10 Update README with new tasks API format. 2017-03-05 23:57:51 -05:00
Filip Valder
13b7bcd03e Support for state tracing of modules and components
- DB migration scripts.
- Models: ComponentBuildTrace, ModuleBuildTrace.
- ModuleBuild.state_trace method for querying for a particular module's
state history.
- SQLAlchemy before commit session event handler for recording
module/component state changes.
- REST API verbose mode for getting state trace of a particular module.
- Tests use make_session, so that event handlers are in effect.
- Short info in README about verbose mode.
- Tests verifying whether state trace information about a module appears
in verbose mode.
- Other minor fixes (RidaBase -> MBSBase, PEP8...)
2017-02-28 16:15:43 +01:00
Jakub Kadlčík
6b598b1bf7 Describe yaml file submission 2017-02-21 10:41:31 +01:00
Ralph Bean
74d0398e2e Merge #299 Re-format and update README 2017-01-31 17:27:50 +00:00
Filip Valder
52e76a16ea re-format and update readme 2017-01-31 14:44:22 +01:00
Filip Valder
89351fbc24 Re-factor configuration loading, fix default topics (shall be a list),
update docs.
2017-01-31 14:00:15 +01:00
Matt Prahl
03df8d5865 Move docs to docs folder 2016-11-16 16:16:43 -05:00
Ralph Bean
174a4b66cf Add a HACKING.rst doc alongside README.rst. 2016-10-27 16:17:25 -04:00
Matt Prahl
b4082dc551 Rename module from rida to module_build_service
Rename routes from /rida/1/module-builds/ to /module-build-service/1/module-builds/
2016-10-24 10:30:23 -04:00
Lubos Kocman
45c61c9249 Change loglevel for Dev and Test Configuration to DEBUG + note in readme 2016-10-04 15:52:24 +02:00
Matt Prahl
388687a19d Fix subheadings in the README 2016-09-30 11:15:13 -04:00
Matt Prahl
482a6b3cff Add documentation on using Vagrant for development 2016-09-30 17:04:10 +02:00
Matt Prahl
d86374f360 Add documentation on how to setup fedmsg signing in development 2016-09-27 16:40:03 -04:00
Matt Prahl
03831262e4 Update documentation about messaging 2016-09-21 14:14:26 +02:00
Nils Philippsen
015990bc6c fix typos and "i.e." instead of "e.g." 2016-08-24 15:21:57 +02:00
Matt Prahl
09d857b25d Add and cleanup documentation 2016-08-24 15:20:20 +02:00
Tomas Tomecek
5666d49bce readme, containers: provide debugging instructions 2016-08-17 07:58:14 +02:00
Tomas Tomecek
f24898db79 containerize! 2016-08-17 07:58:14 +02:00
Matt Prahl
961f22f0b4 Add pagination and verbose flag to the /rida/module-builds/ route
Adds details about the API changes
2016-08-15 17:54:40 +02:00
Matt Prahl
7a928c3e8c Adds database migration support, converts rida.conf to config.py, adds Vagrant support, seperates out app views to views.py, control of the app now manage.py 2016-08-01 13:22:01 -04:00
Nils Philippsen
bc208a5e03 Document 'topdir' message field.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2016-07-26 12:15:42 +02:00
Nils Philippsen
9629b65b18 Drop 'koji_tag' field from message.
The koji tag should be set by pdc-updater when first encountering a
module n-v-r, and be stored in PDC.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2016-07-26 12:15:42 +02:00
Nils Philippsen
f67d1f285b Drop 'variant_' prefix from message fields.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2016-07-26 12:15:42 +02:00
Nils Philippsen
e4b118b023 Drop 'variant_type' from the message.
The message is only about modules, therefore the variant type is
'module'. No need to communicate this redundantly.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2016-07-26 12:07:07 +02:00
Nils Philippsen
0aa9aa26b5 Document bus message format
Signed-off-by: Nils Philippsen <nils@redhat.com>
2016-07-22 16:42:55 +02:00
Ralph Bean
371c23d6bb Descriptions of the states. 2016-07-15 11:23:32 -04:00
Petr Šabata
2b62d67387 Check whether the module already exists in the database
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-07-08 14:29:42 +02:00
Petr Šabata
6e9af1a55e Document the HTTP 422 status in the README
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-29 18:14:27 +02:00
Petr Šabata
adcbc55c78 Clear up some bits in the API
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-28 18:30:54 +02:00