Skip to content

Latest commit

 

History

1,279 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SEAD Change Control System

Sensible SEAD change control system (CCS) using Sqitch. Issues for data and lookup data here.

Documentation

Start with these repository guides:

Prerequisites

Most contributors will need:

  • sqitch
  • psql
  • gh
  • PostgreSQL access suitable for staging validation
  • A working sqitch.conf

Typical sqitch.conf locations:

  • ./sqitch.conf
  • ~/.sqitch/sqitch.conf
  • $(sqitch --etc-path)/sqitch.conf

See docs/ACCESS.md for preferred local credential sources and bin/psql.sh usage.

Projects

Deployment order is defined in projects.txt:

  1. utility, sead_model, security
  2. general
  3. mal, archaeobotany, dendrochronology, adna, bugs, isotope, ceramics, radiocarbon
  4. subsystem, sead_api, facet

Choose the owning project before creating a CR. See docs/DEVELOPMENT.md for project-selection guidance.

Common Workflows

Create a change request

Use bin/add-change-request instead of hand-editing plan entries and SQL stubs.

bin/add-change-request \
  --project general \
  --change 20260528_DDL_EXAMPLE_CHANGE \
  --note "Describe the database change" \
  --create-issue

Use the naming convention YYYYMMDD_[DDL|DML]_ENTITY_DESCRIPTION.

Use DDL for function changes as well; do not introduce a separate UDF type in new CR names.

See docs/DEVELOPMENT.md for the contributor workflow.

Deploy to staging

Use bin/deploy-staging as the standard deployment entry point for staging and release validation.

./bin/deploy-staging \
  --create-database \
  --source-type empty \
  --target-db-name sead_staging_test \
  --deploy-to-tag latest

See docs/OPERATIONS.md for the workflow and bin/deploy-staging.md for full command reference.

Tag a release

bin/tag-projects --tag "@2026.05" --note "May 2026 release"

See docs/RELEASE-NOTES.md for release-facing checklist material.

Repository Notes

  • Treat deployed change requests as append-only history.
  • Prefer a new corrective CR over rewriting deployed history.
  • Route staging deployment and release validation through bin/deploy-staging.
  • Keep detailed operational steps in docs/OPERATIONS.md, not in the README.

About

Sane SEAD change control using Sqitch.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages