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
a78c564073
Revert "Store the component's build ID and use that to identify the build when acting on a tag message"
...
This reverts commit 9bd16beeef .
2018-08-07 10:32:50 -04:00
mprahl
9bd16beeef
Store the component's build ID and use that to identify the build when acting on a tag message
...
This resolves an issue where the component name is different than the
package being tagged due to a macro such as those used for SCLs.
2018-08-03 20:45:00 -04:00
Martin Curlej
0aa9f014ce
Added search for modules by binary rpm.
...
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
Updated PR according to review.
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
Searching by multiple koji tags + tests
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
2018-06-26 15:52:37 +02:00
Matt Prahl
764c467c1d
Merge #950 New: Support querying of modules/components with multiple state value filtering
2018-06-15 00:36:33 +00:00
Filip Valder
f1fc7ed467
New: Support querying of modules/components with multiple state value filtering
2018-06-13 09:42:38 +02:00
Martin Curlej
e2e804b1d6
Added the ability to search mbs builds by the whole NSVC string.
...
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
Found about the magical properties of zip.
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
2018-06-13 09:30:52 +02:00
mprahl
00e46c205b
Show siblings and component_builds in the standard modules API
2018-05-10 11:48:00 -04:00
Qixiang Wan
062e92e209
Add test case for desc order by context
...
This is a test case for #868
2018-05-03 22:02:54 +08:00
Qixiang Wan
1ca6b61790
Add test for filtering module builds by context
2018-04-28 11:46:36 +08:00
Qixiang Wan
d83e6897ca
Change ModuleBuild.context to db column
...
1. Changed ModuleBuild's context property to db column, it's
non-nullable and default value is '00000000' to keep it consistent
with previous behaviour.
2. Changed ModuleBuild.contexts_from_mmd to return a tuple of
(ref_build_context, build_context, runtime_context, context).
3. Updated tests affected by this change.
2018-04-28 11:46:31 +08:00
mprahl
05f34598eb
Surface the error to the user when a module dependency can't be found
2018-04-05 14:37:08 -04:00
mprahl
5b278211e6
Add API v2 which will return a list of modules on build submissions based on module stream expansion
2018-04-03 09:58:57 -04:00
mprahl
41814b42de
Add siblings to the extended JSON output of module builds
2018-04-03 09:58:57 -04:00
Jan Kaluza
e5e9a24fce
Allow adding bool to XMD. Fix flake8 issues.
2018-04-03 09:58:57 -04:00
Jan Kaluza
31ddbe51a5
Add generate_expanded_mmds which returns list of MMDs which can be submitted as MSE builds and submit them.
2018-04-03 09:58:57 -04:00
mprahl
eb0b2e1c38
Add the database resolver plugin
2018-04-03 09:58:57 -04:00
Jan Kaluza
1bbe8d69f1
Add ModuleBuild methods for getting list of streams, last build in a name:stream and all builds in name:stream:version.
2018-04-03 09:58:57 -04:00
mprahl
f0852d9009
Port to libmodulemd and support v2 modulemd without module stream expansion
2018-04-03 09:58:57 -04:00
Yash Nanavati
ed25afd9ec
Code changes for Python 3 support
2018-03-04 03:22:38 -05:00
mprahl
f5530d9b16
Fix flake8 errors made by jkaluza
2018-02-09 09:12:00 -05:00
Jan Kaluza
6a5d7267fd
Save another 20s in tests.
2018-02-09 11:46:12 +01:00
mprahl
8f024e6b04
Remove the dependency on vcrpy in unit tests and modernize some of the test data
2018-02-05 22:17:18 -05:00
mprahl
e91d09f7ca
Change the format of the unit tests to pytest
2018-01-31 16:34:21 -05:00
Ralph Bean
7e6b54dd54
Address modules in the test suite with id=0.
...
It wasn't technically wrong before, just soft.
2018-01-18 14:49:27 -05:00
Ralph Bean
01c8295269
Add an incrementing prefix to the dist_hash.
...
For #823 .
2018-01-17 16:54:02 -05:00
mprahl
a67b53f5c3
Add a "context" field on component and module releases in Koji for uniqueness for when Module Stream Expansion is implemented
2018-01-16 10:36:09 -05:00
Matt Prahl
93efdd08a6
Merge #812 Return a friendly error when the 'id' is provided as a query parameter
2017-11-27 21:02:16 +00:00
mprahl
53dc444214
Allow filtering on all table columns
2017-11-27 15:08:58 -05:00
mprahl
b752a9741a
Return a friendly error when the 'id' is provided as a query parameter
2017-11-27 11:58:56 -05:00
mprahl
0e7dd2dad3
Add a "short" query parameter to show less detail on the "module-builds" API
2017-11-17 13:19:48 -05:00
mprahl
9890277620
Make "state_url" optional in the "extended_json" function since creating an app context causes SQLAlchemy issues on the backend
2017-11-17 12:07:51 -05:00
mprahl
1622494b17
Replace the name of the "branch" parameter in "scm.get_latest" to "ref"
2017-11-13 09:20:20 -05:00
Matt Prahl
ad60c1c575
Merge #783 Fixed issue with getting the latest ref
2017-11-11 14:06:54 +00:00
Matt Prahl
d1e80b8ad7
Merge #780 Fix duplicate state traces
2017-11-10 13:32:42 +00:00
Martin Curlej
bf2369e8e0
Fixed issue with getting the latest ref
...
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
2017-11-09 12:47:08 +01:00
mprahl
104480d365
Set Access-Control-Allow-Origin to * on GET API routes
2017-11-08 21:37:25 -05:00
mprahl
3ccbb3dd57
Fix duplicate state traces
2017-11-08 10:18:47 -05:00
mprahl
a8421568f9
Fix Flake8 errors
2017-11-08 08:45:58 -05:00
mprahl
d8f126e978
Allow resuming from a failure during the "init" phase
...
This also shifts build failure transitions from individual functions
in utils.py to the init module handler.
2017-11-06 14:15:12 -05:00
mprahl
089a0c3db4
Fix typo
2017-11-02 08:37:59 -04:00
mprahl
45cce653eb
Add the ability to specify different rebuild methods
2017-11-01 15:39:43 -04: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
Martin Curlej
60b3d97c97
flake8 cleanup
...
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
removed some noqa tags
2017-10-25 12:13:59 +02: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
Igor Gnatenko
1e6708b34f
MockedSCM -> FakeSCM
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org >
2017-10-18 17:37:13 +02:00
mprahl
62d438651a
Fix tests
2017-10-16 15:09:42 -04:00
mprahl
27250263ea
Default verbose to on ordering by id in the module-builds API
2017-10-05 16:17:18 -04:00
mprahl
6165fd5088
Add an API that exposes information about the MBS server
2017-09-19 16:48:28 -04:00