|
|
Created:
4 years, 1 month ago by nodir Modified:
4 years, 1 month ago CC:
bradnelson, chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org, tandrii+omg_git_cl_chromium.org Target Ref:
refs/heads/master Project:
depot_tools Visibility:
Public. |
Descriptionfix git-cl-try without parameters
Master names were confused with bucket names
R=tandrii@chromium.org, qyearsley@chromium.org
BUG=661580
Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/e4f0fe02a97d526b565fc13152436f6f165e05c6
Patch Set 1 #
Total comments: 2
Patch Set 2 : masters can be None #Messages
Total messages: 20 (12 generated)
The CQ bit was checked by nodir@chromium.org 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...
PTAL
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/324a271f98c9ba10)
The CQ bit was checked by nodir@chromium.org to run a CQ dry run
LGTM, thanks for finding and fixing this https://codereview.chromium.org/2482523002/diff/1/git_cl.py File git_cl.py (right): https://codereview.chromium.org/2482523002/diff/1/git_cl.py#newcode361 git_cl.py:361: return {MASTER_PREFIX + m: b for m, b in masters.iteritems()} Could be changed to: return {_prefix_master(m): b for m, b in masters.iteritems()}
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/2482523002/diff/1/git_cl.py File git_cl.py (right): https://codereview.chromium.org/2482523002/diff/1/git_cl.py#newcode361 git_cl.py:361: return {MASTER_PREFIX + m: b for m, b in masters.iteritems()} On 2016/11/04 22:02:52, qyearsley wrote: > Could be changed to: > > return {_prefix_master(m): b for m, b in masters.iteritems()} I don't like _prefix_master. It assumes that no master starts with "master.". Better not to make assumptions when we know for sure that this is a master name and not a bucket name.
On 2016/11/04 at 22:04:04, nodir wrote: > https://codereview.chromium.org/2482523002/diff/1/git_cl.py > File git_cl.py (right): > > https://codereview.chromium.org/2482523002/diff/1/git_cl.py#newcode361 > git_cl.py:361: return {MASTER_PREFIX + m: b for m, b in masters.iteritems()} > On 2016/11/04 22:02:52, qyearsley wrote: > > Could be changed to: > > > > return {_prefix_master(m): b for m, b in masters.iteritems()} > > I don't like _prefix_master. It assumes that no master starts with "master.". Better not to make assumptions when we know for sure that this is a master name and not a bucket name. Yeah, that makes sense.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by nodir@chromium.org
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/324a4f3b39de0f10)
The CQ bit was checked by nodir@chromium.org
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 ========== fix git-cl-try without parameters Master names were confused with bucket names R=tandrii@chromium.org, qyearsley@chromium.org BUG=661580 ========== to ========== fix git-cl-try without parameters Master names were confused with bucket names R=tandrii@chromium.org, qyearsley@chromium.org BUG=661580 Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/e4f0fe02a97d52... ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/tools/depot_tools/+/e4f0fe02a97d52... |