Brian C. Lane
42c1b0f0e2
Add function to return full NEVRA of a dependency
2018-01-26 16:54:47 -08:00
Martin Pitt
c58b367b6a
Fix depsolving empty recipes
...
- Fix `projects_depsolve()` to not consider a successful empty response
(rc == 0) as an error.
- Fix recipe_from_dict() to default modules and packages to empty lists
instead of `None`, to avoid a Python-ism in the API for consumers and
stay compatible to the bdcs API.
Fixes #290
2017-12-12 09:23:06 -08:00
Brian C. Lane
527c5d43a5
Close the rpmdb after every API operation.
...
rpm blocks all of the signals until closeRpmDB() is called.
We need to call it after all of the API calls.
2017-11-28 16:35:49 -08:00
Brian C. Lane
d5a45c420d
Fix error string when there is a problem listing projects
2017-11-28 16:34:02 -08:00
Brian C. Lane
a914253102
Add filtering and glob support to /modules/list route
2017-11-22 15:31:21 -08:00
Brian C. Lane
53d6be4703
Add /recipes/freeze route and tests.
2017-11-22 14:46:43 -08:00
Brian C. Lane
3cba128082
Catch Yum errors in the projects functions
2017-11-21 12:18:15 -08:00
Brian C. Lane
1424a5b769
Add modules functions and update function documentation
2017-11-21 11:09:18 -08:00
Brian C. Lane
4c459c4bf4
Add /projects/depsolve route
2017-11-20 16:50:07 -08:00
Brian C. Lane
a0d6551a3b
Add /projects/info route
...
Elements that have no match in yum (metadata) are set to empty dicts.
2017-11-20 15:32:42 -08:00
Brian C. Lane
2013d73c53
Add /projects/list route
2017-11-20 13:46:43 -08:00