Filip Valder
35335a2b23
Merge #389 Fix #386 - Retry until we get build containing xmd data
2017-03-03 11:10:39 +00:00
Filip Valder
689c671551
Retry until we get build containing xmd data.
2017-03-03 11:23:00 +01:00
Jan Kaluza
6d74f32462
Remove 'module_' prefix from the disttag in module-build-macros.
2017-03-03 11:22:58 +01:00
Ralph Bean
b7a99c5da8
Use the correct attribute of ComponentBuild.
...
Fixes #384 .
2017-03-02 17:03:46 -05:00
Matt Prahl
6567d37b69
Merge #382 Assign further_work either way.
2017-03-02 21:15:45 +00:00
Ralph Bean
add68410a8
Don't require a '-' suffix here.
...
This is necessary so that we can allow the `f26-modularity` tag as our
bootstrapped tag.
https://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=3f5610df5831c8c3fb93b9ac2c6a07c3a1b3df64
2017-03-02 15:41:58 -05:00
Ralph Bean
c57d52ee56
Simplify this.
2017-03-02 14:30:05 -05:00
Ralph Bean
e9c9097755
Assign further_work either way.
2017-03-02 14:17:22 -05:00
Matt Prahl
51c1e3b7ea
Merge #380 Please include the state name, even in the API json.
2017-03-02 17:05:35 +00:00
Matt Prahl
4cd652e5f7
Merge #377 Fix the depsolving wrapper.
2017-03-02 17:04:45 +00:00
Ralph Bean
ae8d453da3
Use mmd.xmd for exact pinning of dep tags.
2017-03-02 11:59:46 -05:00
Ralph Bean
dac43c62b8
Please include the state name, even in the API json.
2017-03-02 11:45:04 -05:00
Ralph Bean
8d2b7729bd
Restore the original functionality, even if it is weird.
2017-03-02 11:23:04 -05:00
Ralph Bean
724599fb77
Fix the depsolving wrapper.
...
It was try to convert koji tags back to modules locally, which caused
errors with the new bootstrap tag.
2017-03-02 11:16:43 -05:00
Filip Valder
b738e0201b
error->warn
2017-03-02 15:50:52 +01:00
Filip Valder
7b63710608
gracefully fail module build if there's an error while processing message handler
2017-03-02 15:39:03 +01:00
Filip Valder
6b189c4b4a
Koji tag validation: Catch situation when tag arg has no value + refactoring + add comments.
2017-03-02 15:01:52 +01:00
Ralph Bean
92990c94a2
Make this a little more quiet.
...
Otherwise, it logs for *every single koji build* that comes across the
bus. Too noisy to see what the MBS is actually doing.
2017-03-01 16:12:35 -05:00
Ralph Bean
da0d5f5c09
Merge #362 [Waits on PR#365] Have new tags inherit from 'module-package-list' and remove the 'force' parameter when tagging a build
2017-03-01 00:49:02 +00:00
Ralph Bean
ca61d6bb29
Allow passing in multiple tag names to the validation decorator.
...
We have problems when we try to wrap one decorator around another.
There are ways to do that with the
[decorator](https://pypi.python.org/pypi/decorator ) module nicely,
however.. they are ugly.
Take a look at this:
https://github.com/micheles/decorator/blob/master/src/decorator.py#L217-L218
And this:
https://github.com/micheles/decorator/blob/master/src/decorator.py#L185-L188
The approach in this PR is.. simpler.
2017-02-28 17:15:55 -05:00
Matt Prahl
6ff2c19b60
Have new tags inherit from 'module-package-list' and remove the 'force' parameter when tagging a build
2017-02-28 15:00:44 -05:00
Filip Valder
6dd223fd12
support for dicts + tests
2017-02-28 20:54:03 +01:00
Filip Valder
6b343896dd
s/rida/mbs/
2017-02-28 17:59:02 +01: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
Matt Prahl
7dfb647e08
Merge #347 Possibility to specify optional parameters when submitting build
2017-02-28 14:26:20 +00:00
Filip Valder
a4366d9be7
Koji tag validation
...
- Decorator supporting str/list args
- ProgrammingError exception which may uncover typos in the names of args to validate
- Configurable whitelist of koji tag prefixes
- Add basic validation to test_build.TestModuleBuilder
2017-02-28 09:08:32 +01:00
Jakub Kadlčík
9429114836
Get empty string if Content-Type is not in headers
2017-02-27 16:20:01 +01:00
Jakub Kadlčík
cef690f260
Not accept copr parameters when different builder is used
2017-02-27 15:53:39 +01:00
Ralph Bean
0fe6c88945
Merge #354 Allow MBS to run behind a reverse proxy.
2017-02-27 13:00:31 +00:00
Jakub Kadlčík
34ea4a8efe
Move validate_optional_params function to utils.py
2017-02-26 22:23:50 +01:00
Jakub Kadlčík
48f27cd7ea
Get one() result instead of first()
2017-02-26 22:19:31 +01:00
Matt Prahl
56d6d90ece
Enforce that the mmd can't define a different module name, stream, or version
2017-02-24 10:37:40 -05:00
Ralph Bean
1cf582e866
Allow MBS to run behind a reverse proxy.
...
This fixes #352 .
2017-02-24 10:23:35 -05:00
Jakub Kadlčík
5c52fce586
Update to the accurate down_revision
2017-02-23 20:55:51 +01:00
Jakub Kadlčík
7799515994
Use function for validating optional params to reduce code duplicity
2017-02-23 20:51:31 +01:00
Jakub Kadlčík
62e26ba652
Use better way of checking for forbidden columns
2017-02-23 20:51:31 +01:00
Jakub Kadlčík
5a65f50b52
Use built-in to_dict() function
2017-02-23 20:51:31 +01:00
Jakub Kadlčík
38bdc92248
Have immutable default value for optional_params
2017-02-23 20:51:31 +01:00
Jakub Kadlčík
6bd9e7026f
Use optional module build params in CoprModuleBuilder
2017-02-23 20:51:31 +01:00
Jakub Kadlčík
92dce63091
Allow submitting optional parameters such as copr_owner and copr_project
2017-02-23 20:51:31 +01:00
Jan Kaluza
8b83e78394
Fix build_module_locally.
2017-02-23 10:42:34 +01:00
Matt Prahl
385045d778
Reuse components from previous module builds
2017-02-21 14:22:30 -05:00
Matt Prahl
a5cc4eb280
Add a module's commit hash, scmurl, and the buildrequires' commit hashes, stream, and version in the modulemd
2017-02-21 09:53:05 -05:00
Matt Prahl
08444ced95
Add additional error checking to get_module_modulemd
2017-02-21 09:32:10 -05:00
Matt Prahl
26c08f5e31
Separate record_component_builds into two functions
2017-02-21 09:32:09 -05:00
Matt Prahl
770184ed95
Make SCM.get_latest more efficient
2017-02-21 09:32:09 -05:00
Matt Prahl
3156921a02
Support new nomenclature on get_module function when passing in a modulemd
2017-02-21 09:32:09 -05:00
Jan Kaluža
3457f5289a
Merge #345 Handle None returned by _get_token_info
2017-02-21 14:27:59 +00:00
Jan Kaluža
18f9089643
Merge #323 Possibility to submit yaml file
2017-02-21 14:21:45 +00:00
Jan Kaluza
0dbc1f8205
Handle None returned by _get_token_info
2017-02-21 09:24:36 +01:00