How get code of tag 116.0.5832.0

104 views
Skip to first unread message

rongzhen zhan

unread,
Jun 17, 2023, 2:21:44 AM6/17/23
to Chromium-dev
Hello everyone, How to get chromium code of tag 116.0.5832.0 to build . I don't want to git clone all branch code it is so big. How to get code with fetch,

Ian Clelland

unread,
Jun 23, 2023, 2:05:32 PM6/23/23
to zhanron...@gmail.com, Chromium-dev
I don't think you can do this with fetch. What you are looking for is a "shallow clone", which you can do from a single branch or tag in the repository. Something like

git clone --branch 116.0.5832.0 --depth 1 https://chromium.googlesource.com/chromium/src.git

will get you just the code for that specific tag. Note that it's still ~6GB.

That's just the Chromium code, though. I have no idea how (or even if) it will work with the rest of the build infrastructure; by not running fetch, you won't have gclient set up, you might not be able to easily get the correct build dependencies or third-party libraries needed. You might try following the rest of the instructions at https://www.chromium.org/developers/how-tos/get-the-code/, but I expect that you will probably have a difficult time getting it to build.

Ian

On Sat, Jun 17, 2023 at 2:20 AM rongzhen zhan <zhanron...@gmail.com> wrote:
Hello everyone, How to get chromium code of tag 116.0.5832.0 to build . I don't want to git clone all branch code it is so big. How to get code with fetch,

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/6f496561-a90b-4ee7-baa0-6f696ca3ec6bn%40chromium.org.
Reply all
Reply to author
Forward
0 new messages