Chrome Release Bot (LUCI) 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
..
thumbnail_wild 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
Favicons.v3.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
Favicons.v4.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
Favicons.v5.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
Favicons.v6.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
Favicons.v7.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
Favicons.v8.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
HistoryNoDuration 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
HistoryNoSource 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
History_with_starred 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
OWNERS 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
README.md 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
TopSites.v1.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
TopSites.v2.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
TopSites.v3.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
TopSites.v4.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.22.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.26.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.27.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.28.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.29.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.30.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.31.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.32.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.38.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.39.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.40.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.41.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.42.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.43.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.44.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.45.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.46.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.47.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.48.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.49.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.50.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.52.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.53.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.54.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.55.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.56.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.57.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前
history.58.sql 4762b62e7d Publish DEPS for 106.0.5249.13 1 年之前

README.md

How to generate history.N.sql files using a Chromium build.

On a Linux build:

  1. Build the sqlite_shell target. This will build the SQLite CLI.

    $ ninja -C out/Debug/ sqlite_shell
    
  2. Run Chrome/Chromium with a fresh profile directory and immediately quit. It doesn’t really matter how long you run it, but there’ll be less work for you if you quit early.

    $ out/Debug/chrome-wrapper --user-data-dir=foo
    
  3. Locate the History file in the user-data-dir directory; e.g., foo/Default/History.

  4. Dump the History database into a text file:

    $ echo '.dump' | out/Debug/sqlite_shell foo/Default/History > history.sql
    
  5. Manually remove all INSERT INTO statements other than the statements populating the meta table.

To generate history.N.sql, be sure to run these steps before implementing the N+1 migration in chromium. I.e. you’ll usually want to run these steps on the main branch rather than the CL branch.