descriptionUnofficial git mirror of the SQLite sources
ownermackyle@gmail.com
last changeTue, 15 Oct 2024 22:22:53 +0000 (15 22:22 +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
17 hours ago D. Richard... Fix harmless compiler warning in flockCheckReservedLock().master
20 hours ago D. Richard... Fix the "tool-zip" makefile target so that it includes...
25 hours ago D. Richard... Fix a typo in a comment used to generate document....
25 hours ago D. Richard... Cross-reference the sqlite3_backup_init() function...
44 hours ago D. Richard... Avoid the possibility of buffer overrun in the READ_UTF...
2 days ago D. Richard... There is no need to DELETE the content of sqlite_sequen...
2 days ago D. Richard... The CLI now default to ".crlf ON" in Windows. CSV...
2 days ago D. Richard... Be consistent about using "CRLF" instead of "CRNL".
2 days ago D. Richard... Fix a harmless compiler warning in the CLI.
3 days ago Dan KennedyFix a problem with the ".expert" command and queries...
3 days ago Dan KennedyEnsure that test file ext/expert/expert1.test works... expert-vtab-fix
3 days ago Dan KennedyAllow the ".expert" command to analyze statements that...
4 days ago D. Richard... Additional clarification in the comments to sqlite3_std...
4 days ago D. Richard... Update comments in ext/misc/sqlite3_stdio.c to reflect...
4 days ago D. Richard... Add the doc/compile-for-unix.md document.
4 days ago Stephan BealAvoid a segfault when calling src-verify without any...
...
tags
2 months ago version-3.46.1
2 months ago release
4 months ago version-3.46.0
4 months ago major-release
6 months ago version-3.45.3
7 months ago version-3.45.2
8 months ago version-3.45.1
9 months ago version-3.45.0
10 months ago version-3.44.2
10 months ago version-3.44.1
11 months ago version-3.44.0
12 months ago version-3.43.2
13 months ago version-3.43.1
13 months ago version-3.43.0
17 months ago version-3.42.0
18 months ago version-3.41.2
...
heads
17 hours ago master
3 days ago expert-vtab-fix
4 days ago eqp-covering-index-on-expr
6 days ago cf8f1552-commit-instr
6 days ago make-install-fixes
6 days ago flock-vfs-fix
8 days ago indexed-subtype-expr
9 days ago branch-3.46
9 days ago mistake
9 days ago parseuri
10 days ago lateral-join
12 days ago bedrock-commit-instr
2 weeks ago omit-long-double
2 weeks ago snapshot_get-locking
2 weeks ago fts5-tokendata-prefix
2 weeks ago bedrock
...
forks
Cached version (1905s old)
sqlite/sqlite-manifest.git Unofficial git mirror of the SQLite sources... mackyle@gmail.com 17 hours ago