Ensure gclient can fetch arbitrary refs/hashes and check out FETCH_HEAD |
|||||
Issue descriptionWhen a DEPS file specifies a dependency like "foo/bar.git@some/refish", gclient currently bails unless "some/refish" is already present in the local fetch config. That's silly. Git can do "git fetch origin some/refish" just fine, delivering it right into FETCH_HEAD. gclient should take advantage of that functionality to ensure it can check out arbitrary refs (and hashes!) without needing any special refspec configured in remote.origin.fetch. There's a small chance gclient can already do this, at least with a flag or some black magic. So first confirm that this needs to be added, then actually add it.
,
Jul 6 2016
Anyone familiar with gclient that can take a look at this? This is very important to get Bling's branch builders working again. For context, see the blocking bug. +cc benhenry for triage
,
Jul 18 2016
This will soon be blocking the migration to GN (as I need those bots to validate that I can create an official build using GN, prerequisite of shutting down gyp support). Can this bug get some love?
,
Jul 18 2016
The bling/GN issue has been resolved via a rollback, so this issue is no longer a high priority. Apologies for being on vacation while it caused issues. I still plan to fix it, because this is the only sane way for gclient to behave anyway.
,
Nov 22 2016
I've started this work: https://codereview.chromium.org/2448303002 It's a long slog.
,
Jan 18 2017
Ping - please provide an update to your high priority bug. This bug is stale. Is it really P-1?
,
Jul 7 2017
,
Sep 6 2017
Issue 605268 has been merged into this issue.
,
Sep 7 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/tools/depot_tools/+/63b8c2a7e99004a192f7fa1d2f8f44bba3f4a044 commit 63b8c2a7e99004a192f7fa1d2f8f44bba3f4a044 Author: Paweł Hajdan, Jr <phajdan.jr@chromium.org> Date: Thu Sep 07 08:39:52 2017 gclient: fetch arbitrary refs Bug: 624178 Change-Id: I7ffbf58441e8762630c3beec642108bcc671aae6 Reviewed-on: https://chromium-review.googlesource.com/647848 Reviewed-by: Aaron Gable <agable@chromium.org> Commit-Queue: Paweł Hajdan Jr. <phajdan.jr@chromium.org> [modify] https://crrev.com/63b8c2a7e99004a192f7fa1d2f8f44bba3f4a044/testing_support/fake_repos.py [modify] https://crrev.com/63b8c2a7e99004a192f7fa1d2f8f44bba3f4a044/tests/gclient_scm_test.py [modify] https://crrev.com/63b8c2a7e99004a192f7fa1d2f8f44bba3f4a044/gclient_scm.py [modify] https://crrev.com/63b8c2a7e99004a192f7fa1d2f8f44bba3f4a044/tests/gclient_smoketest.py
,
Sep 7 2017
,
Sep 14 2017
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by s...@google.com
, Jun 29 2016