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

Unified Diff: projects.py

Issue 6880115: Add post_processing code to update copyright year automatically. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/commit-queue
Patch Set: Significantly simplify code Created 9 years, 8 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 | « post_processors/chromium_copyright.py ('k') | tests/chromium_copyright_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: projects.py
diff --git a/projects.py b/projects.py
index 69e0b1b03a930180cd961165f5e888b1b528f5b8..206c905ee287642f17498e1a48037aa40decbff4 100644
--- a/projects.py
+++ b/projects.py
@@ -14,6 +14,7 @@ import committer_list
import creds
import errors
import pending_manager
+from post_processors import chromium_copyright
from verification import presubmit_check
from verification import project_base
from verification import reviewer_lgtm
@@ -106,11 +107,14 @@ def _gen_chromium(user, root_dir, rietveld_obj, git_svn, no_try):
verifiers.append(tree_status.TreeStatusVerifier(
'http://chromium-status.appspot.com/status'))
+
+ post_processors = [chromium_copyright]
return pending_manager.PendingManager(
rietveld_obj,
local_checkout,
verifiers_no_patch,
- verifiers)
+ verifiers,
+ post_processors)
def _gen_nacl(user, root_dir, rietveld_obj, git_svn, no_try):
@@ -184,7 +188,8 @@ def _gen_nacl(user, root_dir, rietveld_obj, git_svn, no_try):
rietveld_obj,
local_checkout,
verifiers_no_patch,
- verifiers)
+ verifiers,
+ [])
def _gen_build(user, root_dir, rietveld_obj, git_svn, no_try):
@@ -249,11 +254,13 @@ def _internal_simple(path, user, root_dir, rietveld_obj, git_svn, no_try):
presubmit_check.PresubmitCheckVerifier(),
]
+ post_processors = [chromium_copyright]
return pending_manager.PendingManager(
rietveld_obj,
local_checkout,
verifiers_no_patch,
- verifiers)
+ verifiers,
+ post_processors)
def supported_projects():
« no previous file with comments | « post_processors/chromium_copyright.py ('k') | tests/chromium_copyright_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698