Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ The repository is a Go workspace of four modules. Tasks run through

```sh
mise run check # build, vet, format, fix, tidy, unit tier, lint, sqlint, lint-context, lint-references; writes nothing
mise run currency # report requirements, Go, tools, actions, images, and Dockerfile source ARGs behind their latest
mise run upgrade # upgrade every module's go directive and requirements, and the tools, to their latest
mise run currency # report tools, Go, requirements, actions, images, and Dockerfile source ARGs behind their latest, except a held one; writes nothing
mise run upgrade # move every pin currency reports to its latest, except a held one: tools, then Go and requirements, actions, images, and Dockerfile source ARGs
mise run db:up # build and start the compose PostgreSQL and wait until it is healthy
mise run db:down # stop PostgreSQL, keeping its data
mise run db:reset # stop PostgreSQL and drop its data
Expand All @@ -144,8 +144,10 @@ image pin and which carries its configuration and health check. The Dockerfile b
from source at `ARG PGVECTOR_VERSION`, the extension's one version pin
([the image](docs/features.md#an-image-with-pgvector)). `mise run currency` reports either pin
when it trails its latest: it compares the `FROM` tag with the image's tags, and the `ARG` with
the highest semver tag of the GitHub repository that the `ADD` line fetches. `mise.toml` sets
`SQLATE_DSN`, whose port follows `POSTGRES_PORT`.
the highest semver tag of the GitHub repository that the `ADD` line fetches; `mise run upgrade`
moves it. A pin named in `mise.toml`'s `HOLDS` list, one `<item> <pin>: <reason>` line each, is
reported as held and never moved. `mise.toml` sets `SQLATE_DSN`, whose port follows
`POSTGRES_PORT`.

The integration tier covers two modules, `postgres` and `postgres/pgvector`, each behind the
`integration` build tag. `mise run integration` runs both against the running PostgreSQL, and
Expand Down
1 change: 1 addition & 0 deletions STANDARDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The judgement calls the standards-reviewer applies to sqlate, beyond what `mise
- `architecture/standards/go-elemental/principles/topology-and-naming.md`: the base module and the `postgres`, `postgres/pgvector`, and `sqlint` sub-modules, and their tags.
- `architecture/standards/go-elemental/principles/release-and-ci.md`: the check, currency, and a changelog per module.
- `architecture/standards/go-elemental/principles/dsl-driven-services.md`: `query`, `header`, and every authored `.sql` file, the library's patterns included.
- `architecture/standards/go-elemental/principles/database-extensions.md`: `migrate`'s extension declarations, `postgres`'s extension statements, the `postgres/pgvector` sub-module, and the compose Dockerfile.
- `architecture/standards/go-elemental/principles/baseline-standards.md`: `query`'s guards and projections, which take every name and bound from their caller.
- `architecture/standards/go-elemental/principles/utc-times.md`: `query.Scanner` and `query.Scalar`, which return every time in UTC, a cursor's keyed time, and the `postgres` dialect's `timestamp with time zone` history.
- `architecture/standards/go-elemental/principles/construction-and-execution.md`: `DB.Begin`, `DB.Transact`, and `Transact` take their transaction's configuration as a trailing `*sql.TxOptions` whose nil keeps a default transaction, and a new runner that takes configuration does the same.
Expand Down
Loading