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

Unified Diff: commit-queue/verification/project_base.py

Issue 135363007: Delete public commit queue to avoid confusion after move to internal repo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 6 years, 10 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 | « commit-queue/verification/presubmit_shim.py ('k') | commit-queue/verification/reviewer_lgtm.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: commit-queue/verification/project_base.py
===================================================================
--- commit-queue/verification/project_base.py (revision 249146)
+++ commit-queue/verification/project_base.py (working copy)
@@ -1,43 +0,0 @@
-# coding=utf8
-# Copyright (c) 2011 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.
-"""Ignores issues not using the right project base url regex."""
-
-import logging
-import os
-import re
-
-import find_depot_tools # pylint: disable=W0611
-import breakpad
-
-from verification import base
-
-
-class ProjectBaseUrlVerifier(base.Verifier):
- """Needs the project base url to match at least one regexp in self.regex."""
- name = 'project_bases'
-
- def __init__(self, project_bases):
- super(ProjectBaseUrlVerifier, self).__init__()
- self.project_bases = project_bases
-
- def verify(self, pending):
- matches = filter(
- None, (re.match(r, pending.base_url) for r in self.project_bases))
- if not matches:
- logging.info('%s not in whitelist' % pending.base_url)
- state = base.IGNORED
- else:
- if len(matches) != 1:
- breakpad.SendStack(
- Exception('pending.base_url triggered multiple matches'), '')
- match = matches[0]
- if match.lastindex:
- pending.relpath = match.group(match.lastindex).lstrip('/').replace(
- '/', os.sep)
- state = base.SUCCEEDED
- pending.verifications[self.name] = base.SimpleStatus(state)
-
- def update_status(self, queue):
- pass
« no previous file with comments | « commit-queue/verification/presubmit_shim.py ('k') | commit-queue/verification/reviewer_lgtm.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698