|
|
Created:
4 years, 3 months ago by Ryan Tseng Modified:
4 years, 3 months ago CC:
chromium-reviews, dpranke+depot_too^s_chromium.org, iannucci+depot_tools_chromium.org Target Ref:
refs/heads/master Project:
depot_tools Visibility:
Public. |
Descriptionbot_update: add --auth-refresh-token-json passthrough for apply_issue
BUG=642150
Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/e465667e78b3f898f25b64a3ec4f5c003f7554e7
Patch Set 1 #
Total comments: 2
Patch Set 2 : Review #Patch Set 3 : Lint #
Total comments: 2
Patch Set 4 : Review again #
Total comments: 1
Patch Set 5 : Coverage test #Patch Set 6 : Retrain recipes #Patch Set 7 : More coverage #
Messages
Total messages: 48 (35 generated)
The CQ bit was checked by hinoka@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== bot_update: add --auth-refresh-token-json passthrough for apply_issue BUG= ========== to ========== bot_update: add --auth-refresh-token-json passthrough for apply_issue BUG=642150 ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
hinoka@google.com changed reviewers: + tandrii@chromium.org, vadimsh@chromium.org
ptal, in this CL, the caller sets the location for the credentials file. Which is different than the previous behavior. Should the recipe module just know about the credential file location instead?
hinoka@google.com changed reviewers: + martiniss@chromium.org - tandrii@chromium.org
+martiniss because he was involved in the other piece of inject-key-file-into-apply-issue code
I believe it's better to be explicit about this stuff. It removes the element of surprise when deploying new builders. Unless it would be very difficult to pass this flag from the corresponding tryjob recipe. https://codereview.chromium.org/2294413002/diff/1/recipe_modules/bot_update/a... File recipe_modules/bot_update/api.py (right): https://codereview.chromium.org/2294413002/diff/1/recipe_modules/bot_update/a... recipe_modules/bot_update/api.py:152: email_file = '/creds/rietveld/client_email' please make email_file and key_file None if oauth2_file is used.
The CQ bit was checked by hinoka@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: Depot Tools Presubmit on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/30fb82178f4abf10)
The CQ bit was checked by hinoka@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: Depot Tools Presubmit on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/30fb9363ce98df10)
tandrii@chromium.org changed reviewers: + tandrii@chromium.org
lgtm https://codereview.chromium.org/2294413002/diff/40001/recipe_modules/bot_upda... File recipe_modules/bot_update/api.py (right): https://codereview.chromium.org/2294413002/diff/40001/recipe_modules/bot_upda... recipe_modules/bot_update/api.py:149: elif patch_oauth2: since oauth2_json takes patch_oauth2, i'd add to top level assert not (oauth2_json and patch_oauth2)
The CQ bit was checked by hinoka@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2294413002/diff/1/recipe_modules/bot_update/a... File recipe_modules/bot_update/api.py (right): https://codereview.chromium.org/2294413002/diff/1/recipe_modules/bot_update/a... recipe_modules/bot_update/api.py:152: email_file = '/creds/rietveld/client_email' On 2016/08/31 22:02:24, Vadim Sh. wrote: > please make email_file and key_file None if oauth2_file is used. Done. https://codereview.chromium.org/2294413002/diff/40001/recipe_modules/bot_upda... File recipe_modules/bot_update/api.py (right): https://codereview.chromium.org/2294413002/diff/40001/recipe_modules/bot_upda... recipe_modules/bot_update/api.py:149: elif patch_oauth2: On 2016/09/01 15:49:33, tandrii(chromium) wrote: > since oauth2_json takes patch_oauth2, i'd add to top level > > assert not (oauth2_json and patch_oauth2) Done.
The CQ bit was checked by hinoka@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
LGTM % retrain expectations. https://codereview.chromium.org/2294413002/diff/60001/recipe_modules/bot_upda... File recipe_modules/bot_update/example.expected/trychange_oauth2_json.json (right): https://codereview.chromium.org/2294413002/diff/60001/recipe_modules/bot_upda... recipe_modules/bot_update/example.expected/trychange_oauth2_json.json:7: "--master", retrain expectations.
The CQ bit was checked by hinoka@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by hinoka@google.com
The CQ bit was checked by hinoka@google.com
The patchset sent to the CQ was uploaded after l-g-t-m from tandrii@chromium.org Link to the patchset: https://codereview.chromium.org/2294413002/#ps100001 (title: "Retrain recipes")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: Depot Tools Presubmit on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/315ca9925081d710)
The CQ bit was checked by hinoka@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: Depot Tools Presubmit on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/315cb1d10602dc10)
The CQ bit was checked by hinoka@google.com
The patchset sent to the CQ was uploaded after l-g-t-m from tandrii@chromium.org Link to the patchset: https://codereview.chromium.org/2294413002/#ps120001 (title: "More coverage")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: Depot Tools Presubmit on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/315cc69109442b10)
The CQ bit was checked by hinoka@google.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== bot_update: add --auth-refresh-token-json passthrough for apply_issue BUG=642150 ========== to ========== bot_update: add --auth-refresh-token-json passthrough for apply_issue BUG=642150 Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/e465667e78b3f8... ==========
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as https://chromium.googlesource.com/chromium/tools/depot_tools/+/e465667e78b3f8...
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/2350363003/ by hinoka@google.com. The reason for reverting is: Pointing to the wrong file :(. |