descriptionUnofficial git mirror of the SQLite sources
ownermackyle@gmail.com
last changeTue, 4 Aug 2026 20:40:10 +0000 (4 20:40 +0000)
content tags
add:
readme

SQLite Git Mirror

Self-contained implementation of most of the SQL-92 specification

An unofficial git mirror of only the source code from the main SQLite repository at https://sqlite.org/src which is part of the SQLite project.

Building SQLite

In order to clone and build SQLite from this git repository, a substitute manifest and manifest.uuid file (these are fossil vcs specific files) must be created or the build will fail.

The following script may be executed with the current directory set to the working directory of the git clone in order to create or update these files:

#!/bin/sh
# See http://www.wtfpl.net/txt/copying for license details
# Creates a minimal manifest and manifest.uuid file so sqlite (and fossil) can build
git rev-parse --git-dir >/dev/null || exit 1
echo $(git log -1 --format=format:%H) > manifest.uuid
echo C $(cat manifest.uuid) > manifest
git log -1 --format=format:%ci%n | sed 's/ [-+].*$//;s/ /T/;s/^/D /' >> manifest

The above script simply records the hash of the current HEAD commit in manifest.uuid (and as the manifest’s "C"omment) and the UTC time of the commit in ISO format (preceded by "D ") in the manifest file.

The above script must be run at least once from the top-level of the working directory of the git clone for make to succeed and should be run before make whenever HEAD has changed otherwise the sqlite_source_id() information will be incorrect.

The above script is also available from the https://repo.or.cz/sqlite-export.git project in the create-fossil-manifest file.

After having created the substitute manifest and manifest.uuid files, simply build as normal (i.e. run ./configure with any desired options and then run make).

About This Mirror

This git mirror has been created using the information found in the https://repo.or.cz/sqlite-export.git project. Please see that project’s README.txt file for more information.

The fossil check-in hash of the fossil SQLite repository check-in corresponding to a commit can be found in the "fossil" notes (i.e. refs/notes/fossil). (Use git log --show-notes=fossil to see them.) Once you have the fossil check-in hash (e.g. git log --show-notes=fossil -1 version-3.8.5) you can then view the original commit in the SQLite fossil repository at https://sqlite.org/src/info/hash_value (e.g. https://sqlite.org/src/info/b1ed4f2a34ba66c29b130f8d13e9092758019212).

Please note that this mirror is updated only once a day so it may take up to 24 hours for commits to the main SQLite fossil repository at https://sqlite.org/src to appear here.

IMPORTANT: Since this is strictly a mirror, if the upstream fossil repository should rewrite history in any way, the refs in this repository will be force updated without notice!

The Great 2017 Rebuild

In March of 2017, the official SQLite repository started using a new hash algorithm. As a result, the older version of fossil being used was no longer capable of keeping this mirror up-to-date.

Switching to a newer fossil version produced some minor differences in the commit objects (the exported tree objects the commits refer to are identical between the two versions). This caused all the refs to be force-updated. Unfortunately it was unavoidable in order for this mirror to remain current.

Since the tree objects themselves are identical, rebasing any work built on the old ref values to the new ref values should be relatively painless.

License

Since this is strictly a mirror of the code from the native SQLite fossil repository, the standard SQLite license applies.

Download

Downloads are available from the main SQLite download area or from links found at https://repo.or.cz/sqlite.git.

repo.or.cz

Visit the repo.or.cz project page (source code etc.) at https://repo.or.cz/sqlite.git.

SQLite

Visit the SQLite project’s home site at https://sqlite.org/.

shortlog
2026-08-04 D. Richard... The sorter enhancement at [bdc841de10fef65b] contains... master
2026-08-04 D. Richard... Improved performance in the sorter by adding a special...
2026-08-04 Dan KennedyFix a single byte buffer overrun in the approximate_mat...
2026-08-04 Dan KennedyIn fts5, account for the possibility of negative docids...
2026-08-03 D. Richard... Improved comparison function for the sorter, using... vdbesort-opt
2026-08-03 Dan KennedyWhen processing a vector IN(...) term in a WHERE clause...
2026-08-03 Dan KennedyWhen processing a vector IN(...) term in a WHERE clause... bug-2026-08-03T09_05_06Z
2026-08-03 D. Richard... Set O_BINARY for Windows console output in the CLI...
2026-08-02 D. Richard... Fix harmless compiler warnings caused by the enhancemen...
2026-08-02 D. Richard... Make the test-use-only SQL function fts3_exprtest(...
2026-08-02 D. Richard... Cap constraint values on constraints to the amatch...
2026-08-02 D. Richard... Update the header comment on the zipfile extension...
2026-08-02 D. Richard... Fix incorrect header comment in the templatevtab.c...
2026-08-02 D. Richard... Fix typo in column name generation logic of the (debugg...
2026-08-02 D. Richard... Take care to avoid trying to compute 0.0/0.0 in the...
2026-08-02 D. Richard... Reduce the size of test cases for the closure extension...
...
tags
4 months ago version-3.53.4
4 months ago release
5 months ago version-3.53.3
5 months ago version-3.53.2
6 months ago version-3.53.1
7 months ago version-3.53.0
7 months ago major-release
8 months ago version-3.51.3
8 months ago version-3.52.0
10 months ago artiphishell
10 months ago version-3.51.2
12 months ago version-3.51.1
12 months ago version-3.51.0
15 months ago version-3.42.1
16 months ago version-3.50.4
16 months ago version-3.44.5
...
heads
3 months ago master
3 months ago bedrock
3 months ago wal2
3 months ago begin-concurrent
3 months ago cast-text-to-int
3 months ago branch-3.53
3 months ago vdbesort-opt
3 months ago bug-2026-08-03T09_05_06Z
4 months ago js-backup-bindings
4 months ago bug-2026-07-29T17_50_40Z
4 months ago bug-2026-07-29T05_33_50Z
4 months ago bug-2026-07-29T05_51_06
4 months ago reuse-schema-3.53
4 months ago bloom-filter-on-text
4 months ago tcl-tests-filcc
4 months ago temp-filenames
...
forks
Cached version (5747s old)
sqlite/official.git Official git mirror of the SQLite sources mackyle@gmail.com 3 months ago
sqlite/sqlite-manifest.git Unofficial git mirror of the SQLite sources... mackyle@gmail.com 3 months ago