How does Chromium manage work on different releases in version control?

Issue

I have noticed that there are no branches that reflect a particular version – there’s just the main branch and a few other branches, but they are not related to a specific version.

How do they manage to patch the current stable release and work on the alpha at the same time without having different branches? Or are they hidden?

https://source.chromium.org/chromium/chromium/src

Solution

The main or master branch that you are referring to is canary build–for development purposes only. Canary builds are not tested and are generally released daily. So it has been known to be very buggy.

Chromium versions are categorized as tags. You can use the following command from your Chromium repo to pull all the tags:

git fetch --tags

Use the following command to show the list of tags available:

git tag

Then to checkout a version of Chromium:

git checkout tags/1.2.3.4 

where 1.2.3.4 is one of the versions listed in the tags. So Chromium developers checkout a stable version and then make changes to the source code and bump the version in src/chrome/VERSION file. That file reflects the version of the current Chromium build. Then they create a corresponding tag and push the tag.

You can find all the version numbers here: https://chromiumdash.appspot.com/releases

Answered By – Asesh

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published