Part of lp.code.model.sourcepackagerecipedata View In Hierarchy
This is referenced from the SourcePackageRecipe table as the 'recipe_data' column and from the SourcePackageRecipeBuild table as the 'manifest' column.
| Method | base 0 | Undocumented |
| Method | base | Undocumented |
| Static Method | getParsedRecipe | See IRecipeBranchSource. |
| Static Method | findRecipes | Find recipes for a given branch or repository. |
| Class Method | createManifestFromText | See ISourcePackageRecipeDataSource. |
| Method | getRecipe | The BaseRecipeBranch version of the recipe. |
| Method | setRecipe | Convert the BaseRecipeBranch builder_recipe to the db form. |
| Method | __init__ | Initialize from the bzr-builder recipe and link it to a db recipe. |
| Static Method | preLoadReferencedBranches | Undocumented |
| Method | getReferencedBranches | Return an iterator of the Branch/GitRepository objects referenced |
| Method | _scanInstructions | Check the recipe_branch doesn't use 'run' and look up the branches. |
| Method | _recordInstructions | Build _SourcePackageRecipeDataInstructions for the recipe_branch. |
| Method | _referenced_branches | Undocumented |
Find recipes for a given branch or repository.
:param branch_or_repository: The branch or repository to search for.
:param revspecs: If not None, return only recipes whose `revspec` is
in this sequence.
:return: a collection of `ISourcePackageRecipe`s.
We do all the lookups before we start constructing database objects to avoid flushing half-constructed objects to the database.
| Returns | A map {branch_url: db_branch}. | |
builder_recipe to the db form.