Regarding New Git Workflow

86 views
Skip to first unread message

Sagar Shah

unread,
Sep 23, 2014, 12:31:23 AM9/23/14
to chromium-dev
Hi,
where and how can I find the DEPS for 38.0.2125.69? 
Earlier, I could find the DEPS @ http://src.chromium.org/viewvc/chrome/releases/. But only DEPS till version .19 are published here.

I see that the commit mentioned on omahaproxy is: 0e9385e0fc23ea46bfde94026e598be530f746a1

This commit is on master branch. I see references to refs/heads/2125 in the commit log such as:  Cr-Commit-Position: refs/branch-heads/2125@{#386}

Is it possible to get to see this branch in git? 
I use fetch to get the code, but I dont think it gets me version branches. I appreciate pointers to help me fetch the 2125 branch.

thanks
Sagar

Aaron Gable

unread,
Sep 23, 2014, 4:54:47 AM9/23/14
to shah...@gmail.com, chromium-dev
See the "Working with release branches" section of the "get the code" page. You need to gclient sync --with_branch_heads, which will get you all the necessary objects and refs for working with release branches, including the 38.0.2125.69 tag, which you can then check out or base branches off of.

Aaron

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Primiano Tucci

unread,
Sep 23, 2014, 5:31:15 AM9/23/14
to Aaron Gable, shah...@gmail.com, chromium-dev
https://chromium.googlesource.com/chromium/src.git/+/38.0.2125.69  (which is the branch you end up pulling if you follow the doc the Aaron just linked)

Sagar Shah

unread,
Sep 23, 2014, 9:11:25 PM9/23/14
to Primiano Tucci, Aaron Gable, chromium-dev
Hello Primiano and Aaron,
your pointers were very helpful. 
I followed the instructions to get the code and I think I managed to get the chromium/src branch: remotes/branch-heads/2125, off which I created my local branch_2125 per instructions.

I see following in the git commit log: 
Incrementing VERSION to 38.0.2125.76 statements. So, it seems that I am getting the latest code for the chromium/src.git project

I checked the .DEPS.git file and the webkit_rev is still: 13e1af0b920f0bc8425238b1961bbd28e2c88c9a which seems to be the version for the base revision.

When I check the .DEPS.git file @ the URL: https://chromium.googlesource.com/chromium/src.git/+/38.0.2125.76 and https://chromium.googlesource.com/chromium/src.git/+/38.0.2125.0, I see webkit rev as daf49ed6a15d22fee67b805a534bb869c9803e88 and 13e1af0b920f0bc8425238b1961bbd28e2c88c9a respectively. I am not sure why I dont see the changes to the .DEPS.git file in my local project workspace, though I think the git-log seems to indicate it is incrementing the version.

In my .gclient file is as follows:
solutions = [{u'managed': False, u'name': u'src', u'url': u'https://chromium.googlesource.com/chromium/src.git', u'custom_deps': {}, u'deps_file': u'.DEPS.git', u'safesync_u rl': u''}] target_os = [u'android']

thanks for your help
Sagar

Michael Moss

unread,
Sep 23, 2014, 11:38:58 PM9/23/14
to shah...@gmail.com, Primiano Tucci, Aaron Gable, chromium-dev
The src.git branch DEPS and .DEPS.git files are not updated to track changes in the release DEPS (this has always been the case, not something new to the git migration). If you want to checkout exactly what went into a release, you need to:

gclient sync --with_tags
git checkout -b <version> tags/<version>
gclient sync

There are changes afoot to try to get the branch DEPS file(s) properly synced to releases, but no ETA yet.

Michael

Sagar Shah

unread,
Sep 24, 2014, 9:12:51 PM9/24/14
to Michael Moss, Primiano Tucci, Aaron Gable, chromium-dev
Hi Michael,
thanks for your reply. I think I have sufficient information to move forward. 
thanks all for helping me.

Regards
Sagar
Reply all
Reply to author
Forward
0 new messages