Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(861)

Unified Diff: scripts/slave/recipe_modules/luci_config/api.py

Issue 2064453002: add recipe continuous builders for each repo with recipes (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/luci_config/api.py
diff --git a/scripts/slave/recipe_modules/luci_config/api.py b/scripts/slave/recipe_modules/luci_config/api.py
index 5ccd0f39ad2f3b37e420c8c9e6d0ea8309547519..2ee5b67d4f729567bc5049f6df7aa41c13c892bf 100644
--- a/scripts/slave/recipe_modules/luci_config/api.py
+++ b/scripts/slave/recipe_modules/luci_config/api.py
@@ -71,3 +71,8 @@ class LuciConfigApi(recipe_api.RecipeApi):
result = json.loads(fetch_result)
result['content'] = base64.b64decode(result['content'])
return result
+
+ def get_project_metadata(self, project):
+ mapping = self.get_projects()
+ return mapping.get(project)
+

Powered by Google App Engine
This is Rietveld 408576698