We are doing decisions based on the morphology kind in various places
all over the code base, and this seems to me to be messy. This patch
series cleans up some of this.
This patch series starts with two cleanup/formatting patches, which
I guess I should have submitted separately, sorry. (I'm still lazy.)
./check passes on squeeze and in baserock.
* Repository: git://roadtrain.codethink.co.uk/baserock/morph
* Branch: liw/refactor-kind-specific
* Commit: df8eda23514d8a6490c8a891f7deb5fcb9ad856c
Lars Wirzenius (5):
Add missing empty lines, for clarity
Remove pointless hashbang
Have MorphologyFactory set Morphology.builds_artifacts
Have MorphologyFactor set Morphology.needs_staging_area
Set Morphology.needs_artifact_metadata_cached
morphlib/app.py | 6 +--
morphlib/artifactresolver.py | 24 +++------
morphlib/artifactresolver_tests.py | 14 +++++-
morphlib/cachekeycomputer_tests.py | 8 +++
morphlib/morphologyfactory.py | 74 ++++++++++++++++++++------
morphlib/morphologyfactory_tests.py | 98 ++++++++++++++++++++++++++++++++++-
6 files changed, 186 insertions(+), 38 deletions(-)
--
1.7.2.5