1825 Commits

Author SHA1 Message Date
mprahl
c635e371f9 Version 2.1.0 v2.1.0 2018-05-04 08:08:06 -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
Qixiang Wan
8b807a9fcd Generate koji tag from MBS and use informative name
koji now supports tags with max length of 256, we can use
more informative tag name instead of the hash one.

The new format of koji tag name is:

    module-<name>-<stream>-<version>-<context>

However when the generated tag's length > (256 - len('build')), we
fallback to the old way of name in hash format (module-<hash>).

In this change, koji tag is always generated from MBS itself, even
with pdc resolver.

FIXES: #918 #925
2018-04-26 22:04:16 +08:00
Matt Prahl
8351713828 Merge #922 Generate 'context' from hash based on buildrequires/requires stream. Reuse components only from module with the same stream_build_context. 2018-04-24 22:50:02 +00:00
Jan Kaluza
8d1d439737 Generate 'context' from hash based on buildrequires/requires stream. Reuse components only from module with the same stream_build_context. 2018-04-24 15:45:26 +02:00
Jan Kaluza
9236133cd2 Fix wrong rebase of #919. 2018-04-13 13:07:00 +02:00
Jan Kaluza
c1c95fc963 Allow defining list of packages which are blocked in the -build tag until they are built in a module. 2018-04-13 12:57:27 +02:00
Jan Kaluza
5d91c97386 Allow defining list of packages which are blocked in the -build tag until they are built in a module. 2018-04-12 09:45:57 +02:00
Jan Kaluža
b90864e0de Merge #912 Fix the integration testing scripts when using the latest rpkg code 2018-04-11 06:17:44 +00:00
Jan Kaluza
836fb9db10 Keep the 'module_name:[]' in requires unexpanded in generate_expanded_mmds. 2018-04-06 10:48:59 +02:00
mprahl
2c0f6b2f94 Fix the integration scripts when using the latest rpkg code 2018-04-05 15:46:49 -04:00
mprahl
6cc577b4b9 Version 2.0.2 v2.0.2 2018-04-05 15:06:59 -04:00
Matt Prahl
0535f206cb Merge #910 Remove unused dependencies 2018-04-05 19:04:18 +00: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
665f55236d Remove unused dependencies 2018-04-05 13:07:13 -04:00
mprahl
4608f918a4 Version 2.0.1 v2.0.1 2018-04-05 12:26:38 -04:00
Matt Prahl
e38cb0e849 Merge #906 Add the changelog for v2 2018-04-05 16:20:56 +00:00
mprahl
aa990d3de3 Use six instead of future 2018-04-05 11:32:21 -04:00
Matt Prahl
9c603a27ec Merge #908 Fix a bug in MSE when a module requires a module that isn't also a buildrequire 2018-04-05 15:29:39 +00:00
mprahl
7658b77f9d Fix dependencies in Dockerfile-tests 2018-04-05 11:20:17 -04:00
Matt Prahl
5101d9b9a4 Merge #907 Use the epel7Server-infra Yum repo for CI 2018-04-05 15:13:49 +00:00
mprahl
c2824138d3 Fix a bug in MSE when a module requires a module that isn't also a buildrequire 2018-04-05 10:58:29 -04:00
mprahl
c069c82dda Use the epel7Server-infra Yum repo for CI 2018-04-05 10:55:20 -04:00
mprahl
37bbab4170 Add the changelog for v2 2018-04-05 09:50:08 -04:00
Jan Kaluza
b502c18369 Version 2.0.0. v2.0.0 2018-04-05 14:22:26 +02:00
Jan Kaluža
4b9a5fb551 Merge #904 Rename a variable for clarity in load_local_builds 2018-04-05 12:13:38 +00:00
Jan Kaluža
142d8e947a Merge #905 Share the same "index" in the dist tag between all MSE builds. 2018-04-05 12:11:53 +00:00
Jan Kaluza
65513afd1a Share the same in the dist tag between all MSE builds. 2018-04-05 10:42:56 +02:00
mprahl
d4d9360662 Rename a variable for clarity in load_local_builds 2018-04-04 11:12:08 -04:00
mprahl
c44686349e Remove no longer applicable documentation section on message signing 2018-04-04 10:53:53 -04:00
mprahl
ee3ad85eb8 Workaround to get manage.py working in Vagrant 2018-04-04 10:50:44 -04:00
Matt Prahl
cf9593bf5a Merge #901 Remove the bootstrap scripts that are no longer needed 2018-04-04 00:15:30 +00:00
mprahl
0966db2cea Remove the bootstrap scripts that are no longer needed 2018-04-03 10:20:20 -04:00
mprahl
a4903876f2 Remove deprecated mbs-build tool 2018-04-03 10:09:29 -04:00
mprahl
0defabc88c Transition CentOS CI to using Docker for running its tests 2018-04-03 09:58:57 -04:00
mprahl
19db295795 Fix flake8 errors 2018-04-03 09:58:57 -04:00
mprahl
20d68628d2 Add a Dockerfile for running unit tests on CentOS 2018-04-03 09:58:57 -04:00
mprahl
caadb13f0e Remove the COPR tests
The COPR tests were causing failures and since most of them were
skipped and haven't been updated in a long time, let's just delete
them.
2018-04-03 09:58:57 -04:00
mprahl
bed9bf7a87 Remove the dependency on python-systemd 2018-04-03 09:58:57 -04:00
mprahl
ea1fc93325 Remove the Docker development environment
This development environment has not been maintained in a long time
and it doesn't work anymore. Let's remove it for now and reintroduce
containers when we start using OpenShift for development.
2018-04-03 09:58:57 -04:00
Jan Kaluza
9b6fd2ba39 Split utils.py to multiple files based on the methods use-case. 2018-04-03 09:58:57 -04:00
Jan Kaluza
9503e4624e Support local build of modules with MSE. 2018-04-03 09:58:57 -04:00
Jan Kaluza
604a336649 Backport jsonify method which supports list as input. 2018-04-03 09:58:57 -04:00
Jan Kaluza
bf873dbaea Do not set app.config['SERVER_NAME'] if app_context exists. 2018-04-03 09:58:57 -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
mprahl
8dfdeaf33b Use the latest libmodulemd in the Vagrant environment 2018-04-03 09:58:57 -04:00
mprahl
26d49f23ec Install python-solv in Vagrant 2018-04-03 09:58:57 -04:00