- 25 Mar, 2015 1 commit
-
-
dominik.rottsches@intel.com authored
Blink CL https://codereview.chromium.org/879533003/ defines own casts to convert between bridged types. The cast helpers in base cannot be used in Blink. Fine tune the presubmit check to allow for those by adding a negative look behind for reinterpret_cast. BUG= Review URL: https://codereview.chromium.org/1034523003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294560 0039d316-1c4b-4281-b951-d872f2087c98
-
- 24 Mar, 2015 1 commit
-
-
kjellander@chromium.org authored
BUG=412012 Review URL: https://codereview.chromium.org/765373002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294546 0039d316-1c4b-4281-b951-d872f2087c98
-
- 23 Mar, 2015 1 commit
-
-
kjellander@chromium.org authored
This will make gclient download all the remote branches of the WebRTC Git repo when the 'fetch webrtc' recipe runs. This will result in a new fetch line in the .git/config for branch-heads, like this: [remote "origin"] url = https://chromium.googlesource.com/external/webrtc.git fetch = +refs/heads/*:refs/remotes/origin/* fetch = +refs/branch-heads/*:refs/remotes/branch-heads/* In order to get the same setup for an existing checkout, do: gclient sync --with_branch_heads git fetch origin BUG=437776 TESTED=Ran 'fetch webrtc' and 'fetch webrtc_ios' and verified the remote branches were available with 'git branch --remotes' R=jochen@chromium.org Review URL: https://codereview.chromium.org/1030573002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294528 0039d316-1c4b-4281-b951-d872f2087c98
-
- 19 Mar, 2015 1 commit
-
-
nodir@chromium.org authored
If testfilter parameter is passed, put it in to the gerrit tryjob as a property. Later it will be processed by GerritPoller on Buildbot master. R=victorhsieh@chromium.org BUG=468075 Review URL: https://codereview.chromium.org/1019713002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294500 0039d316-1c4b-4281-b951-d872f2087c98
-
- 16 Mar, 2015 1 commit
-
-
kjellander@chromium.org authored
BUG=webrtc:3884 TESTED=my_activity.py --auth R=jochen@chromium.org Review URL: https://codereview.chromium.org/1008143002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294449 0039d316-1c4b-4281-b951-d872f2087c98
-
- 13 Mar, 2015 1 commit
-
-
enne@chromium.org authored
Thanks to tfarina for the code suggestion. BUG=443718 Review URL: https://codereview.chromium.org/990403002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294436 0039d316-1c4b-4281-b951-d872f2087c98
-
- 12 Mar, 2015 1 commit
-
-
calamity@chromium.org authored
This CL makes git-map-branches show CL status colors like git cl status when -vvv is used. Statuses are fetched in parallel for speed. BUG=379849 Review URL: https://codereview.chromium.org/938583002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294414 0039d316-1c4b-4281-b951-d872f2087c98
-
- 06 Mar, 2015 1 commit
-
-
nodir@chromium.org authored
R=sheyang@chromium.org, vadimsh@chromium.org BUG= Review URL: https://codereview.chromium.org/983843003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294368 0039d316-1c4b-4281-b951-d872f2087c98
-
- 03 Mar, 2015 2 commits
-
-
dnj@chromium.org authored
Add the ability to lookup the branch(es) corresponding to a specific issue. This helps keep track of issues when switching between multiple branches. BUG=None TEST=None Review URL: https://codereview.chromium.org/969263002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294307 0039d316-1c4b-4281-b951-d872f2087c98
-
rmistry@google.com authored
Context: In https://codereview.chromium.org/781523002/ I added the ability for target_ref to be set to any branch name. Eg: For Skia a ref of 'refs/remotes/origin/chrome/m42' would be correctly set to 'refs/heads/chrome/m42'. But in https://codereview.chromium.org/822503005/ this was changed to treat any branch that did not start with 'refs/remotes/branch-heads' or 'refs/remotes/origin/refs' to be 'refs/remotes/origin/master'. This makes it very chromium specific, there are plenty of other projects that use depot_tools that does not work like this. For Skia 'refs/remotes/origin/chrome/m42' would now change to 'refs/remotes/origin/master' which is wrong. The default behavior should be to preserve the original ref not to override it to master. I handled 'lkgr' and 'lkcr' as special cases in this CL because many developers track it and would like it to land in master by default. BUG=chromium:463109 NOPRESUBMIT=true Review URL: https://codereview.chromium.org/967453004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294303 0039d316-1c4b-4281-b951-d872f2087c98
-
- 28 Feb, 2015 1 commit
-
-
tfarina@chromium.org authored
Passing arg[1] rather than argv[1:] is causing the following with Python 2.7.3. Traceback (most recent call last): File "/home/tfarina/depot_tools/clang_format.py", line 70, in <module> sys.exit(main(sys.argv[1])) File "/home/tfarina/depot_tools/clang_format.py", line 65, in main return subprocess.call([tool] + args) TypeError: can only concatenate list (not "str") to list No output from clang-format (crashed?). Please report to bugs.llvm.org. This started to happening after http://src.chromium.org/viewvc/chrome?view=rev&revision=294250 BUG=None TEST=try to format a c++ file using clang-format TBR=sbc@chromium.org,maruel@chromium.org Review URL: https://codereview.chromium.org/972453002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294267 0039d316-1c4b-4281-b951-d872f2087c98
-
- 26 Feb, 2015 2 commits
-
-
sbc@chromium.org authored
Handle KeyboardInterrupt gracefully rather the printing a backtrace. Most users of these tools don't expect a backtrace when then hit Ctrl-C. Also, fix a few other inconsistencies found in the python startup code of these different scripts: - always call main function 'main' (rather than 'Main') - always return 0 from main function - if main takes args never include argv[0] Review URL: https://codereview.chromium.org/955993006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294250 0039d316-1c4b-4281-b951-d872f2087c98
-
rmistry@google.com authored
Motivation: There are a few things we want to do in Skia infrastructure that is not possible to do without this functionality. Eg1: If there is a change made to Skia's markdown then automatically include a 'DOCS_PREVIEW_URL=https://skia.org?cl=1234' in the CL's description. Eg2: Automatically add 'NOTRY=true' for changes impacting things that do not need trybot runs. Eg3: Include CL specific links to skia's perf (https://perf.skia.org/) and correctness (https://gold.skia.org/) servers. BUG=chromium:462208 Review URL: https://codereview.chromium.org/949273002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294242 0039d316-1c4b-4281-b951-d872f2087c98
-
- 25 Feb, 2015 1 commit
-
-
tfarina@chromium.org authored
This came in this CL review https://codereview.chromium.org/947983003/ BUG=None R=dpranke@chromium.org Review URL: https://codereview.chromium.org/955713003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294207 0039d316-1c4b-4281-b951-d872f2087c98
-
- 23 Feb, 2015 1 commit
-
-
erg@chromium.org authored
If the repository has third_party/dart-sdk/ unpacked, use that to format dart files modified in the current patch. BUG=459376 R=maruel@chromium.org, zra@google.com Review URL: https://codereview.chromium.org/933383002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294179 0039d316-1c4b-4281-b951-d872f2087c98
-
- 20 Feb, 2015 1 commit
-
-
dnj@chromium.org authored
This adds the '--auto_rebase' sync option, enabling parallel updates to automatically rebase local Git branches during sync. BUG=None TEST=local Review URL: https://codereview.chromium.org/930693002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294151 0039d316-1c4b-4281-b951-d872f2087c98
-
- 19 Feb, 2015 3 commits
-
-
glider@chromium.org authored
This check is specific to Chromium codebase, there's no point in having it in depot_tools. BUG=None R=maruel@chromium.org Review URL: https://codereview.chromium.org/924863002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294124 0039d316-1c4b-4281-b951-d872f2087c98
-
phajdan.jr@chromium.org authored
Noticed by Jens Widell in https://codereview.chromium.org/932333003/ TBR=maruel BUG=459855 Review URL: https://codereview.chromium.org/933373004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294123 0039d316-1c4b-4281-b951-d872f2087c98
-
phajdan.jr@chromium.org authored
R=machenbach TBR=maruel BUG=459855 Review URL: https://codereview.chromium.org/932333003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294121 0039d316-1c4b-4281-b951-d872f2087c98
-
- 17 Feb, 2015 3 commits
-
-
hinoka@chromium.org authored
BUG= Review URL: https://codereview.chromium.org/874763002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294095 0039d316-1c4b-4281-b951-d872f2087c98
-
primiano@chromium.org authored
Currently check_bucket_permissions() in download_from_google_storage.py performs a gsutil ls gs://bucket to determine whether the user has access to the bucket or not. This can be an EXTREMELY expensive operation (~minutes) if the bucket in question has a lot of objects in the root (real case: chrome-telemetry). It is worth noting that check_bucket_permissions() is not called just for uploads but also for downloads, hence this is slowing down all invocations of gclient sync on users and bots machine. Removing the check_bucket_permissions() and let gsutil fail with an Unauthorized error message if ACLs are not met. BUG=458059 Review URL: https://codereview.chromium.org/923473002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294083 0039d316-1c4b-4281-b951-d872f2087c98
-
primiano@chromium.org authored
Reland crrev.com/743083002, which was reverted in crrev.com/796053002 due to some test flakiness, probably related with an old version of Git on the bots. Relanding now that the infra has been updated to Trusty (plus adding some de-flake precautions). Original CL Description: Make gclient ready for the Blink (DEPS to main project) transition This CL makes gclient understand correctly whether a git project is being moved from DEPS to an upper project and vice-versa. The driving use case for this is the upcoming Blink merge, where third_party/Webkit will be removed from DEPS (and .gitignore) and will become part of the main project. At present state, gclient leaves the .git folder around when a project is removed from DEPS, and that causes many problems. Furthermore this CL solves the performance problem of bisecting across the merge point. The subproject's (Blink) .git/ folder is moved to a backup location (in the main checkout root) and is restored when moving backwards, avoiding a re-fetch when bisecting across the merge point. BUG=431469 Review URL: https://codereview.chromium.org/910913003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294082 0039d316-1c4b-4281-b951-d872f2087c98
-
- 16 Feb, 2015 1 commit
-
-
bauerb@chromium.org authored
This makes uploading to Gerrit with `git cl` more similar to uploading to Rietveld, by uploading a squashed commit containing the diff to the newest common ancestor. Uploaded commits are stored in refs/heads/git_cl_uploads/<branch> (and their commit message is used for the squash commit), which allows amending the commit message to change it on the uploaded CL, and looking through the reflog to find old uploaded versions. BUG=none Review URL: https://codereview.chromium.org/200023004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294077 0039d316-1c4b-4281-b951-d872f2087c98
-
- 11 Feb, 2015 1 commit
-
-
dgarrett@chromium.org authored
Add support for 'brillo' as an entry command distinct from 'cros'. It still does exactly the same thing... for now. BUG=brillo:162 TEST=Ran "brillo help" successfully. Review URL: https://codereview.chromium.org/896393003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294021 0039d316-1c4b-4281-b951-d872f2087c98
-
- 05 Feb, 2015 1 commit
-
-
iannucci@chromium.org authored
expect_tests and testing_support are now pulled in via DEPS. R=cmp@chromium.org, pgervais@chromium.org BUG= Review URL: https://codereview.chromium.org/901083003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293963 0039d316-1c4b-4281-b951-d872f2087c98
-
- 03 Feb, 2015 2 commits
-
-
wychen@chromium.org authored
Review URL: https://codereview.chromium.org/899503003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293930 0039d316-1c4b-4281-b951-d872f2087c98
-
wychen@chromium.org authored
Remove the ambiguity between revision and filename (or directory name) when using command "git cl diff". BUG=454032 Review URL: https://codereview.chromium.org/889093002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293914 0039d316-1c4b-4281-b951-d872f2087c98
-
- 02 Feb, 2015 3 commits
-
-
deymo@chromium.org authored
BUG=brillo:90 TEST=./my_activity.py shows brillo bugs. Review URL: https://codereview.chromium.org/891543002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293912 0039d316-1c4b-4281-b951-d872f2087c98
-
cmp@chromium.org authored
R=maruel@chromium.org Review URL: https://codereview.chromium.org/884243006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293911 0039d316-1c4b-4281-b951-d872f2087c98
-
mmoss@chromium.org authored
R=iannucci@chromium.org, iannucci@google.com BUG=444470 Review URL: https://codereview.chromium.org/887563004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293909 0039d316-1c4b-4281-b951-d872f2087c98
-
- 30 Jan, 2015 1 commit
-
-
scottmg@chromium.org authored
BUG=444470 R=scottmg@chromium.org, iannucci@google.com Review URL: https://codereview.chromium.org/888923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293889 0039d316-1c4b-4281-b951-d872f2087c98
-
- 26 Jan, 2015 2 commits
-
-
wittman@chromium.org authored
This is similar to the Gerrit behavior in that we default to master, unless the remote upstream is a branch head. BUG=435702 Review URL: https://codereview.chromium.org/822503005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293807 0039d316-1c4b-4281-b951-d872f2087c98
-
vapier@chromium.org authored
This is largely a bugfix release, so should be much easier to transition. BUG=chromium:431514 TEST=ran on some code bases and checked output Review URL: https://codereview.chromium.org/876793002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293806 0039d316-1c4b-4281-b951-d872f2087c98
-
- 24 Jan, 2015 1 commit
-
-
hinoka@chromium.org authored
So that gsutil.py config works. I would've preferred the execv solution, but apparently that didn't work on Windows :( BUG=451551 Review URL: https://codereview.chromium.org/870093003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293790 0039d316-1c4b-4281-b951-d872f2087c98
-
- 23 Jan, 2015 1 commit
-
-
szager@chromium.org authored
Context: https://groups.google.com/a/chromium.org/d/msg/chromium-dev/IcZ3C_ooKUM/ux559wpM_9cJ R=stip@chromium.org, iannucci@chromium.org BUG= Review URL: https://codereview.chromium.org/868943002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293765 0039d316-1c4b-4281-b951-d872f2087c98
-
- 22 Jan, 2015 1 commit
-
-
phajdan.jr@chromium.org authored
BUG=432498 Review URL: https://codereview.chromium.org/860353003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293743 0039d316-1c4b-4281-b951-d872f2087c98
-
- 16 Jan, 2015 1 commit
-
-
dpranke@chromium.org authored
Way back in r185294 I added the ability to request that, when checking owners, the patch author *should not* count (normally it does count). We did this in order to be able to mimic the review processes of WebKit in the Blink repo. However, we ended up never using this feature, so I'm finally getting around to deleting it. R=maruel@chromium.org BUG=none Review URL: https://codereview.chromium.org/851103004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293685 0039d316-1c4b-4281-b951-d872f2087c98
-
- 15 Jan, 2015 1 commit
-
-
mmoss@chromium.org authored
This prevents --no_auth from always clearing BOTO_CONFIG, since there are times when a BOTO is needed for other things than just auth info (e.g. proxy settings). BUG=443523 R=hinoka@chromium.org, szager@chromium.org Review URL: https://codereview.chromium.org/844373002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293652 0039d316-1c4b-4281-b951-d872f2087c98
-
- 14 Jan, 2015 1 commit
-
-
sbc@chromium.org authored
I've run in the exceptions a few times when doing 'git cl presubmit' or 'git cl lint' from a detached HEAD state (not uncommon when using 'git rebase-update') Review URL: https://codereview.chromium.org/792933003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293643 0039d316-1c4b-4281-b951-d872f2087c98
-
- 13 Jan, 2015 1 commit
-
-
dpranke@chromium.org authored
TBR=iannucci@chromium.org BUG= Review URL: https://codereview.chromium.org/848133002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293621 0039d316-1c4b-4281-b951-d872f2087c98
-