descriptionUnofficial git mirror of the SQLite sources
ownermackyle@gmail.com
last changeSat, 22 Apr 2017 00:20:49 +0000 (22 00:20 +0000)
content tags
add:
readme
sqlite git mirror @ repo.or.cz

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 http://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
git log -1 --format=format:%ci%n | sed -e 's/ [-+].*$//;s/ /T/;s/^/D /' > manifest
echo $(git log -1 --format=format:%H) > manifest.uuid

The above script simply records the hash of the current HEAD commit in manifest.uuid and the UTC time of the commit in ISO format (preceded by "D ") in the manifest file. This 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 http://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 http://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 http://sqlite.org/src/info/hash_value (e.g. http://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 http://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 http://repo.or.cz/sqlite.git.

repo.or.cz

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

SQLite

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

shortlog
45 hours ago D. Richard... Fix an assertion fault found by OSSFuzz.master
2 days ago Dan KennedyRemove a NEVER macro for a condition that may be true...
2 days ago Dan KennedyFix an FTS5 bug that could cause a prefix-query without...
4 days ago Dan KennedyFurther improvements to coverage of fts3 module.
4 days ago Dan KennedyFurther modifications and test cases to improve test...
5 days ago Dan KennedyUse sqlite3_table_column_metadata() instead of a SELECT...
5 days ago D. Richard... Improved optimizations of views as the right operand...
5 days ago Dan KennedyRefactor the fts3ColumnMethod() function so that all...
5 days ago D. Richard... Defer checking for null in the comparison operators...
6 days ago D. Richard... Do not allow a Mem object to be both NULL and some...
6 days ago Dan KennedyConsolidate two branches of code in the "PRAGMA foreign...
6 days ago Dan KennedyFix a problem in "PRAGMA foreign_key_check" in handling...
6 days ago Dan KennedyFurther improvements to test coverage in fts3.
6 days ago Dan KennedyImprove coverage of code in fts3.
6 days ago D. Richard... Fix the ".column" output mode in the command-line shell...
6 days ago D. Richard... In the showwal command-line tool, for unix builds,...
...
tags
3 weeks ago version-3.18.0
3 weeks ago release
2 months ago version-3.17.0
3 months ago version-3.16.2
3 months ago version-3.16.1
3 months ago version-3.16.0
4 months ago version-3.15.2
5 months ago version-3.15.1
6 months ago version-3.15.0
7 months ago version-3.14.2
8 months ago version-3.14.1
8 months ago version-3.14.0
11 months ago version-3.13.0
12 months ago version-3.12.2
12 months ago version-3.12.1
12 months ago version-3.9.3
...
heads
45 hours ago master
2 days ago schemalint
3 days ago schemalint-failure
8 days ago skip-ahead-distinct
9 days ago left-join-view
12 days ago fkey-optimization
12 days ago covering-index-on-expr
2 weeks ago apple-osx
2 weeks ago shell-fix
3 weeks ago begin-concurrent
3 weeks ago branch-3.18
4 weeks ago json_mergepatch
5 weeks ago default-synchronous-fix
5 weeks ago dbdump
6 weeks ago string-quoting-dump
6 weeks ago max-memory-option
...