CVSROOT: /cvs
Module name: ports
Changes by: [email protected] 2012/12/24 10:24:46
Modified files:
infrastructure/bin: dpb
infrastructure/man/man1: dpb.1
infrastructure/lib/DPB: Core.pm Engine.pm PkgPath.pm
PortBuilder.pm
Added files:
infrastructure/lib/DPB: Affinity.pm
Log message:
add affinity information to restart jobs on the right host preferentially.
- affinity info is similar to locks, but with a completely different
lifetime.
- streamline the main loop of the engine, so that it can do two passes:
first pass shuns paths with the wrong affinity. If no good path is found,
those are considered during the second pass.
- make the Core factory aware of what hosts might be running, so that
affinity info for machines removed from a config file will be ignored.
thanks to landry@ for a few tests.