aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/roll_deps.py
Commit message (Collapse)AuthorAge
* Whitespace fixes for Python toolsGravatar borenet2014-06-25
| | | | | | | | | BUG=skia: R=rmistry@google.com Author: borenet@google.com Review URL: https://codereview.chromium.org/353853003
* Use new common tools in Python scriptsGravatar Eric Boren2014-06-25
| | | | | | | BUG=skia:2682 R=rmistry@google.com Review URL: https://codereview.chromium.org/330423004
* Add the chromium ninja builder to the list of trybots for a DEPS roll.Gravatar commit-bot@chromium.org2014-04-10
| | | | | | | | | | R=robertphillips@google.com, borenet@google.com Author: djsollen@google.com Review URL: https://codereview.chromium.org/227913005 git-svn-id: http://skia.googlecode.com/svn/trunk@14129 2bbb7eff-a529-9590-31e7-b0007b416f81
* tools/roll_deps: add '-m tryserver.chromium' to git-cl-tryGravatar commit-bot@chromium.org2014-03-14
| | | | | | | | | | R=rmistry@google.com Author: halcanary@google.com Review URL: https://codereview.chromium.org/200203003 git-svn-id: http://skia.googlecode.com/svn/trunk@13804 2bbb7eff-a529-9590-31e7-b0007b416f81
* roll_deps: Return a tuple even when returning earlyGravatar commit-bot@chromium.org2014-03-03
| | | | | | | | | | | | | This fixes the bot going red when DEPS is already up-to-date. BUG=skia: R=halcanary@google.com Author: borenet@google.com Review URL: https://codereview.chromium.org/185413012 git-svn-id: http://skia.googlecode.com/svn/trunk@13642 2bbb7eff-a529-9590-31e7-b0007b416f81
* add_codereview_message script to append messages to a CLGravatar commit-bot@chromium.org2014-01-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add add_codereview_message.py script. This script takes a message and a codereview URL as arguments calls `git cl upload` to append the message to the given codereview issue. Motivation: We are automating a process of testing Chromium/Skia DEPS rolls where roll_deps.py is automatically run every night, and then at a later time, compare_codereview.py is run to generate a report of the trybot results. This script can be used to append that report to the DEPS roll Cl. This CL also refactors functioanlity common to roll_deps and add_codereview_message: * Add tools/git_utils.py module. - ChangeGitBranch class was factored out of roll_deps.GitBranchCLUpload. The other half of that class became roll_deps.git_cl_uploader function. I make use of this new class in both roll_deps and upload_deps_roll. - test_git_executable moved to this new module. * Add tools/misc_utils.py - move VerboseSubprocess, ChangeDir, and ReSearch classes from roll_deps module. * Remove generic functions from roll_deps. * Add git_cl_uploader function to roll_deps. Refactor roll_deps.roll_deps function to make use of it BUG=skia: R=borenet@google.com, robertphillips@google.com Author: halcanary@google.com Review URL: https://codereview.chromium.org/141483011 git-svn-id: http://skia.googlecode.com/svn/trunk@13251 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add the NOTRY command on roll_deps.pyGravatar commit-bot@chromium.org2014-01-27
| | | | | | | | | | | | | | | Motivation: The current workflow is to submit via `git cl dcommit`. As we move to automated nightly creation of the DEPS roll CLs, we want to make it easier for the submitter to speed along a clean roll. BUG=skia: R=borenet@google.com, robertphillips@google.com, rmistry@google.com Author: halcanary@google.com Review URL: https://codereview.chromium.org/133933009 git-svn-id: http://skia.googlecode.com/svn/trunk@13211 2bbb7eff-a529-9590-31e7-b0007b416f81
* roll_deps.py: Make default_bots_list a module-level variableGravatar borenet@google.com2014-01-27
| | | | | | | | | | | This allows us to import the script rather than run it in a sub-shell. BUG=skia: R=halcanary@google.com Review URL: https://codereview.chromium.org/140973003 git-svn-id: http://skia.googlecode.com/svn/trunk@13200 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add reviewers to roll_deps.py, remove linux_heapcheck botGravatar commit-bot@chromium.org2014-01-21
| | | | | | | | | | | | | The --reviewers and --cc are disabled for now, while we work on the workflow. BUG=skia: R=robertphillips@google.com Author: halcanary@google.com Review URL: https://codereview.chromium.org/143903005 git-svn-id: http://skia.googlecode.com/svn/trunk@13137 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixes to roll_deps for the botsGravatar borenet@google.com2014-01-10
| | | | | | | | | | | | The bots are running an older version of git which does not support the -q/--quiet flag for branch or the --short flag for symbolic-ref. BUG= R=halcanary@google.com Review URL: https://codereview.chromium.org/134723002 git-svn-id: http://skia.googlecode.com/svn/trunk@13030 2bbb7eff-a529-9590-31e7-b0007b416f81
* Changes to roll_deps.pyGravatar halcanary@google.com2014-01-08
| | | | | | | | | | | | | | | | | | | - Code cleanup - Stop assuming that chromium's checkout would be via git-svn. - Verbose commit message for the deps revision - Shorter branch names. - New default: save_branches = yes. - New option: --git_hash=GIT_HASH BUG=skia:1973 BUG=skia:1974 BUG=skia:1993 BUG=skia:1995 R=borenet@google.com Review URL: https://codereview.chromium.org/126523002 git-svn-id: http://skia.googlecode.com/svn/trunk@12974 2bbb7eff-a529-9590-31e7-b0007b416f81
* DEPS roll scriptGravatar halcanary@google.com2014-01-06
This script: - searches through the last N commits to find out the hash that is associated with the revision number. - creates a new branch in the chromium tree, modifies the DEPS file, commits, and uploads to Rietveld. - create a whitespace-only commit and uploads that to to Rietveld. BUG= R=borenet@google.com Review URL: https://codereview.chromium.org/123523003 git-svn-id: http://skia.googlecode.com/svn/trunk@12921 2bbb7eff-a529-9590-31e7-b0007b416f81