summaryrefslogtreecommitdiff
path: root/morphlib/morphologyfactory_tests.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of roadtrain.codethink.co.uk:baserock/morphLars Wirzenius2012-08-011-0/+8
|\ | | | | | | | | | | Conflicts: morphlib/morphologyfactory.py morphlib/morphologyfactory_tests.py
| * Raise clearer error on morphology parse errorsSam Thursfield2012-07-311-0/+7
| |
* | python scripts: pep8ize codebaseRichard Maw2012-08-011-12/+11
|/ | | | | | | | | This was done with the aid of the pep8 script, available by running `easy_install pep8`. It may be worth making this part of ./check, but that will require putting pep8 into the development tools stratum. This should be easy, given pep8 has no external dependencies.
* Require system-kind on system morphologiesLars Wirzenius2012-07-191-0/+9
|
* Set Morphology.needs_artifact_metadata_cachedLars Wirzenius2012-07-191-0/+12
|
* Have MorphologyFactor set Morphology.needs_staging_areaLars Wirzenius2012-07-191-1/+13
|
* Have MorphologyFactory set Morphology.builds_artifactsLars Wirzenius2012-07-181-1/+60
| | | | | | | | | | | | | This way we can have one place in the code where we determine what artifacts get built from a specific morphology, rather than spreading the information around the code base. From now on, everything is supposed to use the builds_artifacts attribute to get the list of artifacts. ArtifactResolver has been changed to do that. Some of the tests are now a bit messier, and should really be changed to create Morphology objects using MorphologyFactory, but that's a change for another day.
* Add missing empty lines, for clarityLars Wirzenius2012-07-181-0/+13
|
* morphologyfactory: infer build system without listRichard Maw2012-04-201-23/+39
| | | | | | | | | | Detecting the build system is managed by it asking if any files exist detecting if the file exists is done with a callback function. This callback can use cat-file. If list_files existed this could be more efficient as it would not require the files to be read from the remote server and it only needs to be one round-trip
* morphologyfactory: work without RemoteRepoCacheRichard Maw2012-04-201-3/+24
| | | | | There are cases where we would not need a remote cache, so it should be able to operate without one.
* add morphology factoryRichard Maw2012-04-191-0/+90