rustprooflabs / pgosm-flex

PgOSM Flex provides high quality OpenStreetMap datasets in PostGIS (Postgres) using the osm2pgsql Flex output.
MIT License
101 stars 20 forks source link

Restructuring DB deploy code from Sqitch to managed by Python #324

Closed rustprooflabs closed 1 year ago

rustprooflabs commented 1 year ago

Closes #318.

As much as I love Sqitch, it isn't appropriate for this use. Sqitch expects what it deploys doesn't change without it knowing. This simply isn't the case with anything deployed via PgOSM Flex. Moving to a straightforward Python approach, running logical sections of code in deploy scripts.

This will need a decent amount of testing, it's a lower level change that could have unintended consequences.

Currently available via Docker Hub tagged as dev.

docker pull rustprooflabs/pgosm-flex:dev

Functionality Testing

I expect at least some hiccup with a missing if not exists or something.

rustprooflabs commented 1 year ago

I am going to merge into dev even though testing for this change isn't complete. There's enough overlap between this and #327 that I want to focus on testing/improving both in tandem.

rustprooflabs commented 1 year ago

Being finished up in #328