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

Unified Diff: recipe_modules/git_cl/example.py

Issue 2087093002: Add upload and issue to git_cl recipe module (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Re-gen expectations 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
« no previous file with comments | « recipe_modules/git_cl/api.py ('k') | recipe_modules/git_cl/example.expected/basic.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/git_cl/example.py
diff --git a/recipe_modules/git_cl/example.py b/recipe_modules/git_cl/example.py
index c76eac9541c9525b4cb6b4bbc957411663323245..bebf169f1e1fda3214dea9eb68d4eb96832fe77d 100644
--- a/recipe_modules/git_cl/example.py
+++ b/recipe_modules/git_cl/example.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -14,6 +15,8 @@ DEPS = [
def RunSteps(api):
+ api.git_cl.upload(u"Do the thing foobar\nNow with emoji: 😄")
+ api.git_cl.issue()
result = api.git_cl.get_description(
patch='https://code.review/123', codereview='rietveld', suffix='build')
api.git_cl.set_description(
« no previous file with comments | « recipe_modules/git_cl/api.py ('k') | recipe_modules/git_cl/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698