recipe-roller
f0834e44d1
Roll recipe dependencies (trivial).
...
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).
More info is at https://goo.gl/zkKdpD . Use https://goo.gl/noib3a to file a bug
(or complain)
recipe_engine:
https://crrev.com/d6668158ac17d845f016c191258b733947169ad1 Add per step timeout (martiniss@chromium.org )
R=martiniss@chromium.org
BUG=
TBR=martiniss@chromium.org,phajdan.jr@chromium.org
Review-Url: https://codereview.chromium.org/2081783002
9 years ago
tandrii
9d20675998
git cl test framework: improve debuggability of expected calls.
...
R=phajdan.jr@chromium.org
BUG=
Review-Url: https://codereview.chromium.org/2074233002
9 years ago
sergiyb
4a5ecbe615
Default to y(es) when asking user about archiving committed branches
...
R=tandrii@chromium.org
Review-Url: https://codereview.chromium.org/2074723002
9 years ago
tandrii
a60502f2d3
Gerrit git cl upload: --squash is now default.
...
You can override it for all devs of repo by adding line to codereview.settings:
GERRIT_SQUASH_UPLOADS: (True|False)
And even with that, individual devs can overide it for themselves with:
git config [--global] --bool gerrit.override-squash-uploads (true|false)
BUG=611892
Review-Url: https://codereview.chromium.org/2072363002
9 years ago
recipe-roller
9536905196
Roll recipe dependencies (trivial).
...
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).
More info is at https://goo.gl/zkKdpD . Use https://goo.gl/noib3a to file a bug
(or complain)
recipe_engine:
https://crrev.com/3495f24ac7834058a1490b6253e413f78d6adb93 remove whitespace (martiniss@chromium.org )
R=martiniss@chromium.org
BUG=
TBR=martiniss@chromium.org,phajdan.jr@chromium.org
Review-Url: https://codereview.chromium.org/2073253002
9 years ago
tandrii
56396af3e5
cit: print to stderr to allow piping from cit log cat.
...
R=hinoka@chromium.org,stip@chromium.org
BUG=
Review-Url: https://codereview.chromium.org/2062053002
9 years ago
tandrii
3bb82ff15a
Add SVN->Git migration warning to git cl dcommit users.
...
R=mmoss@chromium.org,benhenry@chromium.org
BUG=600451,161849
Review-Url: https://codereview.chromium.org/2074883002
9 years ago
tandrii
461a222aac
Remove git-tree-prune.
...
PSA [1] has been sent 3 weeks ago. Alternative git cl archive landed 1 week ago.
No comments have been received since then. Also, this tool is not even in
top-level depot_tools, hence outside of $PATH for most people, user impact
should be very limited.
[1] PSA link:
https://groups.google.com/a/chromium.org/d/msg/infra-dev/K2qwUQ-mRUM/nnYcTDD8AQAJ
BUG=616404
R=machenbach@chromium.org
Review-Url: https://codereview.chromium.org/2077943003
9 years ago
kylechar
58edce2b90
Enforce GN formatting for *.typemap files.
...
Ensure consistent formatting for Mojo typemap files that define the
build rules to generate StructTraits.
BUG=620799
TEST=Tested locally, both presubmit and git cl format work as expected.
Review-Url: https://codereview.chromium.org/2074793002
9 years ago
recipe-roller
7d44639eb2
Roll recipe dependencies (trivial).
...
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).
More info is at https://goo.gl/zkKdpD . Use https://goo.gl/noib3a to file a bug
(or complain)
recipe_engine:
https://crrev.com/d6f0e607c1bca05178f248b9f06619749a8c42d8 Introduce different repo types (git and gitiles) (phajdan.jr@chromium.org )
R=phajdan.jr@chromium.org
BUG=chromium:459840
TBR=martiniss@chromium.org,phajdan.jr@chromium.org
Review-Url: https://codereview.chromium.org/2074073002
9 years ago
mgiuca
1dfe43ca1a
Simplify octal constants in Python code (e.g. 0o0700 -> 0o700).
...
Review-Url: https://codereview.chromium.org/2075923003
9 years ago
tandrii
edbf9a3e85
Gerrit git cl upload: Remove --no-squash warning message.
...
First, it's wrong because of instruction in it is ineffective.
Second, it was also shown during --squash upload, which is completely wrong.
TBR=sergiyb@chromium.org
BUG=611892
Review-Url: https://codereview.chromium.org/2072923002
9 years ago
tandrii
8dd81ea20b
Revert of Gerrit git cl: allow overriding GERRIT_SQUASH_UPLOADS in git config. (patchset #2 id:20001 of https://codereview.chromium.org/2070013002/ )
...
Reason for revert:
I suspect this broke squash setting setup.
Original issue's description:
> Gerrit git cl: allow overriding GERRIT_SQUASH_UPLOADS in git config.
>
> Previously, if GERRIT_SQUASH_UPLOADS was found in codereview.settings,
> a local repository value of gerrit.squash-uploads would be set.
>
> This CL changes that, so that gerrit.squash-uploads property is written
> with GERRIT_SQUASH_UPLOADS value ONLY IF the property wasn't set before.
>
> This allows individual users to choose their own way with
> git config [--global] -bool gerrit.squash-uploads (true|false)
>
> BUG=611892
> R=andybons@chromium.org,sergiyb@chromium.org
>
> Committed: 768ec9a755
TBR=andybons@chromium.org,sergiyb@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=611892
Review-Url: https://codereview.chromium.org/2071963002
9 years ago
vapier
2cc483c1d2
git cl upload: stop using deprecated except syntax
...
The newer form works with python2 and python3.
Review-Url: https://codereview.chromium.org/2076643002
9 years ago
tandrii
62d045ce9e
Cleanup CQ config post SVN->Git migration.
...
R=sergiyb@chromium.org
BUG=
Review-Url: https://codereview.chromium.org/2074823002
9 years ago
vapier
c094376847
git cl upload: convert to print_function
...
This makes the code work both in python2 and python3.
Review-Url: https://codereview.chromium.org/2078553002
9 years ago
vapier
8057ac8802
use py3 compatible octal constants
...
Review-Url: https://codereview.chromium.org/2076613002
9 years ago
tandrii
214df955c7
Add project-infra-tryjob-access to dry-runners of CQ.
...
TBR=sergiyb@chromium.org
BUG=
Review-Url: https://codereview.chromium.org/2071703003
9 years ago
vapier
45c2edf73c
httplib2: update to 0.9.2 release
...
This is in preparation for adding py3 support.
Review-Url: https://codereview.chromium.org/2073823002
9 years ago
vapier
a7fbd5a92a
git_cl: convert to print_function
...
This makes the code work both in python2 and python3.
Review-Url: https://codereview.chromium.org/2066003002
9 years ago
vapier
fd77ac7c77
git_cl: stop using deprecated except syntax
...
The newer form works with python2 and python3.
Review-Url: https://codereview.chromium.org/2061023003
9 years ago
tandrii
768ec9a755
Gerrit git cl: allow overriding GERRIT_SQUASH_UPLOADS in git config.
...
Previously, if GERRIT_SQUASH_UPLOADS was found in codereview.settings,
a local repository value of gerrit.squash-uploads would be set.
This CL changes that, so that gerrit.squash-uploads property is written
with GERRIT_SQUASH_UPLOADS value ONLY IF the property wasn't set before.
This allows individual users to choose their own way with
git config [--global] -bool gerrit.squash-uploads (true|false)
BUG=611892
R=andybons@chromium.org,sergiyb@chromium.org
Review-Url: https://codereview.chromium.org/2070013002
9 years ago
dcheng
091b7db64c
Expose fnmatch in presubmit's input_api.
...
BUG=611905
Review-Url: https://codereview.chromium.org/2070493002
9 years ago
recipe-roller
adf9f0db00
Roll recipe dependencies (trivial).
...
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).
More info is at https://goo.gl/zkKdpD . Use https://goo.gl/noib3a to file a bug
(or complain)
recipe_engine:
https://crrev.com/a6baded1c8c7a15dd1e4020289fd19d985f58c25 add basic bootstrap for coverage (martiniss@google.com )
R=martiniss@google.com,iannucci@chromium.org,phajdan.jr@chromium.org
BUG=618709
TBR=martiniss@chromium.org,phajdan.jr@chromium.org
Review-Url: https://codereview.chromium.org/2075483002
9 years ago
scottmg
0205656321
drover win: Use --stdin so update-index doesn't fail on long cmdline
...
git update-index would fail on long command lines when setting up
a resolve. Instead of passing all the files names on the command line,
pass them through --stdin and a file handle.
BUG=598808
Review-Url: https://codereview.chromium.org/2067653002
9 years ago
scottmg
f3c688bf2c
Fix presubmit checkout test after git 2.9.0
...
Quoting https://github.com/blog/2188-git-2-9-has-been-released
"""Rename detection is now enabled by default for diffs..."
which broke this test.
R=tandrii@chromium.org, iannucci@chromium.org
BUG=619959
Review-Url: https://codereview.chromium.org/2073553003
9 years ago
tandrii
26f3e4eecb
Update message for Gerrit git cl --no-squash users.
...
R=andybons@chromium.org
BUG=611892
Review-Url: https://codereview.chromium.org/2055233002
9 years ago
tandrii
1c67da672d
Mock stdout to avoid pollutting test runner stdout.
...
TBR=kmarshall@chromium.org
BUG=
Review-Url: https://codereview.chromium.org/2055003003
9 years ago
recipe-roller
ea46b88607
Roll recipe dependencies (trivial).
...
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).
More info is at https://goo.gl/zkKdpD . Use https://goo.gl/noib3a to file a bug
(or complain)
recipe_engine:
https://crrev.com/d6fea3edecb31f2f87e8551f7ca4cdaafef731f8 convert recipe_engine/fetch to use requests HTTP library (phajdan.jr@chromium.org )
R=phajdan.jr@chromium.org
BUG=none
TBR=martiniss@chromium.org,phajdan.jr@chromium.org
Review-Url: https://codereview.chromium.org/2059713002
9 years ago
recipe-roller
97e8e55968
Roll recipe dependencies (trivial).
...
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).
More info is at https://goo.gl/zkKdpD . Use https://goo.gl/noib3a to file a bug
(or complain)
recipe_engine:
https://crrev.com/da26a351b7034d37e55acd468fa90c8ee3a1ada0 Fix --timestamps help (nodir@chromium.org )
R=nodir@chromium.org,martiniss@chromium.org
BUG=613584
TBR=martiniss@chromium.org,phajdan.jr@chromium.org
Review-Url: https://codereview.chromium.org/2059593002
9 years ago
recipe-roller
d139d55fee
Roll recipe dependencies (trivial).
...
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).
More info is at https://goo.gl/zkKdpD . Use https://goo.gl/noib3a to file a bug
(or complain)
recipe_engine:
https://crrev.com/02bd5642786bd00b6060404bf8c459e6cc146c4c Emit CURRENT_TIMESTAMP annotation (nodir@chromium.org )
R=iannucci@chromium.org,nodir@chromium.org,martiniss@chromium.org
BUG=613584
TBR=martiniss@chromium.org,phajdan.jr@chromium.org
Review-Url: https://codereview.chromium.org/2056113002
9 years ago
nodir
7aafc3f4ad
git cl upload: commit subject is default patchset title
...
git cl upload asks the user to provide a patchset title.
If the user makes a commit per patchset, the subject of the commit may
be exactly what patchset title should be.
R=dnj@chromium.org, vadimsh@chromium.org
BUG=582419
Review-Url: https://codereview.chromium.org/1868313002
9 years ago
smut
7036c4f0a6
Use different exit code when desired dep roll is a no-op
...
BUG=609899
Review-Url: https://codereview.chromium.org/2047013005
9 years ago
hinoka
dcd840489d
Reland: git_cache.py: Clobber git repos if the config is corrupt
...
Reland of: https://codereview.chromium.org/2049463003/
See https://build.chromium.org/p/tryserver.chromium.win/builders/win10_chromium_x64_rel_ng_exp/builds/1801/steps/bot_update/logs/stdio
[Mirror] https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Ftryserver.chromium.win%2Fwin10_chromium_x64_rel_ng_exp%2F1801%2F%2B%2Frecipes%2Fsteps%2Fbot_update%2F0%2Fstdout
Sometimes repos become corrupt and bot_update fails spectacularly. This usually happens due to the process being interrupted during a fetch. Git
cache should be able to recover from this by clobbering.
BUG=
Review-Url: https://codereview.chromium.org/2045243004
9 years ago
recipe-roller
faa493b23a
Roll recipe dependencies (trivial).
...
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).
More info is at https://goo.gl/zkKdpD . Use https://goo.gl/noib3a to file a bug
(or complain)
recipe_engine:
https://crrev.com/9bd80bed8e2c252d85333afeb15e4ae6446390c5 fix package help (martiniss@chromium.org )
R=martiniss@chromium.org
BUG=
TBR=martiniss@chromium.org,phajdan.jr@chromium.org
Review-Url: https://codereview.chromium.org/2057753003
9 years ago
recipe-roller
7bb9cf7c62
Roll recipe dependencies (trivial).
...
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).
More info is at https://goo.gl/zkKdpD . Use https://goo.gl/noib3a to file a bug
(or complain)
recipe_engine:
https://crrev.com/e4cd3d7622993438df62de4b827d8900ee0b74e5 remote_run: resolve revision for consistent results from gitiles (phajdan.jr@chromium.org )
R=phajdan.jr@chromium.org
BUG=chromium:459840
TBR=martiniss@chromium.org,phajdan.jr@chromium.org
Review-Url: https://codereview.chromium.org/2050613004
9 years ago
hinoka
885e5b1ee2
Add resource locking in gclient
...
There are entries in the DEPS file where two folders uses the same
git URL (ie. freetype2). This doesn't work well with git caches because
each task will run on it's own and might try to clobber on top of each other.
This adds another field in a WorkItem which is a list of resources. When the
work queue is flushed, it has to make sure that none of a newly added workitem
has any resource conflicts.
BUG=618124
Review-Url: https://codereview.chromium.org/2049583003
9 years ago
sebmarchand
e9013dbe6f
Update the VS toolchain hash computation caching.
...
R=hans@chromium.org, scottmg@chromium.org
BUG=495204
Review-Url: https://codereview.chromium.org/2052533002
9 years ago
recipe-roller
f10bcf3238
Roll recipe dependencies (trivial).
...
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).
More info is at https://goo.gl/zkKdpD . Use https://goo.gl/noib3a to file a bug
(or complain)
recipe_engine:
https://crrev.com/4a775357939492af14f32fb92ac85c30f97c5d2f Delete duplicate test (nodir@chromium.org )
R=iannucci@chromium.org,nodir@chromium.org,martiniss@chromium.org
BUG=
TBR=martiniss@chromium.org,phajdan.jr@chromium.org
Review-Url: https://codereview.chromium.org/2047393002
9 years ago
sergeyberezin
0f4ee8193b
Revert of git_cache.py: Clobber git repos if the config is corrupt (patchset #4 id:60001 of https://codereview.chromium.org/2031773002/ )
...
Reason for revert:
Suspected to break builds: http://crbug.com/618124
Original issue's description:
> git_cache.py: Clobber git repos if the config is corrupt
>
> See https://build.chromium.org/p/tryserver.chromium.win/builders/win10_chromium_x64_rel_ng_exp/builds/1801/steps/bot_update/logs/stdio
> [Mirror] https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Ftryserver.chromium.win%2Fwin10_chromium_x64_rel_ng_exp%2F1801%2F%2B%2Frecipes%2Fsteps%2Fbot_update%2F0%2Fstdout
>
> Sometimes repos become corrupt and bot_update fails spectacularly. This usually happens due to the process being interrupted during a fetch. Git
> cache should be able to recover from this by clobbering.
>
> BUG=
>
> Committed: b48b126ffd
TBR=estaab@chromium.org,phajdan.jr@chromium.org,hinoka@google.com,hinoka@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=
Review-Url: https://codereview.chromium.org/2049463003
9 years ago
hinoka
b48b126ffd
git_cache.py: Clobber git repos if the config is corrupt
...
See https://build.chromium.org/p/tryserver.chromium.win/builders/win10_chromium_x64_rel_ng_exp/builds/1801/steps/bot_update/logs/stdio
[Mirror] https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Ftryserver.chromium.win%2Fwin10_chromium_x64_rel_ng_exp%2F1801%2F%2B%2Frecipes%2Fsteps%2Fbot_update%2F0%2Fstdout
Sometimes repos become corrupt and bot_update fails spectacularly. This usually happens due to the process being interrupted during a fetch. Git
cache should be able to recover from this by clobbering.
BUG=
Review-Url: https://codereview.chromium.org/2031773002
9 years ago
seanmccullough
0b67044c35
[depot_tools] Add gendered pronoun presubmit check.
...
Review-Url: https://codereview.chromium.org/2046003002
9 years ago
tandrii
16e0b4e206
Gerrit git cl upload: warn and offer to remove Gerrit commit-msg hook.
...
R=andybons@chromium.org,sergiyb@chromium.org
BUG=
Review-Url: https://codereview.chromium.org/2045973002
9 years ago
tandrii
b93dd2b2f4
git cl try: clarify where the default set of bots is coming from.
...
R=sergiyb@chromium.org,dsinclair@chromium.org
BUG=
Review-Url: https://codereview.chromium.org/2044663003
9 years ago
kmarshall
3bff56bb49
Add "archive" command to git_cl.py.
...
This command archives branches whose Rietveldt status is closed by
creating new Git tags for each of the branches' heads, and then
deleting the branch. It automatically cleans up the clutter that
accumulates over time in a long-lived Git checkout.
For example, the branch "foo-bar" associated with the
closed issue 1568403002 will be archived to the tag
"git-cl-archived-1568403002-foo-bar".
BUG=616404
R=martiniss@chromium.org,tandrii@chromium.org
Review-Url: https://codereview.chromium.org/1991563005
9 years ago
agable
208c053920
Small change to test the new git CQ
...
R=sergeyberezin@chromium.org
BUG=600446
Review-Url: https://codereview.chromium.org/2046763002
9 years ago
Aaron Gable
8c3211227f
Edit codereview.settings and cq.cfg for Git
...
R=sergeyberezin@chromium.org
TBR=tandrii@chromium.org
BUG=600446
Review URL: https://codereview.chromium.org/2041123002 .
9 years ago
hans@chromium.org
b380ad8370
Make "vs_toolchain.py update" work on case-sensitive file systems
...
Filenames must have their case preserved so the files can be opened,
but they need to be lowercased when hashed and sorted, to match the
expected hash.
In other words, this patch moves the lower-casing from GetFileList
(except to sort the list) to where filenames are fed into the hash.
BUG=495204
Review-Url: https://codereview.chromium.org/2039563002
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300696 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
phajdan.jr@chromium.org
166ac05c03
depot_tools: expose paths to presubmit_support.py and upload_to_google_storage.py
...
They're needed by infra recipes (https://codereview.chromium.org/2045493002 ).
BUG=617565
Review-Url: https://codereview.chromium.org/2045473002
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300695 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org
074c2afe94
Revert of Gerrit git cl: temporary disable cc option on upload. (patchset #1 id:1 of https://codereview.chromium.org/1895863002/ )
...
Reason for revert:
We've whitelisted cc-ed emails in Gerrit, and so let's try setting cc= again.
Original issue's description:
> Gerrit git cl: temporary disable cc option on upload.
>
> Gerrit doesn't allow arbitrary non-member emails for now,
> thus removign this feature until either Gerrit allows it,
> or we have a per-repo opt-in way.
>
> TBR=andybons@chromium.org
> BUG=604377
>
> Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=299988
TBR=andybons@chromium.org,sergiyb@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=604377
Review-Url: https://codereview.chromium.org/2034143002
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300694 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago