Commit Graph

29 Commits

Author SHA1 Message Date
Peter J. Holzer 363cdcede1 Make error messages more readable 2024-12-12 21:48:06 +01:00
Peter J. Holzer 7970835c8b Add schema support 2024-12-12 21:46:14 +01:00
Peter J. Holzer f6c64a50ab Add uuid 2024-02-06 12:47:00 +01:00
Peter J. Holzer ccf10d5690 Add integer arrays 2023-08-18 15:53:27 +02:00
Peter J. Holzer 6c3437a5f1 Add JSON types 2023-08-18 15:21:06 +02:00
Peter J. Holzer f187fe6dba Bump version number 2023-03-03 07:10:46 +01:00
Peter J. Holzer 4c639df91d Add some more types 2023-03-03 07:05:30 +01:00
Peter J. Holzer b64ec8b8b8 Accept additional SQL type time 2022-11-05 10:36:43 +01:00
Peter J. Holzer 4039a905ae Drop or set NOT NULL if necessary 2022-09-19 14:37:29 +02:00
Peter J. Holzer 2da6559fc2 Allow column constraints in any order 2022-09-08 12:06:14 +02:00
Peter J. Holzer 2cd66bdf50 Initialize table from SQL query 2022-08-02 14:49:07 +02:00
Peter J. Holzer faf4770c5d Update extra columns on existing rows 2022-07-18 15:58:39 +02:00
Peter J. Holzer 2665e56e6f Restrict column and index definitions to one line 2022-05-05 11:27:24 +02:00
Peter J. Holzer f71ce98af5 Add index rules 2022-05-04 15:24:00 +02:00
Peter J. Holzer 33b680c49b Accept some additional SQL types
Still far from complete ...
2022-04-19 14:59:56 +02:00
Peter J. Holzer 15e558c90b Rearrange arguments to allow multiple rule files 2022-03-10 11:53:40 +01:00
Peter J. Holzer 94dd62ffc4 Release version 0.0.2 2022-02-28 16:37:44 +01:00
Peter J. Holzer 5faff969db Fix import of parser 2022-02-28 12:47:17 +01:00
Peter J. Holzer 0f3cd9be19 Add metadata 2022-02-26 11:09:35 +01:00
Peter J. Holzer a03a1e96d3 Move entry point to __init__.py
I couldn't find a way to include scripts but pip can automatically
create them from entry-points.
2022-02-26 10:49:24 +01:00
Peter J. Holzer 6ebb397a86 Create basic package structure 2022-02-25 16:54:21 +01:00
Peter J. Holzer dfc1e8bf8b Implement MVP of DSL
I implemented the parser manually since I couldn't get pypeg2 to emit
useful error messages (I confess to be a bit proud of my multi-level
color-coded reporting).

The DSL isn't complete yet. Explicit dependencies and nested rules are
still missing, as are most column types. But it's enough to create and
populate some tables from a real-world project, so I consider it to have
reached to MVP stage.
2022-02-25 16:21:07 +01:00
Peter J. Holzer 1f5ba40027 Add some service types to demo 2022-02-25 16:19:41 +01:00
Peter J. Holzer 7a4912d8f1 Merge branch 'master' of git.hjp.at:hjp/procrusql 2022-02-03 16:37:06 +01:00
Peter J. Holzer dcd711f0e8 Dump dependencies as dot file 2022-02-03 16:36:16 +01:00
Peter J. Holzer 74a45e7190 Complete demo 2022-02-03 16:31:10 +01:00
Peter J. Holzer 7a54ab7710 Add note about data changes 2022-02-02 14:41:05 +01:00
Peter J. Holzer f17f07537e Implement PoC
The prototype can create tables and their columns and insert data,
including data from existing tables. This is sufficient for a small demo
from a real-world project.

The demo uses all of the above capabilities. It also deliberately
includes rules in arbitrary order to demonstrate dependency resolution.

We don't have a DSL yet, so all the nodes/rules/requirements (need to
decide on a catchy name) are instantiated directly in the source code
by calling their constructors. This is overly verbose but gives a first
impression on what a ruleset might look like.
2022-01-29 11:56:10 +01:00
Peter J. Holzer 95985203f6 Note some ideas 2022-01-28 12:49:22 +01:00