- 11 May, 2014 1 commit
-
-
iannucci@chromium.org authored
R=agable@chromium.org BUG= Review URL: https://codereview.chromium.org/277003002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@269661 0039d316-1c4b-4281-b951-d872f2087c98
-
- 10 May, 2014 5 commits
-
-
hinoka@chromium.org authored
The contract for apply_patch is that it applies a patch on top of something, and it either all applies cleanly or it fails. The something that is applied on can be as clean or dirty without having apply_patch judge. The particular failure condition was that we want to patch DEPS first (into the index), do some stuff, then apply another patch on top of that. Apply_patch was failing because it saw that there was a DEPS in the index already when it wasn't expecting one. A fix that could've also worked is to run git diff --staged before applying the patch, then subtract that list from found_files, but it still gets tricky then because what if you want to apply an independent patch on top of an already patched index? Because apply_patch shouldn't need to be in the business of keeping track of what the state of everything is like before and after a patch (That's up to the patch application), the better thing would be to remove the assert alltogether, and rely on "git apply" to complain if something doesn't apply. BUG=370503 TBR=iannucci Review URL: https://codereview.chromium.org/280023004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@269526 0039d316-1c4b-4281-b951-d872f2087c98
-
hinoka@chromium.org authored
For a bot_update Git world, we don't really want to commit patches. Instead we just want to leave them unstaged. BUG=370503 Review URL: https://codereview.chromium.org/280063003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@269489 0039d316-1c4b-4281-b951-d872f2087c98
-
hinoka@chromium.org authored
Revert of Have apply_patch.py/checkout.py stage git patches instead of committing them (https://codereview.chromium.org/273543002/) Reason for revert: Borked all the tryjobs due to missing --base_ref, needed to land with https://codereview.chromium.org/273543002/ Original issue's description: > Have apply_patch.py/checkout.py stage git patches instead of committing them > > For a bot_update Git world, we don't really want to commit patches. Instead > we just want to leave them unstaged. > > BUG=370503 > TEST=ran locally with and without flag > > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=269468 TBR=maruel@chromium.org,agable@chromium.org,hinoka@google.com,iannucci@chromium.org NOTREECHECKS=true NOTRY=true BUG=370503 Review URL: https://codereview.chromium.org/271283003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@269482 0039d316-1c4b-4281-b951-d872f2087c98
-
hinoka@chromium.org authored
Reland of https://codereview.chromium.org/268373003/ with a fix (wraps the url with str()) https://codereview.chromium.org/268393002/ (bot_update root@revision support) is dependent on this BUG=370503 TEST= gclient sync --output-json ~/tmp/asdfasdf.json on both an SVN and Git checkout Review URL: https://codereview.chromium.org/277553002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@269469 0039d316-1c4b-4281-b951-d872f2087c98
-
hinoka@chromium.org authored
For a bot_update Git world, we don't really want to commit patches. Instead we just want to leave them unstaged. BUG=370503 TEST=ran locally with and without flag Review URL: https://codereview.chromium.org/273543002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@269468 0039d316-1c4b-4281-b951-d872f2087c98
-
- 09 May, 2014 1 commit
-
-
raphael.kubo.da.costa@intel.com authored
The only difference compared to upstream[1] is the shebang line from depot_tools r136603. [1] https://code.google.com/p/google-styleguide/source/browse/trunk/cpplint/cpplint.py?spec=svn131&r=119 R=maruel@chromium.org BUG= Review URL: https://codereview.chromium.org/269013009 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@269187 0039d316-1c4b-4281-b951-d872f2087c98
-
- 08 May, 2014 4 commits
-
-
iannucci@chromium.org authored
R=mmoss@chromium.org, szager@chromium.org BUG=371421 Review URL: https://codereview.chromium.org/271983002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@269088 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
R=vadimsh@chromium.org BUG= Review URL: https://codereview.chromium.org/267393015 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@269082 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
Passes through git-fetch's output instead of buffering it. R=djacques@chromium.org TBR=agable@chromium.org BUG=366375 Review URL: https://codereview.chromium.org/264423002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@269080 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
This is useful for large repos (like src.git) R=agable@chromium.org, szager@chromium.org BUG= Review URL: https://codereview.chromium.org/270503003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@269079 0039d316-1c4b-4281-b951-d872f2087c98
-
- 07 May, 2014 5 commits
-
-
borenet@google.com authored
Followup to https://codereview.chromium.org/189913020/ ("gclient: print a warning if a dep would get deleted or moved in the future") BUG=skia:1638 Review URL: https://codereview.chromium.org/225403015 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@268944 0039d316-1c4b-4281-b951-d872f2087c98
-
szager@chromium.org authored
This reverts commit 2f2b0593. Sample breakage: http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20ChromeOS/builds/67372/steps/gclient%20sync/logs/stdio BUG= R=grt@chromium.org, hinoka@chromium.org Review URL: https://codereview.chromium.org/267393007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@268887 0039d316-1c4b-4281-b951-d872f2087c98
-
hinoka@chromium.org authored
So that bot_update can use them to figure out which repo correspons to where. BUG=370503 Review URL: https://codereview.chromium.org/268373003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@268875 0039d316-1c4b-4281-b951-d872f2087c98
-
pgervais@chromium.org authored
BUG= Review URL: https://codereview.chromium.org/258983004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@268835 0039d316-1c4b-4281-b951-d872f2087c98
-
pgervais@chromium.org authored
BUG=366554 Review URL: https://codereview.chromium.org/271563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@268647 0039d316-1c4b-4281-b951-d872f2087c98
-
- 06 May, 2014 3 commits
-
-
hinoka@google.com authored
"name" is passed in as a function argument, but its "redelcared" in another iterator. Yay dynamic scoping. BUG= Review URL: https://codereview.chromium.org/258173002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@268593 0039d316-1c4b-4281-b951-d872f2087c98
-
hinoka@chromium.org authored
BUG=370503 TESTS= apply_issue.py --issue 243483007 --patchset 210001 --whitelst chrome/browser/chromeos/login/screen_locker.cc apply_issue.py --issue 243483007 --patchset 210001 --blacklist chrome/browser/chromeos/login/screen_locker.cc Review URL: https://codereview.chromium.org/264823003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@268589 0039d316-1c4b-4281-b951-d872f2087c98
-
jochen@chromium.org authored
BUG=none R=dpranke@chromium.org,machenbach@chromium.org Review URL: https://codereview.chromium.org/225743005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@268466 0039d316-1c4b-4281-b951-d872f2087c98
-
- 02 May, 2014 2 commits
-
-
hinoka@chromium.org authored
The "What is your project ID" has confused about every user of gsutil that I've talked to, and isn't even useful in the context of download_from_google_storage because its only good for "mb" on a bucket and "ls" without specifying a bucket, neither of which this version of gsutil should ever do. This CL: * Removes the prompt for project ID * Removes the 2 second delay which was meant for autolaunching a browser * We don't want this behavior anyways because most of our devs have multiple browser profiles open and they need to paste the URL into the correct profile. * Removes support to autolaunch a broswer. * Removes a lot of the extra messages. The prompt now looks like: === $ download_from_google_storage -g Please navigate your browser to the following URL: https://accounts.google.com/o/oauth2/auth?..... Enter the authorization code: <code> Boto config file "/usr/local/google/home/hinoka/.boto.depot_tools" created. $ === BUG=351015 Review URL: https://codereview.chromium.org/222973002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@267973 0039d316-1c4b-4281-b951-d872f2087c98
-
szager@chromium.org authored
This is a special case where we want to run a git command, even if it's an SVNWrapper instance. R=iannucci@chromium.org,agable@chromium.org BUG=369145 Review URL: https://codereview.chromium.org/264913006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@267707 0039d316-1c4b-4281-b951-d872f2087c98
-
- 01 May, 2014 3 commits
-
-
agable@chromium.org authored
R=iannucci@chromium.org, pgervais@chromium.org Review URL: https://codereview.chromium.org/261843002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@267616 0039d316-1c4b-4281-b951-d872f2087c98
-
borenet@google.com authored
BUG= Review URL: https://codereview.chromium.org/262813002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@267587 0039d316-1c4b-4281-b951-d872f2087c98
-
bauerb@chromium.org authored
BUG=none Review URL: https://codereview.chromium.org/259523006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@267480 0039d316-1c4b-4281-b951-d872f2087c98
-
- 30 Apr, 2014 4 commits
-
-
nodir@chromium.org authored
This change implements Gerrit protocol for posting try jobs. The "protocol" is described here: https://code.google.com/p/chromium/issues/detail?id=366099#c10 CLs for Buildbot: https://codereview.chromium.org/250983003/ https://codereview.chromium.org/259323003/ R=vadimsh@chromium.org, maruel@chromium.org, kmg@chromium.org BUG=366099, 364639, 364631 Review URL: https://codereview.chromium.org/254133007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@267379 0039d316-1c4b-4281-b951-d872f2087c98
-
agable@chromium.org authored
R=hinoka@chromium.org BUG=368720 Review URL: https://codereview.chromium.org/269483002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@267309 0039d316-1c4b-4281-b951-d872f2087c98
-
agable@chromium.org authored
R=hinoka@chromium.org BUG=368720 Review URL: https://codereview.chromium.org/267513002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@267254 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
This will allow e.g. `git help rebase-update` to work. R=agable@chromium.org BUG=238428 Review URL: https://codereview.chromium.org/253243002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@267038 0039d316-1c4b-4281-b951-d872f2087c98
-
- 29 Apr, 2014 2 commits
-
-
pgervais@chromium.org authored
When running an executable fails, the original error message sent by the OS is printed, together with a more detailed suggested solution. BUG= Review URL: https://codereview.chromium.org/245133003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@266908 0039d316-1c4b-4281-b951-d872f2087c98
-
pgervais@chromium.org authored
BUG= Review URL: https://codereview.chromium.org/253013004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@266905 0039d316-1c4b-4281-b951-d872f2087c98
-
- 28 Apr, 2014 3 commits
-
-
iannucci@chromium.org authored
This makes the depot_tools manpages automatically show up in the effective MANPATH for mac/linux. R=agable@chromium.org BUG= Review URL: https://codereview.chromium.org/259863004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@266667 0039d316-1c4b-4281-b951-d872f2087c98
-
bauerb@chromium.org authored
Otherwise, the old merge-base value can confuse the hell out of `git cl upload`. BUG=none Review URL: https://codereview.chromium.org/252683003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@266648 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
R=agable@chromium.org BUG= Review URL: https://codereview.chromium.org/246813003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@266590 0039d316-1c4b-4281-b951-d872f2087c98
-
- 25 Apr, 2014 6 commits
-
-
hinoka@google.com authored
BUG= Review URL: https://codereview.chromium.org/250803012 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@266255 0039d316-1c4b-4281-b951-d872f2087c98
-
agable@chromium.org authored
Currently, any bot run with "--revision=project@origin/master" fails, because it fetches the remote ref into refs/remotes/origin/master, but then checks out refs/heads/master, which hasn't been rolled forward. This is very similar to the bug fixed by https://codereview.chromium.org/85473007 However, I am very wary of this patch, because I am worried about changing something commented with " For compatibility...". Marc-Antoine, please comment. R=maruel@chromium.org, smut@chromium.org, stip@chromium.org Review URL: https://codereview.chromium.org/244253007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@266251 0039d316-1c4b-4281-b951-d872f2087c98
-
jrobbins@chromium.org authored
BUG=341052 Review URL: https://codereview.chromium.org/213573004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@266219 0039d316-1c4b-4281-b951-d872f2087c98
-
hinoka@google.com authored
This is because the version of unzip on osx doesn't support zip64, so it can't unzip large repositories like blink. BUG=261741 Review URL: https://codereview.chromium.org/251413002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@266151 0039d316-1c4b-4281-b951-d872f2087c98
-
pgervais@chromium.org authored
This should help debugging should presubmit failures on a CQ. BUG= Review URL: https://codereview.chromium.org/250383006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@266063 0039d316-1c4b-4281-b951-d872f2087c98
-
hinoka@google.com authored
This isn't doing anything, and is currently costing 20 seconds of idle time per bot_update run. Lets remove it until we convert lkcr/lkgr to tags. BUG=261741 Review URL: https://codereview.chromium.org/256683002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@266055 0039d316-1c4b-4281-b951-d872f2087c98
-
- 24 Apr, 2014 1 commit
-
-
smut@google.com authored
I want to run Python unit tests as part of my presubmit, and those unit tests require PYTHONPATH to be set the way it would be set when the modules they test are running. Review URL: https://codereview.chromium.org/250693002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@265998 0039d316-1c4b-4281-b951-d872f2087c98
-