thorium-mirror/docs/REBASING.md
2023-12-30 22:23:27 -06:00

15 lines
1.2 KiB
Markdown

# Rebasing Thorium
My primary job as the founder and main dev of Thorium is rebasing Thorium to match newer upstream Chromium versions.
This is not a trivial task. This document describes my personal workflow for how I rebase the repo. If anyone
notices something I could do better or faster, make a PR and edit this file along with an explanation of what should be done differently.
Rebasing would be even more of a chore if it wasn't thanks to the [Chromium source code search](https://source.chromium.org/).
We have a [bookmarks file](https://github.com/Alex313031/thorium/blob/main/infra/THORIUM_DEV_BOOKMARKS.html) located in __//infra__
which has a (not super well organized) bookmark list of all the files thorium uses.
The bookmarks file can be imported at chrome://bookmarks. Each file will be at the current Thorium revision, and it will also show
git history. If only one or two small commits were made to a file since the last version, I usually just look at the diff and manually
edit files as needed.
For more in depth rebasing, I find [Meld](https://meldmerge.org/) invaluable. The IDE I use is [Geany](https://www.geany.org/).
Both are available for Linux, Windows, and MacOS.