Перейти к файлу
Marek Habersack 60c99bbb32 Merge remote-tracking branch 'upstream/master'
* upstream/master:
2023-01-24 18:16:34 +01:00
android Add libsqlite_static_noicu 2021-09-14 07:38:44 +09:00
dist reland: sqlite: Upgrade to SQLite 3.39.2 2022-09-02 10:38:18 +00:00
CleanSpec.mk
LICENSE
METADATA Add updated cpe for vulnerability scanners 2022-01-12 01:25:14 +00:00
OWNERS Update OWNERS for sqlite 2020-07-06 10:10:26 -07:00
README.md Update README.md to mention `main` branch 2020-12-15 15:00:17 -05:00
README.version reland: sqlite: Upgrade to SQLite 3.39.2 2022-09-02 10:38:18 +00:00
TEST_MAPPING Add sqlite test to hwasan-postsubmit. 2022-03-17 00:51:22 +00:00
UPDATE-SOURCE.bash

README.md

Xamarin notes

The canonical repository (upstream) for this fork is https://android.googlesource.com/platform/external/sqlite/

The main branch here is kept in sync with the upstream master branch, if you need to update you can do it by adding a remote and merging its master branch into ours:

$ git remote add upstream https://android.googlesource.com/platform/external/sqlite/
$ git fetch upstream
$ git merge upstream/master
$ git push

We do not use the main branch for anything else than to keep it in sync with Google upstream. Whenever there's a need to update SQLite version a new branch named after the SQLite version should be created off of the main branch and the following procedure should be followed:

  • After the branch is created, download the amalgamation zip from https://sqlite.org/download.html

  • Copy the new amalgamation files to both the dist and dist/orig directories

  • Commit the changes

  • Apply Android.patch to the dist directory:

    $ cd dist
    $ patch -p2 < Android.patch
    
  • If there are hunks which failed to apply, fix them

  • Update Android.patch:

    $ git diff > Android.patch
    
  • Commit and push the above changes to GitHub