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

Side by Side Diff: Tools/GardeningServer/scripts/rollbot.js

Issue 359283003: Remove usages of jquery and add sugar.js from garden-o-matic. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove jquery script from ct-sheriff-o-matic Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 11 matching lines...) Expand all
22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
23 * THE POSSIBILITY OF SUCH DAMAGE. 23 * THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 var rollbot = rollbot || {}; 26 var rollbot = rollbot || {};
27 27
28 (function() { 28 (function() {
29 29
30 // FIXME: This will need to change once we have a real account for the rollbot. 30 // FIXME: This will need to change once we have a real account for the rollbot.
31 var rollBotAccount = "eseidel@chromium.org"; 31 var rollBotAccount = "eseidel@chromium.org";
32 var issueSearchURL = config.kRietveldURL + "/search?" + $.param({ 32 var issueSearchURL = config.kRietveldURL + "/search?" + base.queryParam({
33 "owner": rollBotAccount, 33 "owner": rollBotAccount,
34 "closed": 3, // Only open issues. 34 "closed": 3, // Only open issues.
35 "with_messages": "true", 35 "with_messages": "true",
36 "format": "json", 36 "format": "json",
37 }); 37 });
38 38
39 var rollSubjectRegexp = /Blink roll (\d+):(\d+)/; 39 var rollSubjectRegexp = /Blink roll (\d+):(\d+)/;
40 40
41 function findRollIssue(results) { 41 function findRollIssue(results) {
42 results = results['results']; 42 results = results['results'];
(...skipping 25 matching lines...) Expand all
68 'fromRevision': subjectMatch[1], 68 'fromRevision': subjectMatch[1],
69 'toRevision': subjectMatch[2], 69 'toRevision': subjectMatch[2],
70 }; 70 };
71 }); 71 });
72 }; 72 };
73 73
74 // Exposed for unittesting. 74 // Exposed for unittesting.
75 rollbot._isRollbotStopped = isRollbotStopped; 75 rollbot._isRollbotStopped = isRollbotStopped;
76 76
77 })(); 77 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698