Commit graph

166 commits

Author SHA1 Message Date
547e02b85f forge: use deftest; implement seq as class 2024-05-21 11:39:34 +02:00
53a61b660b testing: provide deftest macro, show suite and test names 2024-05-20 17:24:24 +02:00
778409a842 work in progress: testing improvements 2024-05-20 12:22:29 +02:00
f3c44f7baf keep functional seq (pointer) definition in separate file for reference 2024-05-20 12:22:05 +02:00
8e5317810b forge sequence: functional version 2024-05-19 11:05:52 +02:00
3eca0d0c19 forge sequence: improvements 2024-05-19 10:30:45 +02:00
7dd30882e0 work in progress: forge sequence (pseudo-pointer) 2024-05-19 10:03:39 +02:00
e0e65efa39 get-track basically working 2024-05-18 09:16:09 +02:00
3b3cfaf732 work in progress: get-track by trackid: select OK 2024-05-17 19:05:37 +02:00
8b006042d4 minor refactorings; + utility for SQL results: normalize-plist 2024-05-17 16:36:58 +02:00
c188ed2baf write track data to database, JSON-encoded 2024-05-17 11:45:26 +02:00
56467cd4c1 set timestamp default (now) explicitly upon insert 2024-05-17 09:11:40 +02:00
723ae93c83 put methods directly into generic definition 2024-05-16 19:20:39 +02:00
b168015309 fix do-sql method (via prepared query): use correct query object for free-query-resources 2024-05-16 18:09:38 +02:00
1f8fe04b45 use specialized engine subclass for postres for controlling timestamp conversion 2024-05-16 16:48:03 +02:00
bc6c1d8e31 do-sql: trying some variations: hangs with sqlite; free-query-resources: error on postgres 2024-05-16 15:42:29 +02:00
3f3da9b69b use local-time for timestamp conversions; + revert: timestamptz in db 2024-05-16 09:54:28 +02:00
bee8d6d75e insert: use query form, return trackid and timestamp; timestamp: without TZ 2024-05-16 08:27:22 +02:00
6c36fdc72d use keywords for head field names; re-order variable definitions and other statements in test 2024-05-15 16:09:14 +02:00
ed457efd53 insert working with real data from track object 2024-05-15 15:48:14 +02:00
d4c2db9f89 more on track creation: set head values 2024-05-15 14:52:48 +02:00
35348f3fdb work in progress: insert track; provide (and use) item-factory slot in container 2024-05-14 16:36:53 +02:00
4dab1785a5 create table: use schema option if set 2024-05-14 09:49:50 +02:00
9e1a8a92b9 create table: use container settings for table name and head fields 2024-05-14 08:26:18 +02:00
49688e4055 storage/tracking: create-index function 2024-05-13 21:21:13 +02:00
935465245f more refactoring, improve SQL generation 2024-05-13 09:43:35 +02:00
c832ba70f3 more refactorings: get rid of global *db-engine*, starting with methods on db-engine and storage 2024-05-12 19:27:11 +02:00
d7eaac4294 use 'backend' setting for selecting make-engine implementation 2024-05-12 15:28:00 +02:00
559c3f3281 storage refactoring: prepare for using methods for storage creation and db access 2024-05-12 12:37:24 +02:00
3b36d4e54a improve test set-up, load config when running test 2024-05-09 18:56:04 +02:00
3aacee896d improve config: separate :connect-args 2024-05-09 10:45:23 +02:00
3f2fea6617 database access almost working - sqlite hangs... 2024-05-08 13:50:57 +02:00
8dfb22033d minor refactoring of basic storage code 2024-05-07 19:21:30 +02:00
c4fdc6eeec test set-up for storage: run tests with sqlite and postgresql settings 2024-05-07 18:41:14 +02:00
db405da6d9 simplify forge code: use special variable *forge-env* 2024-05-07 14:06:28 +02:00
7b8db5f923 simplify testing code: use *tst* for test suite; renaming -> t:== 2024-05-07 11:11:15 +02:00
6938217533 rename db-params to db-config; provide both db-config vars in scopes/test-storage 2024-05-06 19:01:55 +02:00
5d7a4c0b82 replace tabs with spaces 2024-05-06 12:15:33 +02:00
82038d9dd5 work in progress: access to SQL DB: create/drop table, config via etc.lisp 2024-05-06 11:13:53 +02:00
c5c6a0bc7f more on storage/tracking: start constructing SQL with sxql 2024-05-05 22:25:42 +02:00
bf114841ca experiments with iterator 2024-05-05 08:33:38 +02:00
c2e27fe6dc work in progress: storage/tracking 2024-05-05 08:32:54 +02:00
4036a03882 initial set-up for storage / tracking stuff 2024-05-01 19:51:36 +02:00
53a999bb38 compile recursively 2024-04-29 15:28:16 +02:00
27fb32feb2 compile code in def 2024-04-29 14:48:05 +02:00
df88bec20a provide var definition with get and put operations 2024-04-28 14:56:46 +02:00
6e40672f10 experiments with closure-based variables 2024-04-27 19:55:27 +02:00
c2b48289ab add const definition 2024-04-27 08:25:53 +02:00
848160c2de forge: provide a simple REPL 2024-04-26 13:11:21 +02:00
a16f4c2417 add 'scratch' for interactive tests; strings as words, new vocabulary for user-defined words 2024-04-26 09:31:21 +02:00