Skip to content

Commit 4644288

Browse files
committed
update name to .sqlite3
1 parent 223a5b9 commit 4644288

File tree

7 files changed

+12
-9
lines changed

7 files changed

+12
-9
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# Database files, csv, intermediates
1717
*.db
1818
*.sqlite
19+
*.sqlite3
1920
*.csv
2021
tmp/
2122

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Building the database
5858
./build.sh X.X.X # e.g. 0.0.8
5959
6060
61-
5. Verify the tables (again inside the SQL shell :code:`sqlite3 usda.sqlite`),
61+
5. Verify the tables (again inside the SQL shell :code:`sqlite3 usda.sqlite3`),
6262

6363
.. code-block:: sql
6464

TODO

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
automatically publish GH release if version is incremented

docs/sqleton.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
cd "$(dirname "$0")"
55
cd ../sql
66

7-
sqleton -o ../docs/usda.svg usda.sqlite
7+
sqleton -o ../docs/usda.svg usda.sqlite3

docs/usda.svg

Lines changed: 1 addition & 1 deletion
Loading

sql/build.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ cd "$(dirname "$0")"
1111
# lives in sql/
1212

1313
# Remove existing
14-
rm -f usda.sqlite
14+
rm -f usda.sqlite3
1515

16-
printf "\\n\\x1b[32m%s\x1b[0m\n\n" "==> Pack usda.sqlite v$VERSION"
16+
printf "\\n\\x1b[32m%s\x1b[0m\n\n" "==> Pack usda.sqlite3 v$VERSION"
1717

18-
# Create sqlite db
19-
sqlite3 usda.sqlite ".read init.sql"
18+
# Create sqlite3 DB
19+
sqlite3 usda.sqlite3 ".read init.sql"
2020

2121
# Compress xzip
22-
tar cJf usda.sqlite-$VERSION.tar.xz usda.sqlite
22+
tar cJf usda.sqlite3-$VERSION.tar.xz usda.sqlite3
2323

2424
# Clean up
2525
# rm ???
2626
# overwrite existing?
2727
mkdir -p dist
28-
mv usda.sqlite-$VERSION.tar.xz dist
28+
mv usda.sqlite3-$VERSION.tar.xz dist

sql/version.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ id,version,created,notes
99
8,0.0.7,Wed 30 Sep 2020 02:03:41 AM EDT,fixing (some) missing FK constraints
1010
9,0.0.8,Sat Mar 6 11:33:05 2021 -0500,"speed up nutrients avg, with overview"
1111
10,0.0.9,Sat Feb 24 12:06:24 PM EST 2024,"add Vit E value, std_dev on nutrients_overview"
12+
11,0.0.10,Sat Mar 2 11:13:12 AM EST 2024,update DB version to 0.0.10 (sqlite3 extension)

0 commit comments

Comments
 (0)