Commit Graph

541 Commits

Author SHA1 Message Date
Ralph Bean
7a39a8f160 New-style PDC deps.
This is only one half of the modulemd-1.0 changes needed around PDC.

This was done to get module handling their dependencies when they are
defined in terms of streams instead of NVRs.

In PDC we used to store the dep as one whole string, i.e.::

    base-runtime-0.25-11

Now we're going to store them with some more structure, since we can't
assume monotonically increasing version values::

    dependency: base-runtime
    stream: master

Pull-requests to PDC and PDC-updater are forthcoming.
2016-11-14 19:34:39 -05:00
Matt Prahl
1db4797136 Merge #177 Add support for modulemd-1.0 backward-incompatible changes like commit being replaced by ref 2016-11-14 14:34:08 +00:00
Jan Kaluza
966a73251a Add support for modulemd-1.0 backward-incompatible changes like commit being replaced by ref 2016-11-14 15:32:51 +01:00
Filip Valder
98c201370b fix: remove 'src' component in the path to module_build_service (just to be in sync with Dockerfiles) 2016-11-11 15:17:27 +01:00
Filip Valder
00f7cb992c format: can be more easily compared with Dockerfile side-by-side 2016-11-11 15:11:15 +01:00
Jakub Kadlčík
9ea879b49f Add some TODOs 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
864789d1d4 Refactor __init__ method of copr builder 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
fbe362bbd7 Fix issue with creating project for group 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
ebb71af659 Implement buildroot_connect for copr 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
a625bc89a1 Remove outdated methods 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
8ad0e6bea9 Filter module by name 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
33bb92422b Return 4-tuple as expected 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
35983917cd Add missing docstrings 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
63c0d68360 Do not create copr client in every method 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
de3ff3efc3 Implement adding external repos to copr 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
6948b31d7e Build package from source parameter 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
57402656d9 Patch tests without having to import CoprClient 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
1f00fa44eb Skip copr tests 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
a09bfbd506 Value of copr_config is not relevant for this tests 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
6357afd43f Add missing docstring 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
8c65718daa Drop get_module_repo function since it is in GenericBuilder 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
34a2ea7856 Implement GenericBuilder.repo_from_tag for copr backend 2016-11-10 13:27:46 -05:00
Jan Kaluža
6150a73007 Merge #170 Initial version of mock backend 2016-11-10 08:58:59 +00:00
Jan Kaluza
7b9e4f7234 Initial version of mock backend 2016-11-10 09:57:00 +01:00
Matt Prahl
9e46394075 Merge #175 Use modulemd-0.1 before we upgrade to latest one 2016-11-09 19:03:41 +00:00
Jan Kaluza
a34098d44a Use modulemd-0.1 before we upgrade to latest one 2016-11-09 20:00:45 +01:00
Filip Valder
0b7441e8fb imported but not used 2016-11-07 20:27:03 +01:00
Filip Valder
e4d69962fa fix: incorporate @ralph 's recommendation: flask.url_for 2016-11-07 20:14:29 +01:00
Filip Valder
dd4790f514 fix: issue #159 return state_url in JSON after module build submission 2016-11-07 13:13:01 +01:00
Jan Kaluza
8339e389be Fix out-of-memory caused by loading ModuleBuild for every ComponentBuild row from database. Now we lazyload it. 2016-11-03 10:17:03 +01:00
Ralph Bean
6a0434d8b5 Set KOJI_PROXYUSER=True on the devnode.
See the inline comment in config.py.

Relates to https://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=a28a93dad75248c30c1792ec35f588c8e317c067
2016-11-02 12:44:50 -04:00
Ralph Bean
28183b9d3f Fix an error in the KojiBuilder.
The issue is that _get_task_by_artifact returns either None or a dict of
info and we weren't handling that correctly.  My mistake.
2016-11-02 10:23:42 -04:00
Ralph Bean
b2d1cf9f0d Merge #154 Fix #126 - remove Builder class 2016-11-02 12:54:04 +00:00
Ralph Bean
4238d67eaa Merge #152 Install copr instead of copr-backend to fix error 2016-11-02 12:51:12 +00:00
Jan Kaluza
d9916a1634 Fix #126 - remove Builder class 2016-11-01 14:44:42 +01:00
Jan Kaluza
42138810d5 Fix KojiModuleBuilder.build return values in tests 2016-11-01 12:05:08 +01:00
Matt Prahl
725157d253 Install copr instead of copr-backend to fix error 2016-10-31 12:21:13 -04:00
Ralph Bean
737a6f8b19 Merge #151 Another try at portable fedmsg-relay dev config. 2016-10-31 15:15:04 +00:00
Ralph Bean
7ff97cbe43 Merge #147 Pass around more info on pre-built components 2016-10-31 15:14:38 +00:00
Ralph Bean
cb050b92c8 Use a less hacky way to determine if we're running inside Docker. 2016-10-31 10:47:50 -04:00
Ralph Bean
77b5e93d6f Another try at portable fedmsg-relay dev config. 2016-10-31 09:38:21 -04:00
Matt Prahl
fdbdd6a2c2 Merge #145 Allow handlers to return extra work to the scheduler. 2016-10-31 13:25:06 +00:00
Ralph Bean
c2101df92b Add comment explaining what's going on here. 2016-10-31 09:06:43 -04:00
Ralph Bean
725fa9f3e0 Merge #150 Ignore repository builds without the '-build' suffix. 2016-10-31 13:03:58 +00:00
Jan Kaluza
6fd16587bc Ignore repository builds without the '-build' suffix. 2016-10-31 13:14:31 +01:00
Jan Kaluza
cc5836d3ce Fix 'We have no record of ...' when Koji task finishes by comparing task_id with task_id and not with buil_id. 2016-10-31 11:27:42 +01:00
Jan Kaluža
2d862bf36a Merge #148 Adjustments to the dev config. 2016-10-31 09:11:27 +00:00
Jan Kaluža
ef395fcaeb Merge #146 Use the local session, not the Flask-managed one. 2016-10-31 09:09:35 +00:00
Jan Kaluža
9124a24f21 Merge #144 Some helpful kerberos logging. 2016-10-31 09:06:42 +00:00
Ralph Bean
77a01a3b33 Adjustments to the dev config.
This should make it easier to have a common configuration between local
docker-compose environments and the config for the modularity.fic.org
cloud node.
2016-10-29 16:21:09 -04:00