dep-resolv: Try to sort in rc-file order if not otherwise prevented.

Authored by mpyne on Mar 14 2020, 8:15 PM.

Description

dep-resolv: Try to sort in rc-file order if not otherwise prevented.

This commit introduces a secondary build ordering to add to the ordering
criteria, so that modules would build approximately in the order seen
within the config file as defined by the user.

This permits the user some control in module ordering (as was previously
the case), while still building per the dependencies specified in
kde-build-metadata and prioritizing modules that are commonly depended
upon to build earlier.

To support situations where kdesrc-build is used without an rc-file we
still include the previous tiebreaker (sorting by module name) to ensure
a reproducible build order for a given (and unchanged) set of dependency
information and selectors.

Fixes #41.

Details

Committed
mpyneMar 14 2020, 8:15 PM
Parents
R365:241a6775bc8c: Update copyright years.
Branches
Unknown
Tags
Unknown