OLD | NEW |
1 Name: sqlite | 1 Name: sqlite |
2 URL: http://sqlite.org/ | 2 URL: http://sqlite.org/ |
3 Version: 3.7.6.3 | 3 Version: 3.7.6.3 |
4 Included In Release: Yes | 4 Included In Release: Yes |
5 Security Critical: Yes | 5 Security Critical: Yes |
6 License: Public domain | 6 License: Public domain |
7 | 7 |
8 1) Managing differences between SQLite core and Chromium's version. | 8 1) Managing differences between SQLite core and Chromium's version. |
9 2) Making changes to Chromium SQLite. | 9 2) Making changes to Chromium SQLite. |
10 3) Import new release of SQLite. | 10 3) Import new release of SQLite. |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 git checkout -b sqlite_${VERSION} master | 134 git checkout -b sqlite_${VERSION} master |
135 git rebase sqlite_${BASE} | 135 git rebase sqlite_${BASE} |
136 # SQLite's download page is at <http://www.sqlite.org/download.html>. Scroll to | 136 # SQLite's download page is at <http://www.sqlite.org/download.html>. Scroll to |
137 # "Legacy Source Code Distribution Formats", and grab sqlite-src-<VERSION>.zip. | 137 # "Legacy Source Code Distribution Formats", and grab sqlite-src-<VERSION>.zip. |
138 # Unzip it and pull it into the repo. | 138 # Unzip it and pull it into the repo. |
139 wget http://www.sqlite.org/2014/sqlite-src-${VERSION}.zip | 139 wget http://www.sqlite.org/2014/sqlite-src-${VERSION}.zip |
140 unzip sqlite-src-${VERSION}.zip | 140 unzip sqlite-src-${VERSION}.zip |
141 rm sqlite-src-${VERSION}.zip | 141 rm sqlite-src-${VERSION}.zip |
142 # -f includes ignored files, of which there are a couple. | 142 # -f includes ignored files, of which there are a couple. |
143 git add -f sqlite-src-${VERSION}/ | 143 git add -f sqlite-src-${VERSION}/ |
| 144 # Sometimes DOS line endings sneak into the source code. This command works on |
| 145 # OSX and Linux and fixes those files, but double-check the results before |
| 146 # committing: |
| 147 egrep --exclude="*.eps" --exclude="*.ico" --exclude="*.jpg" \ |
| 148 --exclude="*.gif" --exclude="*.tiff" -URl '\r' . | \ |
| 149 LANG=C xargs sed -i~ -e $'s/\r$//' |
144 git commit -m "Begin import of sqlite-src-${VERSION}" sqlite-src-${VERSION} | 150 git commit -m "Begin import of sqlite-src-${VERSION}" sqlite-src-${VERSION} |
145 rm -rf src | 151 rm -rf src |
146 cp -a sqlite-src-${VERSION} src | 152 cp -a sqlite-src-${VERSION} src |
147 # -f includes ignored files, of which there are a couple. | 153 # -f includes ignored files, of which there are a couple. |
148 git add -f src/ | 154 git add -f src/ |
149 git commit -m "Update src to sqlite-src-${VERSION}" src/ | 155 git commit -m "Update src to sqlite-src-${VERSION}" src/ |
150 # This branch is unlikely to build. | 156 # This branch is unlikely to build. |
151 | 157 |
152 #### Create a branch for merging the CLs to the new SQLite. | 158 #### Create a branch for merging the CLs to the new SQLite. |
153 git checkout -b sqlite_${VERSION}_patched master | 159 git checkout -b sqlite_${VERSION}_patched master |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 NOTE(shess): On Ubuntu it is possible to run the tests in a tmpfs something | 245 NOTE(shess): On Ubuntu it is possible to run the tests in a tmpfs something |
240 like: | 246 like: |
241 | 247 |
242 TMPFS=/dev/shm/sqlite_build | 248 TMPFS=/dev/shm/sqlite_build |
243 BUILD=$PWD | 249 BUILD=$PWD |
244 mkdir $TMPFS | 250 mkdir $TMPFS |
245 (cd $TMPFS ; $BUILD/testfixture $BUILD/../test/veryquick.test >/tmp/test.log) | 251 (cd $TMPFS ; $BUILD/testfixture $BUILD/../test/veryquick.test >/tmp/test.log) |
246 | 252 |
247 This is faster, but it is plausible that different things are being tested than | 253 This is faster, but it is plausible that different things are being tested than |
248 real-world use. | 254 real-world use. |
OLD | NEW |