d3a9ec3002
This adds returning the commit id from read_commit, and a new function read_recipe_and_id() that returns the commit id and the recipe in a tuple. If the commit is passed in, it is used as is. If no commit is passed in it finds the most recent commit for the file on the selected branch and returns that. Missing recipes now raise a RecipeError with an informative message. eg. "No commits for missing-recipe.toml on the master branch." |
||
---|---|---|
.. | ||
recipes | ||
results | ||
test_buildstamp.py | ||
test_projects.py | ||
test_recipes.py | ||
test_server.py | ||
test_workspace.py |