- 03 Oct, 2019 7 commits
-
-
Edward Lemur authored
Get rid of _process_codereview_select_options and detected_codereview_from_url and simplify issue parsing. Change-Id: I4200fd83ee868587c8627d6771c64f886b34a88b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1838384Reviewed-by:
Anthony Polito <apolito@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org>
-
Edward Lemur authored
Bug: 976104 Change-Id: Ide06f73faf7a9ce6aa2d7f47deffc0c505dcdb14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1835017 Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Andrii Shyshkalov <tandrii@google.com> Reviewed-by:
Anthony Polito <apolito@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
Edward Lemur authored
Bug: 1009809 Change-Id: I39bbb288a96bbb349747a3aa080f505d3b3a2cff Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1835041 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Anthony Polito <apolito@google.com>
-
Edward Lemur authored
Bug: 1009809 Change-Id: Idfcbd26de3420798f092c7fa55a6126d7c389a8c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1834317Reviewed-by:
Anthony Polito <apolito@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
Edward Lemur authored
This will prevent moving reviewers to cc when uploading patches. Bug: 1010499 Change-Id: Ida16a4686f46350ba009bdaec1542895208c3f2d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1835016 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Anthony Polito <apolito@google.com>
-
Dan Beam authored
"Fixed:" is equivalent and the preferred syntax. Also sets up a more generic mechanism for "unwanted tags", which BUG= and TBR= may eventually be when we're ready to move over to git-footers more fully. Bug: monorail:4470 Change-Id: I2e999d364292447124870b8d3539fde1ac1eb4ec Recipe-Nontrivial-Roll: chromiumos Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1836607 Auto-Submit: Dan Beam <dbeam@chromium.org> Commit-Queue: Dan Beam <dbeam@chromium.org> Reviewed-by:
Aaron Gable <agable@chromium.org>
-
Dan Beam authored
Bug: monorail:4470 Change-Id: I2a1dcc1fe00d29f9d058152c15c75f8f904c354a Recipe-Nontrivial-Roll: chromiumos Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1836601 Auto-Submit: Dan Beam <dbeam@chromium.org> Commit-Queue: Dan Beam <dbeam@chromium.org> Reviewed-by:
Aaron Gable <agable@chromium.org>
-
- 02 Oct, 2019 1 commit
-
-
Edward Lemur authored
Bug: 1009809 Change-Id: I430b5a78ee0f63388d7bed5be542abe10b37cd53 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1835040 Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Anthony Polito <apolito@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
- 01 Oct, 2019 2 commits
-
-
Edward Lesmes authored
Bug: 1007580 Change-Id: I8265b3f4e64b95d7f107b50eb8c68983d6002468 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1828080 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Anthony Polito <apolito@google.com>
-
Bruce Dawson authored
An increasing number of Windows developers are "accidentally" ending up with Python 3 installed on their machine through the Windows Store. If this version is first in the path then gclient may fail in non-obvious ways. This adds a python version check to give a clear warning message. R=vapier@chromium.org Change-Id: I7a292fba2ab7d059a6149644d0b1fd92d2371dce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1825945 Commit-Queue: Bruce Dawson <brucedawson@chromium.org> Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Mike Frysinger <vapier@chromium.org>
-
- 30 Sep, 2019 1 commit
-
-
Quinten Yearsley authored
The expected behavior is that for CLs that were already uploaded before, where some tryjobs were run and failed, git cl upload --retry-failed will be kind of like git cl upload --cq-dry-run except it will only trigger tryjobs that failed. Bug: 985887 Change-Id: I6371bca3ba501b1ea2cd7160e2f933530d7e633f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1828322 Auto-Submit: Quinten Yearsley <qyearsley@chromium.org> Commit-Queue: Andrii Shyshkalov <tandrii@google.com> Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org>
-
- 26 Sep, 2019 1 commit
-
-
Quinten Yearsley authored
Bug: 985887 Change-Id: I5aab64a21961ea8f57d77f6523f2ddc5f74e78a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1818624 Commit-Queue: Quinten Yearsley <qyearsley@chromium.org> Reviewed-by:
Andrii Shyshkalov <tandrii@google.com>
-
- 25 Sep, 2019 1 commit
-
-
Edward Lemur authored
Will be removed back again on Oct 9, 2019. Bug: 1004447 Change-Id: I7003fac9ae8b184e2a7073b516535e8fd599f4f5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1825446 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Andrii Shyshkalov <tandrii@google.com>
-
- 24 Sep, 2019 2 commits
-
-
Edward Lemur authored
I think this makes tests easier to read and write. Change-Id: I9430a5d40e3466ff2a24b6b40253419aea3f30b5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1820034Reviewed-by:
Anthony Polito <apolito@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
Anthony Polito authored
Bug: 1001709 Change-Id: I53e7699cb38d810d0a8c88d40907bf249174ad8b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1804603Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Anthony Polito <apolito@google.com>
-
- 23 Sep, 2019 2 commits
-
-
Edward Lemur authored
Change-Id: I032c838c07ca8b715976bd9dc428c1bd6a77d80b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1793009Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
Quinten Yearsley authored
There are many functions in git_cl that appear unused, although it's possible that some of them are used in other places, where git_cl may be imported as a library. This CL just removes some of the private ones, which at least were not supposed to be used from other places. Things removed here: - _get_commiter_timestamp - _git_amend_head - GitCookiesChecker._get_usernames_of_domain - constants MERGE_BRANCH, CHERRY_PICK_BRANCH; the comment says that these are supposed to be used in CMDland, but apparently they aren't. contextlib which is only used by this, is also removed - CodereviewSettingsFileMock in git_cl_test; it is not used anywhere in the test, and I assume that nobody's importing and using git_cl_test... git_cl_test still passes, git cl seems to still work Change-Id: Ib8eee0dfb181c8cda04c0894d2daea52b3ad42ac Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1818621Reviewed-by:
Andrii Shyshkalov <tandrii@google.com> Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
-
- 21 Sep, 2019 1 commit
-
-
Raul Tambre authored
Note that on line 504 I also fixed the test on windows by allowing \. Also properly escaped /. Errors: C:\Google\depot_tools\tests\gclient_scm_test.py:42: SyntaxWarning: invalid escape sequence \[ TIMESTAMP_RE = re.compile('\[[0-9]{1,2}:[0-9]{2}:[0-9]{2}\] (.*)', re.DOTALL) C:\Google\depot_tools\tests\gclient_scm_test.py:504: SyntaxWarning: invalid escape sequence \. "breaking lock.*\.git/index\.lock") Bug: 958138 Change-Id: I19ef98538a1c172d7139ca2d7097a7fbc33ebe80 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1815866 Commit-Queue: Raul Tambre <raul@tambre.ee> Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Auto-Submit: Raul Tambre <raul@tambre.ee>
-
- 20 Sep, 2019 1 commit
-
-
Edward Lemur authored
Change-Id: I3bad4314973cda7e285b5b9cb823f61cd7fb2dff Bug: 976104 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1809516 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Andrii Shyshkalov <tandrii@google.com>
-
- 16 Sep, 2019 2 commits
-
-
Edward Lemur authored
This reverts commit 5b6ae8bc. Reason for revert: Suspected breakage of wpt-importer (https://ci.chromium.org/p/infra/builders/cron/wpt-importer) Original change's description: > git-cl: Use bb to schedule try jobs. > > Bug: 976104 > Change-Id: I3423667f1ed9edfc5fa17842932de7704951fc62 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1801799 > Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> > Reviewed-by: Andrii Shyshkalov <tandrii@google.com> TBR=nodir@chromium.org,tandrii@google.com,ehmaldonado@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 976104 Change-Id: I885c1e71b34928c402d3375f820b28f3d6535c54 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1806148Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Andrii Shyshkalov <tandrii@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
Daniel Bratell authored
With certain git remote problems an error message is emitted that has the place of the url and the place of the branch wrong. Example: Remote "opera" for branch "git@github.com:operasoftware/gn-opera.git" points to "bratell/no_jumbo_for_s", but it doesn't exist. Should be: Remote "opera" for branch "bratell/no_jumbo_for_s" points to "git@github.com:operasoftware/gn-opera.git", but it doesn't exist. R=dpranke@chromium.org Change-Id: I484ac8af226903a49df1f62e837d01c345fb5f02 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1806595 Commit-Queue: Daniel Bratell <bratell@opera.com> Reviewed-by:
Dirk Pranke <dpranke@chromium.org>
-
- 13 Sep, 2019 1 commit
-
-
Edward Lemur authored
Change-Id: I880c60e4b4e07fdb68a63af8d7a171d54371ee71 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1802294 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Andrii Shyshkalov <tandrii@google.com>
-
- 12 Sep, 2019 2 commits
-
-
Edward Lemur authored
Bug: 976104 Change-Id: I3423667f1ed9edfc5fa17842932de7704951fc62 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1801799 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Andrii Shyshkalov <tandrii@google.com>
-
Alan Cutter authored
https://chromium-review.googlesource.com/982601 disabled TBR for CLs that modified OWNERS files. This CL relaxes the restriction to permit TBR for CLs that have LGTMs for their modifications to OWNERS files. Bug: 688115 Change-Id: I47fef6b1eb021ca7cdfc003dc57722643b174a6e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1797605 Commit-Queue: Alan Cutter <alancutter@chromium.org> Auto-Submit: Alan Cutter <alancutter@chromium.org> Reviewed-by:
Aaron Gable <agable@chromium.org>
-
- 11 Sep, 2019 1 commit
-
-
Anthony Polito authored
left to right grouping Bug: 905740 Change-Id: I6a0b971556ab66bec841004fbbe8760b9136f216 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1793775Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Anthony Polito <apolito@google.com>
-
- 09 Sep, 2019 1 commit
-
-
Edward Lemur authored
Bug: 984182 Change-Id: I06e88f56aebf31c0c1ca495e6cbf03b6698b3676 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1790603Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
- 07 Sep, 2019 1 commit
-
-
Edward Lemur authored
Header was printed using sys.stdout, but the rest of the output was printed using sys.stdout.buffer, causing the output to be written before the header. Bug: 984182 Change-Id: If6aaa05a579c3b0c73ce8ffe48f3a4e777fa16fa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1790254 Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Andrii Shyshkalov <tandrii@google.com> Reviewed-by:
Andrii Shyshkalov <tandrii@google.com>
-
- 06 Sep, 2019 1 commit
-
-
Edward Lemur authored
Dependencies are processed in order, so they don't have to be sorted. target_os for each dependency is a set [1], so it should be sorted to avoid flaky failures. [1] https://cs.chromium.org/chromium/tools/depot_tools/gclient.py?l=368 Bug: 984182 Change-Id: I3e84f3cb85f9cb1920b7abf7a45766f3a518f4c1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1789278 Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Andrii Shyshkalov <tandrii@google.com> Reviewed-by:
Andrii Shyshkalov <tandrii@google.com>
-
- 03 Sep, 2019 3 commits
-
-
Edward Lemur authored
Change-Id: I93809da721d410090e7ceb140cf5d9c4bded3744 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1765838 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Andrii Shyshkalov <tandrii@google.com>
-
Edward Lemur authored
Bug: 984182 Change-Id: I0b7f1e3e056548a27a416c9b4078e54c9e5d60d0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1769400 Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Andrii Shyshkalov <tandrii@google.com> Reviewed-by:
Andrii Shyshkalov <tandrii@google.com>
-
Quinten Yearsley authored
In this CL: - Clarify some comments. - Remove some unused imports. - Make some style more consistent (e.g. quotes, whitespace) Tools used: pyflakes, flake8 (most warnings ignored) Change-Id: Ibfb6733c8d844b3c75a7f50b4f3c1d43afabb0ca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1773856Reviewed-by:
Andrii Shyshkalov <tandrii@google.com> Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
-
- 30 Aug, 2019 1 commit
-
-
Andrii Shyshkalov authored
Builders-map is finally no longer necessary. R=smut TBR=ehmaldonado Bug: 570733 Change-Id: I05c3087c877fdccfd878bb9befff4fb77b92b26b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1779543 Commit-Queue: Andrii Shyshkalov <tandrii@google.com> Reviewed-by:
smut <smut@google.com> Auto-Submit: Andrii Shyshkalov <tandrii@google.com>
-
- 28 Aug, 2019 1 commit
-
-
Elly Fong-Jones authored
This method allows retrieving the owners listed in a file, as well as those transitively listed in files included by it. This change also adds a new test to cover this method, which is just a wrapper for the existing _read_just_the_owners() internal method. Bug: None Change-Id: Iee956f115d3846acf0ee0806451807b0aa96d2f8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1773904Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
-
- 23 Aug, 2019 3 commits
-
-
John Budorick authored
The parsing logic for OWNERS files included via "file:" lines currently rejects inline comments (e.g. "foo@example.com # for foo.cc"), while the normal OWNERS parsing logic correctly ignores such inline comments. This CL makes the inline case ignore inline comments too. Bug: 995474 Change-Id: I6f30554daf0a5f63b81719dced44f59187707eaa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1769603Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: John Budorick <jbudorick@chromium.org>
-
Edward Lemur authored
Don't overwrite passed kwargs. Make a copy instead. Otherwise, subsequent calls with the same kwargs will have stdin set to subprocess.PIPE. Bug: 984182 Change-Id: I358ffa1951e8b42486e0ac3a0d3d587a93c6dc4e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1769405 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Robbie Iannucci <iannucci@chromium.org>
-
Edward Lemur authored
Add run_on_python2 and run_on_python3 to allow to be tests on either only python2, only python3 or both. Bug: 984182 Change-Id: I87d3b67412129cf3a8e627cd6bc97daa81147657 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1758849 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
smut <smut@google.com> Reviewed-by:
Robbie Iannucci <iannucci@chromium.org>
-
- 20 Aug, 2019 1 commit
-
-
Mike Frysinger authored
This allows people to pin a specific version of pylint when running it. The default behavior is unchanged: we run pylint-1.5.6 still as we've created a vpython wheel in cipd for it. But for projects that want to move to a newer version, they can pick any of the new 1.x wrappers. Having the full set of versions here allows projects to incrementally move to newer versions as the lint delta between 1.5 & 1.6 tends to be much smaller than 1.5 & 1.9. We don't include support for the newer 2.x series as those only support Python 3 which the codebase isn't ready for. Bug: 866772 Test: `./pylint ...` still works & shows pylint-1.5 Test: `./pylint-1.5 ...` runs the v1.5 version Test: `./pylint-1.8 ...` runs the v1.8 version Change-Id: I7c47187493564db81e3eb28c6dbd09e6309ead46 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1752507Reviewed-by:
Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org>
-
- 15 Aug, 2019 3 commits
-
-
Edward Lemur authored
Bug: 984182 Change-Id: Iaacb10dfc5ce7c624ac52edb76a9a74c6e2fd1cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1757122 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Robbie Iannucci <iannucci@chromium.org>
-
Edward Lemur authored
Bug: 984182 Change-Id: I9fd81f758c16099b3cb021035a57c35fe363c8ba Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1755302Reviewed-by:
Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
Edward Lemur authored
This will make it easier to get rid of super_mox.py Bug: 984182 Change-Id: Ic6c9646b8a96ef05ac59293a62f68ad7db7dc2d0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1754977 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Robbie Iannucci <iannucci@chromium.org>
-