Commit Graph

2972 Commits (3d3a2f6aa198c1e627704ca240967dc4ea3db617)
 

Author SHA1 Message Date
dsinclair@chromium.org fbed6568a9 Allow using issue URL for git cl patch.
This CL allows passing the Rietveld URL to git cl patch along with the
CL number or patch URL.

Review URL: https://codereview.chromium.org/1363043002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296889 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
hinoka@chromium.org feb9e2a4ea git cl try --luci, a set of hacks to demonstrate and iterate LUCI
BUG=532220

Review URL: https://codereview.chromium.org/1344183002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296885 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
hinoka@chromium.org 47ea639f5f Default download_from_google_storage.py to verbose
BUG=504452

Review URL: https://codereview.chromium.org/1223793008

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296882 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
jochen@chromium.org e0cc9e4949 Delete blink fetch recipe
Devs should use fetch chromium instead

R=phajdan.jr@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1367473002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296860 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
maruel@chromium.org c6e39fe486 Revert of roll_dep: Avoid large commit messages by providing the log as a link (patchset #1 id:1 of https://codereview.chromium.org/1257233006/ )
Reason for revert:
Blink merge is done, blink people won't have to use it anymore.

Original issue's description:
> roll_dep: Avoid large commit messages by providing the log as a link
> 
> The majority of chromium projects are on googlesource.com, which can
> display a range of commits on the web. Use this feature instead of
> dumping logs into the commit message.
> 
> Particularly, this avoids creating large commit messages as these logs
> sometimes contain upwards of 50 commits.
> 
> Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=296184

TBR=jochen@chromium.org,spang@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review URL: https://codereview.chromium.org/1364763002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296840 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
szager@chromium.org 66c8b850e4 Allow 'git cache fetch' to re-bootstrap.
With this change, 'git cache fetch' will automatically re-bootstrap
a repo from google storage if the local cache has too many pack
files.  The behavior can be disabled with the --no-bootstrap flag.

BUG=

Review URL: https://codereview.chromium.org/1320383004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296829 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
scottmg@chromium.org 84a80c4057 Add `git cl checkout` to checkout by Rietveld issue
For example:

[5165c48...]d:\src\crashpad\crashpad>git cl checkout https://codereview.chromium.org/1355503005
Previous HEAD position was 5165c48... Use argument escaping function in util/win/process_info_test.cc
Switched to branch 'crashpad-info-cross-bitness'

[crashpad-info-cross-bitness]d:\src\crashpad\crashpad>git cl checkout 818433002
Multiple branches match issue 818433002:
0: file_io_open
1: file_io_open-2
2: file_io_open-3
Choose by index: 1
Switched to branch 'file_io_open-2'


R=dpranke@chromium.org

Review URL: https://codereview.chromium.org/1357213003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296823 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
nodir@chromium.org d221731ede git-cl-try: fix "revision" property
The revision property must be a part of `changes`, per
https://chromium.googlesource.com/chromium/tools/build/+/master/scripts/master/buildbucket/README.md

R=tandrii@chromium.org
BUG=534315

Review URL: https://codereview.chromium.org/1349343004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296790 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
thestig@chromium.org 37103c9c88 Sort the fetch recipe listing.
Review URL: https://codereview.chromium.org/1360493002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296782 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
dnj@chromium.org 605d81dfb3 gsutil: Parallel-safe, specify target, add clean.
- Update "gsutil.py" to be cooperatively safe when invoked
  multiple times simultaneously.
- Allow the cache directory to be overridden by the
  DEPOT_TOOLS_GSUTIL_BIN_DIR environment variable.
- Add a "--clean" flag to force "gsutil.py" to do a clean download.

BUG=chromium:452497
TEST=local
  - for i in `seq 1 50`; do ./gsutil.py --clean -- version&; done

Review URL: https://codereview.chromium.org/1346213003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296772 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
hinoka@chromium.org c3d4413cab Bump Gsutil version for download_from_google_storage to 4.15
BUG=

Review URL: https://codereview.chromium.org/1352043004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296750 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
iannucci@chromium.org 3b4f228f10 Fix git-freeze when using a commit hook which could reject a commit.
This prevents `git rebase-update` from losing work when using a hook like
pre-commit-go.

R=dnj@chromium.org, vadimsh@chromium.org, maruel@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1350043002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296737 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
smut@google.com c85ac94a33 Add -j flag to git cl comments to get JSON summary of CL comments
BUG=529169

Review URL: https://codereview.chromium.org/1342003002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296691 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
torne@chromium.org 434e79038d Work around race condition in subprocess.
There's a race condition in python's subprocess module, and gclient uses
it heavily while multithreaded. Avoid the race by locking around calls
to subprocess.Popen's constructor. Detailed explanation in the bug.

BUG=531561

Review URL: https://codereview.chromium.org/1343783004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296685 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
machenbach@chromium.org 4545314014 Allow setting arbitrary 'git cl try' properties with buildbucket.
This allows calling 'git cl try' with properties. Each
property is set with the option -p key=value, where value
will be treated as json if possible or as string.

Examples for -p and pitfalls:

key=string -> 'string'
key=1 -> 1
key=[1,2,3] -> [1,2,3]
key=["one","two","three"] -> '[one,two,three]'
'key=["one","two","three"]' -> ['one','two','three']

BUG=488235

Review URL: https://codereview.chromium.org/1339073002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296683 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
mmoss@chromium.org 2ad160097a Make auto-svn also configure the current svn branch (if any).
With this change, and running 'git auto-svn' whenever starting work on a
new upstream branch, much git-svn confusion and mayhem can be avoided.
For example:

$ git checkout -b drover_2403 branch-heads/2403
$ git svn info --url
  svn://svn.chromium.org/chrome-internal/trunk/tools/build
  # git-svn still thinks it's dealing with trunk.
$ git auto-svn
...
$ git svn info --url
  svn://svn.chromium.org/chrome-internal/branches/2403/tools/build
  # That's better.

R=agable@chromium.org, amineer@chromium.org

Review URL: https://codereview.chromium.org/1340733002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296667 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
sky@chromium.org 02ad753f56 Adds -f when rm'ing pyc files
Without this I get prompted if I really want to remote the file.

BUG=none
TEST=none

Review URL: https://codereview.chromium.org/1332303003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296651 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
stip@chromium.org 74374f985f Add a --keep-going flag for people who run rebase-update infrequently.
Review URL: https://codereview.chromium.org/1331263002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296639 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
deymo@chromium.org 56dc57a35e my_activity.py: Include AOSP gerrit instance.
Several Chromium OS projects were moved to AOSP so now the development
is in that gerrit instance. This patch includes it to the list.

BUG=None
TEST=`my_activity.py` shows changes in the AOSP gerrit instance.

Review URL: https://codereview.chromium.org/1332723002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296634 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
scottmg@chromium.org b62f675439 find-releases: handle untagged merges
At the moment, this doesn't work too well for something that was just merged to
45.

[(b912ace...)]scottmg@scottmg:/work/cr/src$ git find-releases 55b4c95889d6a72e52bc72702580a62f04f35777
commit 55b4c95889d6a72e52bc72702580a62f04f35777 was:
  initially in 47.0.2501.0
  merged to undefined (as de54b58d404a0cdf01639ae7260ef10bbb843ed9)
  merged to 46.0.2490.19 (as b4ba1071baaabc92cb5a2ca89e238c478eca0075)

("undefined" being the problem). This is because:

[(b912ace...)]scottmg@scottmg:/work/cr/src$ git name-rev --tags de54b58d404a0cdf01639ae7260ef10bbb843ed9
de54b58d404a0cdf01639ae7260ef10bbb843ed9 undefined

But,

[(b912ace...)]scottmg@scottmg:/work/cr/src$ cat .git/refs/remotes/branch-heads/2454
de54b58d404a0cdf01639ae7260ef10bbb843ed9

So, if name-rev --tags says it's not yet tagged, rather than just printing
'undefined', at least say which branch it was merged to. As in:

[(b912ace...)]scottmg@scottmg:/work/cr/src$ git find-releases 55b4c95889d6a72e52bc72702580a62f04f35777
commit 55b4c95889d6a72e52bc72702580a62f04f35777 was:
  initially in 47.0.2501.0
  merged to branch-heads/2454 [untagged] (as de54b58d404a0cdf01639ae7260ef10bbb843ed9)
  merged to 46.0.2490.19 (as b4ba1071baaabc92cb5a2ca89e238c478eca0075)


R=dpranke@chromium.org,primiano@chromium.org

Review URL: https://codereview.chromium.org/1325233005

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296621 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
scottmg@chromium.org f4ddadcf25 Add new tool, git find-releases
Finds the release(s) for a given change.

Relies on using "git cherry-pick -x" per
http://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/git-drover.html
so that the merge commit message contains the original commit.

Example:

d:\src\cr3\src>git show -s 53cc88da9a258bc4a34c4bff50025ee044c2e64d
commit 53cc88da9a258bc4a34c4bff50025ee044c2e64d
Author: grt <grt@chromium.org>
Date:   Tue Jun 2 10:33:09 2015 -0700

    Beacons for tracking default browser status.

    BUG=488247
    R=gab@chromium.org,wfh@chromium.org

    Review URL: https://codereview.chromium.org/1146843003

    Cr-Commit-Position: refs/heads/master@{#332423}


"Now, where did that ship?"


d:\src\cr3\src>git find-releases 53cc88da9a258bc4a34c4bff50025ee044c2e64d
commit 53cc88da9a258bc4a34c4bff50025ee044c2e64d was:
  initially in 45.0.2421.0
  merged to 43.0.2357.126 (as 8a5ccc0e0ad6b2237b2fcfffcb0ab24fe97bc77b)
  merged to 44.0.2403.39 (as d5d165943a88e51a64fd9e2fbcc781e4aaee270f)

Review URL: https://codereview.chromium.org/1332473003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296604 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
kjellander@chromium.org 469720ff0a Revert "my_activity.py: Add WebRTC code review and Google code site."
This reverts https://codereview.chromium.org/1008143002
since WebRTC has now moved over to Chromium's Rietveld instance.

BUG=webrtc:3884

Review URL: https://codereview.chromium.org/1188523002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296585 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
sergiyb@chromium.org 290e86a998 Updated cq_client
R=pgervais@chromium.org, rmistry@chromium.org

Review URL: https://codereview.chromium.org/1309393004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296530 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
vadimsh@chromium.org 8c9aab2ee3 Add breakpad fetch recipe.
$ mkdir breakpad && cd breakpad
$ fetch breakpad
$ cd src/
$ ./configure && make

R=iannucci@chromium.org
BUG=502355

Review URL: https://codereview.chromium.org/1325603003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296495 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
sergiyb@chromium.org 17027ab125 Use infra committer list from chrome-infra-auth
R=phajdan.jr@chromium.org
BUG=511311

Review URL: https://codereview.chromium.org/1312963003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296454 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
rmistry@google.com 816d085d71 get_depends_on_patchset is actually a POST endpoint
Context= https://groups.google.com/a/chromium.org/d/msg/infra-dev/GNKEiqLqKPg/M_rjXvwvLQAJ

BUG=

Review URL: https://codereview.chromium.org/1315893002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296430 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
tandrii@chromium.org c438c148dc Gclient with git cache: delete conflicting mirror.
Consider an SVN repo which was mirrored to git by git_updater. When SVN repo is migrated to github, the git histories of chromium mirror and new github one are different. As a result, hashes of the objects do not match.

Before, gclient would just get stuck at trying to fetch the repo after changing its remote url with errors like this:

...
[0:01:21] error: refs/heads/master does not point to a valid object!
[0:01:21] error: refs/remotes/origin/HEAD does not point to a valid object!
[0:01:21] error: refs/remotes/origin/master does not point to a valid object!
[0:01:21] error: refs/heads/master does not point to a valid object!
[0:01:21] error: refs/remotes/origin/HEAD does not point to a valid object!
[0:01:21] error: refs/remotes/origin/master does not point to a valid object!
[0:01:21] fatal: bad object HEAD
[0:01:21] error: /b/git-cache/chromium.googlesource.com-external-github.com-google-open--vcdiff did not send all necessary objects


The solution is to notice such state, delete the .git folder, and clone again.


BUG=523239
R=akuegel@chromium.org

Review URL: https://codereview.chromium.org/1303293002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296417 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
mmoss@chromium.org 37ac0e3cfe Really update config whenever --with_branch_heads is given.
R=maruel@google.com

Review URL: https://codereview.chromium.org/1296933004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296352 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
ricow@chromium.org 92cd7b05d5 Reland 0c7d94eb9d9fa388bda0d74405c0928dceea22ff: Add support for tar.gz archive files to download from download_from_google_storage
I fixed the overlapping argument and fixed up the tests so that the actual sha1 hash is now passed (since the tool actually check now that the downloaded file hash matches)

BUG=
R=hinoka@google.com

Review URL: https://codereview.chromium.org/1285423002 .

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296346 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
sheyang@chromium.org db37557b68 Make buildbucket default for git cl try
BUG=461614

Review URL: https://codereview.chromium.org/1132913005

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296339 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
petermayo@chromium.org fed8b4e9c1 Update fancy_urllib to work with python-2.7.10
This issue is cloned from https://codereview.chromium.org/1273083004/ for andreyu

BUG=chromium:517460
R=vapier@chromium.org

Review URL: https://codereview.chromium.org/1281273002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296285 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
tandrii@chromium.org ef14192d7e Make gclient revert work with DEPS when DEPS url changes.
BUG=520067

Review URL: https://codereview.chromium.org/1283083003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296278 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
maruel@chromium.org 851c8291a3 Fix gclient to work on a path containing space characters
Patch contributed by Leung Wing Chung <lwchkg@gmail.com>.
Committed on his behalf due to Commit Queue's mishandling of
CRLF files.

Here is my procedure for testing for a new install

1. Download and unzip
   https://src.chromium.org/svn/trunk/tools/depot_tools.zip
   Note that the path should include a space character,
   e.g. "with a space"

2. Copy the three modified files to the unzipped folder

3. Convert the unzipped files into Windows CRLF.

4. REMOVE the following lines from update_depot_tools.bat
   (Should I file a separate bug for this?)

:: Initialize/update virtualenv.
cd /d "%DEPOT_TOOLS_DIR%."
python -u bootstrap\bootstrap.py --deps_file bootstrap\deps.pyl --quiet ENV
if errorlevel 1 goto :EOF

5. Run gclient. Installation should be okay until
   "git rebase" is run.

R=maruel@chromium.org
BUG=507301

Review URL: https://codereview.chromium.org/1232023004 .

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296275 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
thakis@chromium.org 062acf8862 Add a --force flag to get_toolchain_if_necessary.py to let it run on non-Windows.
BUG=495204

Review URL: https://codereview.chromium.org/1284723006

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296272 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
thakis@chromium.org b5bbc5a6e5 Make `python build/vs_toolchain.py update` mostly work on non-Windows.
1. GetFileList() returns a list of path\names on Windows but of path/names on
   non-Windows. To not perturb existing hashes, I guess the hashing code should do
   path.replace('/', '\\') before hashing.

2. GetFileList() returns a sorted list of filenames, and \ compares pretty
   different than / (the former is less than all numbers while the latter
   is greater, for example).  So replace / with \\ for sorting too.

With this change, OS X produces the same file hash as Windows.

The script still early-exits on non-Windows, so no visible change yet.

BUG=495204

Review URL: https://codereview.chromium.org/1287543005

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296271 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
smut@google.com 8e6e1e695b Add get subcommand to buildbucket.py
BUG=493885

Review URL: https://codereview.chromium.org/1284453002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296246 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
tandrii@chromium.org 41a9ce45ee Fail with user friendly error when no new parent branch is specified.
Before this change, running
$ git reparent-branch
produced stacktrace and
"TypeError: sequence item 4: expected string, NoneType found"

R=iannucci@chromium.org
TEST=manual + unittest + coverage.
BUG=

Review URL: https://codereview.chromium.org/1280633003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296235 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
dpranke@chromium.org 310db36f52 Add a fetch recipe for gyp.
R=agable@chromium.org
BUG=481696

Review URL: https://codereview.chromium.org/1266713009

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296204 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
dpranke@chromium.org ee87f587ea Make 'git cl status' report the current branch even if there's no active CL.
TBR=ianh@google.com

Review URL: https://codereview.chromium.org/1263253002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296187 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
spang@chromium.org faa4dfc118 roll_dep: Avoid large commit messages by providing the log as a link
The majority of chromium projects are on googlesource.com, which can
display a range of commits on the web. Use this feature instead of
dumping logs into the commit message.

Particularly, this avoids creating large commit messages as these logs
sometimes contain upwards of 50 commits.

Review URL: https://codereview.chromium.org/1257233006

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296184 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
hinoka@chromium.org be46fddf5f Add verification to downloaded files
This does one last check to see if the file downloaded by
download_from_google_storage.py actually matches its sha1

BUG=

Review URL: https://codereview.chromium.org/1252313005

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296155 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
iannucci@chromium.org 9e18dee0a2 Improve gclient_scm SVN deprecation message.
R=hinoka@chromium.org, maruel@chromium.org, stip@chromium.org
BUG=513567,475230

Review URL: https://codereview.chromium.org/1260913002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296138 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
sergiyb@chromium.org af0b79e758 Restore depot_tools autoupdate in Windows.
Original CL: https://codereview.chromium.org/1242013003/

Executing a bat file from another bat file will replace
that first bat file with the second one. To call the
second one and then return and execute the rest of the
first one, you have to do "call second.bat"

"python" is really "python.bat" so that this happened
was not obvious. More obvious now.

R=bratell@opera.com
TBR=pgervais@chromium.org
BUG=511926

Review URL: https://codereview.chromium.org/1239263003 .

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296063 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
hinoka@chromium.org d61f1556bb cit.py fix
gclient should be checking out origin/deployed, not deployed.
--revision deployed is local, origin/deployed actually causes it to fetch

BUG=

Review URL: https://codereview.chromium.org/1236133005

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296055 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
hinoka@chromium.org bdc4728fb1 Added tool to call tools in infra.git
Example usage: yo cq_stats --help

BUG=
R=stip@chromium.org

Review URL: https://codereview.chromium.org/1232573007 .

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296053 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
aiolos@chromium.org 84033cc110 Don't throw "line too long" presubmit error on python import statements or when pylint "line too long" is disabled.
BUG=

Review URL: https://codereview.chromium.org/1234333002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296035 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
hinoka@chromium.org 493270eb15 Change default gsutil.py version to 4.13
BUG=
TESTS=
alpaca(gsutil_version) ~/depot_tools$ ./gsutil.py version                                                                                                                                                   
gsutil version: 4.13

Review URL: https://codereview.chromium.org/1237013003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296023 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
rmistry@google.com 56445e8f9d Revert of Comment out applying patchset dependencies in apply_issue.py (patchset #2 id:20001 of https://codereview.chromium.org/1194063003/)
Reason for revert:
https://chromereviews.googleplex.com/221697013/ has landed. Re-enable applying patchset dependencies in apply_issue.py

Original issue's description:
> Comment out applying patchset dependencies in apply_issue.py
> 
> Context is in the internal chrome-infra thread here:
> https://groups.google.com/a/google.com/d/msg/chrome-infra/dNQGjNoP-Dg/XDymPAwOCXkJ
> 
> NOPRESUBMIT=true
> 
> BUG=chromium:480453
> 
> Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=295800

TBR=phajdan.jr@chromium.org
BUG=chromium:480453

Review URL: https://codereview.chromium.org/1237703004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296016 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
smut@google.com 34fb6b15ee Add --display option to git cl description
A flag for showing the description instead of opening the editor to modify it.

BUG=493885

Review URL: https://codereview.chromium.org/1237483003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296000 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
rmistry@google.com 78948ed003 Add ability to skip dependency checks and uploads for particular branches.
After this CL is in users will be able to skip dependency checks and uploads for specific branches locally by running (using test2 as a branch name):
git config branch.test2.skip-deps-uploads True
To undo the skipping:
git config --unset branch.test2.skip-deps-uploads

To do the above commands globally (across all checkouts):
git config --global branch.test2.skip-deps-uploads True
git config --global --unset branch.test2.skip-deps-uploads


BUG=chromium:504832

Review URL: https://codereview.chromium.org/1210903005

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295953 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago