Load build dependencies into the database#386
Load build dependencies into the database#386irushchyshyn merged 4 commits intofedora-python:masterfrom irushchyshyn:feature/build-requires-ui
Conversation
|
Note: The reason for that, is after we introduced collecting ambiguous requirements, we were adding some build only ambiguous requirements to the package dependencies (which is a bug). Therefore e.g. koji in protingdb depends on python-spinx, however it is a build time dependency only. I have fixed this in this PR, thus the inconsistencies. |
|
This conflicts with #383 so I'll hold off the review, but I can comment on your comments:
It would be great to consider them in determining Group membership. And when that's done, show them in the Group view. The package page left panel is not immediately necessary, but you can add it for completeness' sake.
I think that's fine. |
* On the package page, categorize dependencies into build time and run time; * Add relationships for build and run time dependencies separately.
|
Looks good at first glance. I probably won't have time to review in the next few days, feel free to double-check and merge. |
|
I am not sure about a couple of things:
|
That should be fine. Or we can tweak the display in the future.
If we start tracking these, I guess they'd just have an empty list of RPMS.
The main thing is that determining leaf packages takes the built requirements into account – they're leaves within Fedora, not within portingdb's set of tracked packages. |
|
@encukou thanks for clarifying everything. |

On the package page, categorize dependencies into build time and run time

Add relationships for build and run time dependencies separately:
package.run_time_requirements, andpackage.build_time_requirementsSo far build dependencies are only being shown on the package page left panel in
Dependent packagesandDependency treeto showcase. They can also be displayed in theDependenciessections, on Groups page etc. Also only run time dependencies are so far favored when deciding which packages are Blocked or when building a dependency graph.Scope of #382