Commit Graph

47 Commits

Author SHA1 Message Date
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
Petr Šabata
01e868b9df README: Reword some API paragraphs
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-21 16:38:41 +02:00
Petr Šabata
b9e447c874 Don't use JSON code blocks, pagure.io doesn't play well with them
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-21 16:30:03 +02:00
Petr Šabata
8b05a0d495 First take at the orchestrator API, unversioned
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-21 16:28:05 +02:00
Petr Šabata
119861a989 Update README, describing what the orchestrator is
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-21 15:11:54 +02:00
Petr Šabata
214c95487e Add the workflow diagram
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-16 14:06:20 +02:00
Petr Šabata
eb16942e57 Add a README file
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-16 14:05:36 +02:00