Hi store team,
I’d like to request a track creation `8.4` VillageSQL snap and guardrails for all VillageSQL plugins demo snap(s), so that new minor-version tracks can be created automatically:
Snap: villagesql
Snap ID: uy5AlTyp3IWm8KBwrhgjZruNbyJcy8Id
Requested track pattern: ^\d+.\d+$ (anchored - e.g. 8.4, 9.5, etc)
Snap: villagesql-hello
Snap ID: 2S4z2FU6ZjtMjCzgvrO0r5ZgMGpYp31b
Requested track pattern: ^\d+.\d+$ (anchored - e.g. 8.4, 9.5, etc)
Snap: villagesql-uuid
Snap ID: WHBdIVkXEqwpLpHLuiBZLxjvIe6iAD1E
Requested track pattern: ^\d+.\d+$ (anchored - e.g. 8.4, 9.5, etc)
Rationale:
VillageSQL upstream follows MySQL versioning, 8.0, 8.4, 9.7 ; we should represent it as a Snap.
Plugins are following Semantic versioning, so let’s keep them close.
The purpose of the snap is to demonstrate snap slots/plugs usability for DB extentions. Practice them in a wild and gathers users feedback. Usage:
sudo snap install villagesql --edge
sudo villagesql.mysql -uroot
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 10
Server version: 8.4.11-villagesql-0.0.6 VillageSQL
sudo snap install villagesql-hello --edge
sudo snap connect villagesql:extensions villagesql-hello:extensions
sudo snap restart villagesql
sudo villagesql.mysql -uroot -e "INSTALL EXTENSION vsql_hello; SELECT hello('snap');"
+---------------+
| hello('snap') |
+---------------+
| Hello, snap! |
+---------------+
sudo snap install villagesql-uuid --edge
sudo snap connect villagesql:extensions villagesql-uuid:extensions
sudo snap restart villagesql
sudo villagesql.mysql -uroot -e "INSTALL EXTENSION vsql_uuid; SELECT uuid();"
+--------------------------------------+
| uuid() |
+--------------------------------------+
| 930be792-c174-11f1-a94b-acf23c3512ab |
+--------------------------------------+
sudo villagesql.extensions list
NAME VERSION ORIGIN INSTALLED
vsql_complex 0.0.1 built-in no
vsql_simple 0.0.1 built-in no
vsql_tvector 0.0.1 built-in no
vsql_hello 1.0.0 snap:hello yes
vsql_uuid 0.0.6 snap:uuid yes