82 Commits

Author SHA1 Message Date
wispem-wantex
b96ab19bc2 refactor: create helper functions in model generator
All checks were successful
CI / build-docker (push) Successful in 4s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 2m25s
2026-01-31 18:25:53 -08:00
wispem-wantex
cb8edd74c0 codegen: fix whitespace error in generated SQL 2026-01-29 10:54:58 -08:00
wispem-wantex
a0d0461f06 codegen: handle nullable foreign keys using 'ifnull' and add a test case for them
All checks were successful
CI / build-docker (push) Successful in 18s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 1m2s
2026-01-26 16:00:19 -08:00
wispem-wantex
e85a68e69d devcontainer: make it work on mac
All checks were successful
CI / build-docker (push) Successful in 5s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 2m17s
2026-01-26 14:54:59 -08:00
wispem-wantex
eee6714918 codegen: style fixes ('int64' -> 'int', 'SELECT' -> 'select') 2026-01-26 14:53:04 -08:00
wispem-wantex
c08f12e275 ci: add fts5 build tag for tests
All checks were successful
CI / build-docker (push) Successful in 2s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 11s
v0.0.1
2026-01-17 09:04:09 +09:00
wispem-wantex
0371fb4144 sqlite_lint: add support for FTS5 and virtual tables
Some checks failed
CI / build-docker (push) Successful in 5s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Failing after 6s
2026-01-17 09:00:24 +09:00
d70cbc1913 doc: add instructions to run sqlite_lint 2026-01-14 09:00:20 +09:00
ec19c3dcb5 doc: add entries for new 'rowid' related sqlite lint checks 2026-01-14 09:00:20 +09:00
2df2c634cd doc: add doc page for sqlite_lint 2026-01-14 08:22:28 +09:00
45c9e15dd3 doc: add some more notes to the main info doc file
All checks were successful
CI / build-docker (push) Successful in 15s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 40s
2026-01-10 17:39:08 -08:00
dc33bd84ff docs: add a TODO; also add IsSqlitePrimaryKeyError and change ForeignKey interface to '~int'
All checks were successful
CI / build-docker (push) Successful in 7s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 31s
2026-01-10 17:19:14 -08:00
2d29ce92ec generator: make scaffolded db schema pass new sqlite_lint checks
All checks were successful
CI / build-docker (push) Successful in 8s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 32s
2026-01-10 17:10:48 -08:00
a6cbbd3b39 tests: add test files for previous commit
Some checks failed
CI / build-docker (push) Successful in 7s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Failing after 31s
2026-01-10 17:06:28 -08:00
2ac9d8e775 sqlite_lint: add lint checks for rowid and without rowid
Some checks failed
CI / build-docker (push) Successful in 7s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Failing after 15s
2026-01-10 17:04:27 -08:00
560e461b00 lint: fixes
All checks were successful
CI / build-docker (push) Successful in 3s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 14s
2026-01-10 16:09:41 -08:00
5c1e1dcb6a generator: add GetAllXyzs() function
Some checks failed
CI / build-docker (push) Successful in 6s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Failing after 8s
2026-01-10 16:06:48 -08:00
a05cad5144 lint: fix lll
All checks were successful
CI / build-docker (push) Successful in 3s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 11s
2026-01-10 15:30:39 -08:00
e6a8175644 generator: use 'Must' flow helper in generated query funcs
Some checks failed
CI / build-docker (push) Successful in 47s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Failing after 4s
2026-01-10 15:28:09 -08:00
195c8f980e ci: make container build handle being built as 'root' correctly
Some checks failed
CI / build-docker (push) Failing after 1s
CI / build-docker-bootstrap (push) Successful in 42s
CI / release-test (push) Successful in 3m48s
2026-01-10 14:05:54 -08:00
8b674a0dea ci: add sudo to bootstrap build container, in accordance with previous commit
Some checks failed
CI / build-docker (push) Failing after 1s
CI / build-docker-bootstrap (push) Failing after 16s
CI / release-test (push) Has been skipped
2026-01-10 13:52:54 -08:00
13a6255553 ci: use devcontainer build script in CI. Also re-tag it as 'gas' instead of 'gas/ci' (which should be redundant)
Some checks failed
CI / build-docker (push) Failing after 0s
CI / build-docker-bootstrap (push) Failing after 14s
CI / release-test (push) Has been skipped
2026-01-10 13:51:26 -08:00
e0e6046afe devcontainer: add doc, user to match host machine, and scripts to build/start
Some checks failed
CI / build-docker (push) Failing after 0s
CI / build-docker-bootstrap (push) Failing after 1m40s
CI / release-test (push) Has been skipped
2026-01-10 13:39:41 -08:00
381d648be0 doc: remove some completed TODO items 2025-12-12 23:19:44 -08:00
ded07eb182 model generator: add the 'const xyzSQLFields = ...' decl, use it in the select query for GetXyzByID
All checks were successful
CI / build-docker (push) Successful in 10s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 31s
2025-12-12 23:19:14 -08:00
a32bf873c9 refactor: create helper function for computing a table's generated type-name 2025-12-12 22:37:29 -08:00
d9df69eccf fix: correct lint errors in the generated sqlite schema
All checks were successful
CI / build-docker (push) Successful in 8s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 29s
2025-12-12 22:11:10 -08:00
89db9e14e2 fix: parser no longer breaks on encountering indexes that contain expression columns
All checks were successful
CI / build-docker (push) Successful in 16s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 47s
2025-12-12 21:54:46 -08:00
f74da53c37 refactor: use flowutils helpers instead of 'if err != nil' 2025-12-12 21:52:59 -08:00
6358d12d10 codegen: fix another typo in filename
All checks were successful
CI / build-docker (push) Successful in 18s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 55s
2025-11-09 16:53:33 -08:00
1cbc99307a codegen: fix typo in template file name
Some checks failed
CI / build-docker (push) Successful in 12s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Failing after 1m9s
2025-11-09 16:48:13 -08:00
fef3f11342 Run the code generator integration test in CI
Some checks failed
CI / build-docker (push) Successful in 10s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Failing after 31s
2025-11-09 16:44:59 -08:00
208c1eb26c Add model generator based on AST
All checks were successful
CI / build-docker (push) Successful in 13s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 40s
2025-11-09 16:37:01 -08:00
2146e1de77 test: add integration test for 'gas init'
All checks were successful
CI / build-docker (push) Successful in 7s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 20s
2025-11-09 00:03:30 -08:00
a81dfb69a5 db: remove implicit singleton pattern, move functions under a struct object
All checks were successful
CI / build-docker (push) Successful in 7s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 25s
2025-11-09 00:01:15 -08:00
bfb7073cf6 lint: fix shell lint errors
All checks were successful
CI / build-docker (push) Successful in 5s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 17s
2025-11-08 23:57:37 -08:00
76f674d63b ci: add shellcheck step
Some checks failed
CI / build-docker (push) Successful in 5s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Failing after 10s
2025-11-08 23:56:31 -08:00
d1c00f9455 Run main build if backup (bootstrap) container build step is skipped
All checks were successful
CI / build-docker (push) Successful in 12s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 26s
2025-11-08 23:29:40 -08:00
23dc2c7899 Improve job sequence dependencies some more
All checks were successful
CI / build-docker (push) Successful in 8s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Has been skipped
2025-11-08 23:17:31 -08:00
d0f919d69a Add bash to CI container
Some checks failed
CI / build-docker (push) Failing after 5s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Has been skipped
2025-11-08 23:14:19 -08:00
8a1b7a9f34 Improve CI job dependency / ordering conditions
Some checks failed
CI / build-docker (push) Failing after 10s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Has been skipped
2025-11-08 23:13:00 -08:00
fef24e2364 Add more specific debugging to failing step
Some checks failed
CI / build-docker (push) Failing after 7s
CI / release-test (push) Failing after 16s
CI / build-docker-bootstrap (push) Has been skipped
2025-11-08 23:09:51 -08:00
61fa4e5cc4 Fix: apparently double quotes are invalid around variables in gitea expressions
Some checks failed
CI / build-docker (push) Failing after 9s
CI / release-test (push) Failing after 25s
CI / build-docker-bootstrap (push) Has been skipped
2025-11-08 23:08:48 -08:00
22ee5e181a Add debugging to failing CI step
Some checks failed
CI / build-docker (push) Failing after 8s
CI / release-test (push) Failing after 25s
CI / build-docker-bootstrap (push) Failing after 0s
2025-11-08 23:06:37 -08:00
be351bbb7d Add cheating bootstrap CI container, with gocheckout pre-installed
Some checks failed
CI / build-docker (push) Failing after 8s
CI / release-test (push) Failing after 19s
CI / build-docker-bootstrap (push) Failing after 1s
2025-11-08 23:05:38 -08:00
4c266ce336 Bump gocheckout version, and install it in the CI container
Some checks failed
CI / build-docker (push) Successful in 46s
CI / release-test (push) Failing after 9s
2025-11-08 22:27:41 -08:00
da85d89e9b Install Go for bootstrap CI container
Some checks failed
CI / build-docker (push) Successful in 2m3s
CI / release-test (push) Failing after 10s
2025-11-08 22:09:45 -08:00
98c6875262 Build CI container in CI
Some checks failed
CI / build-docker (push) Failing after 5s
CI / release-test (push) Failing after 1s
2025-11-08 22:08:32 -08:00
912210cc90 Enable no-dot-import lint check
All checks were successful
CI / release-test (push) Successful in 1m36s
2025-11-08 19:59:59 -08:00
dbde3c8724 Avoid panicking in db.Connect and db.Create, as they are library functions 2025-11-08 19:36:55 -08:00