System.Data.SQLite
Artifact Content
Not logged in

Artifact 655c81782514e59b2cc69ea4ad50732898cc1cd3:


Source Code

Follow these steps to obtain the latest (i.e. unreleased) source code for the System.Data.SQLite project. To obtain the latest officially released source code instead, refer to the downloads page. Unless otherwise noted, all steps need to be done in the order specified.

Assumptions & Prerequisites

The string "<root>" represents the directory where you would like the local copy of source tree (i.e. the working check-out directory) for the System.Data.SQLite project to reside (this should be a completely empty directory).

Obtain & Install Fossil

The Fossil open-source version control system is a computer program that must be installed on your machine before you use it. Fortunately, installing Fossil is very easy. Fossil consists of a single executable file that you simply download and run. For convenience, the Fossil executable file should be placed in a directory present in your PATH. To uninstall Fossil, simply delete the executable file. Detailed instructions for installing and getting started with Fossil are available on the Fossil website.

Clone Repository (Windows)

  1. Open a normal command prompt window with "cmd.exe".
  2. Change the current directory to "<root>".
  3. Enter the following command to create a complete clone (i.e. local copy) of the entire source code repository for the System.Data.SQLite project, including the entire check-in history:  fossil clone http://system.data.sqlite.org/ sds.fossil
  4. The repository itself uses an enduring file format stored in a single SQLite database file with a particular schema.
  5. In this case, after executing the clone command, the local clone of the repository will be placed into the "sds.fossil" file in the current directory.

Working Copy (Windows)

  1. Open a normal command prompt window with "cmd.exe".
  2. Change the current directory to "<root>".
  3. Enter the following command to create a complete working copy of all the files that are currently part of the System.Data.SQLite project: fossil open sds.fossil
  4. The local source tree should now be ready for use as described in the build procedures and/or test procedures.
  5. In the future, to update the working copy with the latest changes from the official System.Data.SQLite repository (i.e. instead of having to re-clone the entire thing), enter the following command from the same directory where a working copy is located: fossil update