You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
maruel@chromium.org b9e7adaa82 Add presubmit_canned_checks.CheckLicense()
It does a regexp search on the file contents to make sure it contains expected license boiler plate.

It is a generalization to implement the equivalent of ubuntu's license check script into the corresponding PRESUBMIT.py files.

TEST=unit tests
BUG=28291

Review URL: http://codereview.chromium.org/558007

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@37338 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
bootstrap Add svnversion.bat. 15 years ago
tests Add presubmit_canned_checks.CheckLicense() 15 years ago
zsh-goodies First take on zsh-completion functionality for gclient. 15 years ago
.gitignore Replace git-try stub with actual git-try script. 16 years ago
LICENSE Create the Next Generation of depot_tools. Eh. 16 years ago
PRESUBMIT.py Split scm-specific functions out of gclient_scm.py to scm.py. 16 years ago
README Correct the value needed to disable auto-updates 15 years ago
README.gclient This adds a feature to gclient to allow the (optional) specification of the 16 years ago
README.git-cl Create the Next Generation of depot_tools. Eh. 16 years ago
README.git-cl.codereview Create the Next Generation of depot_tools. Eh. 16 years ago
WATCHLISTS Add watchlists to 'gcl upload' 16 years ago
breakpad.py Add a check so non-google employee don't send crash dumps. 15 years ago
chrome-update-create-task.bat Fix exit 1 to goto :EOF. 16 years ago
chrome-update.bat Automatic searching for vcvars.bat and report an error if the file cannot be found. 16 years ago
chrome-update.py Check if the given root path argument points to a valid directory. Display an error message and quit if it is not. 16 years ago
cpplint.bat Add setlocal so {cpplin,gcl}.bat don't repeatedly add \depot_tools to %PATH%. 16 years ago
cpplint.py - Add a presubmit check that lints C++ files (will submit CLs that 16 years ago
create-chromium-git-src Make svn password prompt available during setup. 16 years ago
drover Make drover works in cygwin. 16 years ago
drover.bat Fix drover.py style. 16 years ago
drover.py Fix branching regex to match .*? and not /d+ so that it will match "249s" in 15 years ago
gcl Mark depot_tools scripts as bash scripts. 16 years ago
gcl.bat Add setlocal so {cpplin,gcl}.bat don't repeatedly add \depot_tools to %PATH%. 16 years ago
gcl.py Partial revert of r37053. Put back the gcl default CODEREVIEW_SETTINGS as we had it before, except with an updated CC_LIST. 15 years ago
gclient Change to a git repo before checking git-svn version 15 years ago
gclient.bat Fix using depot_tools from a git checkout on Windows. 15 years ago
gclient.py Update docs for git usage 15 years ago
gclient_scm.py Make gclient cleanup a no-op for git 15 years ago
gclient_utils.py gclient: git relative url implementation 15 years ago
git-cl Move git-cl to src.chromium.org 16 years ago
git-cl-upload-hook Fixes based on maruel's comments. 16 years ago
git-gs depot_tools: Print line numbers in search results of git-gs 15 years ago
git-try Allow git-try to try rietveld changes directly. 15 years ago
git_cl_hooks.py Catch ValueErrors when trying to convert the CL issue number in git presubmit hooks 15 years ago
hammer Updating hammer script based on review suggestions. 16 years ago
hammer.bat Set some batch files as executable. 16 years ago
presubmit_canned_checks.py Add presubmit_canned_checks.CheckLicense() 15 years ago
presubmit_support.py Reapply 32057, 32058, 32059, 32062 and fixes problems introduced by these changes. 16 years ago
profile.xml Create the Next Generation of depot_tools. Eh. 16 years ago
revert Mark depot_tools scripts as bash scripts. 16 years ago
revert.bat Set some batch files as executable. 16 years ago
revert.py Reapply 32057, 32058, 32059, 32062 and fixes problems introduced by these changes. 16 years ago
scm.py Fix svn mv/cp/ren diff for real this time, for try jobs. 15 years ago
trychange.py Add the capability to filter out files on try job with regexp. 15 years ago
upload.py Implement a workaround for the remaining HOSTED accounts. 15 years ago
watchlists.py Review URL: http://codereview.chromium.org/132022 16 years ago

README

This package contains tools for working with Chromium development.

The "gclient" wrapper knows how to keep this repository updated to
the latest versions of these tools as found at:

    http://src.chromium.org/svn/trunk/tools/depot_tools

This package contains:

  change-svn-wc-format.py
    Tool to convert from a svn checkout format to another. Fetched from
    http://svn.collab.net/repos/svn/trunk/tools/client-side/change-svn-wc-format.py

  chrome-update-create-task.bat
    Creates a scheduled task to do an automatic local chromium build every day.

  cpplint.py
    A copy of our linting tool which enforces Google style. Fetched from
    http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py

  gcl
    A tool for uploading and managing code reviews on the Chromium
    project, using the Rietveld code review tool.  More info at:
    http://code.google.com/p/rietveld/
   
  gclient
    A script for managing a workspace with modular dependencies that
    are each checked out independently from different repositories.
    More info at:
    http://code.google.com/p/gclient/

  hammer
    A wrapper script for building Chromium with the SCons software
    construction tool.  More info at:
    http://www.scons.org/

  revert
    A small tool to quickly revert a change.

Note: svn and python will be installed automatically if not accessible (on
Windows only).

To update this distribution manually, run bootstrap\update.bat on Windows,
or bootstrap/update.sh on Linux or Mac.

To disable automatic updating, set the environment variable DEPOT_TOOLS_UPDATE=0