summaryrefslogtreecommitdiff
path: root/tests.branching/petrify.stdout
Commit message (Collapse)AuthorAgeFilesLines
* cmdtests: Update to use new orderingRichard Maw2014-02-171-18/+18
|
* tests.branching: Make defined systems buildableRichard Maw2013-09-241-1/+1
|
* edit: Unset defaults before writingRichard Maw2013-08-301-8/+0
| | | | | | | | This also amends the test suite. The git apply command to alter the stratum proved inflexible when anything changed, so it has been replaced by a small in-line python script.
* tests: Make dummy strata pass validationRichard Maw2013-08-231-0/+4
| | | | | They were missing build depends or were empty. Now that edit does validation, this is not permitted.
* Fix test suite to patch YAML instead of JSONLars Wirzenius2013-08-141-38/+32
| | | | | | | | | | | | | I shouldn't be doing this in the middle of refactoring, but trying to get the new code to emit exactly the right kind of JSON is too much pain, and these tests need to be rewritten to use YAML in the near future anyway (we'll drop JSON support eventually), so I don't want to spend more time on this than necessary. The changes in this commit convert morphologies in JSON to YAML, and fix test code that modifies the morphologies to work with the YAML. There is probably more JSON lurking about.
* Fix test case for petrifyLars Wirzenius2013-07-031-2/+3
|
* tests: Use test: URL prefix instead of baserock: throughoutSam Thursfield2012-11-071-4/+4
| | | | | | | | | | Some tests already used test: and in order to be able to share the scripts/setup-3rd-party-strata script they need to all use the same prefix. Using baserock: implies that we are using real code from Baserock, so I picked test: because the tests only ever use mock morphologies and no real code.
* morph petrify: Avoid petrifying chunks that have already been editedSam Thursfield2012-10-181-0/+12
| | | | | | | | | | | | | This change causes 'morph petrify' to avoid petrifying any chunk whose ref matches the current system branch, because it makes no sense to petrify something that is also being edited. It also improves efficiency slightly and adds warning where different systems point to different refs of the same stratum. A non-obvious effect of this is that if you try to petrify 'master', many of the chunks won't get petrified because they are built from 'master'. However, petrifying master makes no sense so I'm not sure that we need to worry.
* Add 'morph unpetrify'Sam Thursfield2012-09-211-0/+15
| | | | Tested in the petrify test, to avoid duplication.
* morph petrify: Rewrite in the style of todaySam Thursfield2012-09-211-1/+2
|
* Preserve sort order of morphologies, so they can be edited by MorphSam Thursfield2012-09-101-9/+7
|
* Strata contain "chunks", not "sources"Sam Thursfield2012-08-291-4/+4
| | | | Rename "sources" field of stratum morphologies to "chunks".
* Consolidate morphology writing code in pluginRichard Maw2012-08-011-1/+3
| | | | | As simple as it is to dump json files, it is convenient to use the same function, so the format can be kept the same.
* Add test for petrifying strataRichard Maw2012-08-011-0/+12
This test checks if the same morphology json is generated during petrification. Because commits include the author and date, the sha1 sum will differ if a different user commits at a different time. This can be overridden by the environment variables GIT_{AUTHOR,COMMITTER}_{NAME,EMAIL,DATE}. The date chosen was just something recent at the time the work was done, since a too-early timestamp is rejected by git as invalid.