lorax/src/pylorax/api
Brian C. Lane 0e54983be8 lorax-composer: Handle packages with multiple builds
When the repository has multiple arches, eg. i686 and x86_64, it should
add a new entry to the project's builds list, not create a new project
in the list.

This handles that by adding a modified insort_left function and
examining the packages returned from dnf to make sure they aren't
already listed in the results. It also handles adding them in sorted
order so that no further sorting needs to be done on the results.

Resolves: rhbz#1657055
(cherry picked from commit 663a0dcd73)
2018-12-07 14:10:54 -08:00
..
__init__.py Add a pylorax.api.version number 2018-08-21 12:10:01 -07:00
bisect.py lorax-composer: Handle packages with multiple builds 2018-12-07 14:10:54 -08:00
checkparams.py Return a JSON error instead of a 404 on certain malformed URLs. 2018-08-06 13:38:14 -04:00
compose.py Add an openstack image type 2018-12-07 13:59:45 -05:00
config.py Fix make_dnf_dirs 2018-06-11 16:54:59 -07:00
crossdomain.py Add required_methods for decorator 2018-06-11 16:54:58 -07:00
errors.py Change INVALID_NAME to INVALID_CHARS. 2018-08-09 16:11:32 -04:00
projects.py lorax-composer: Handle packages with multiple builds 2018-12-07 14:10:54 -08:00
queue.py lorax-composer: Check the queue and results at startup 2018-12-07 13:48:10 -08:00
recipes.py Add support for groups to blueprints. 2018-07-12 17:31:44 -04:00
regexes.py Add + to the allowed API string character set 2018-08-07 15:16:20 -07:00
server.py Create a new YumBase object when repodata changes 2018-10-01 13:37:44 -07:00
timestamp.py Use constants instead of strings (#409). 2018-08-06 12:04:00 -04:00
v0.py Fix /compose/cancel API documentation 2018-08-29 10:06:25 -07:00
workspace.py Add workspace module and tests 2018-06-11 16:54:57 -07:00
yumbase.py Create a new YumBase object when repodata changes 2018-10-01 13:37:44 -07:00