Skip to content

Commit

Permalink
chore!: version 4 💥💚📝, minor tweaks 📝
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Jul 4, 2024
1 parent 7e51b88 commit 720a692
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
with:
push: true
tags: |
ghcr.io/${{ github.repository }}:v3
ghcr.io/${{ github.repository }}:v4
ghcr.io/${{ github.repository }}:${{ steps.docker-tags.outputs.permanent-tag }}
labels: ${{ steps.docker-metadata.outputs.labels }}
platforms: linux/amd64
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PostGIS GTFS importer

This tool **imports [GTFS Schedule](https://gtfs.org/schedule/) data into a [PostGIS](https://postgis.net) database using [`gtfs-via-postgres`](https://github.com/public-transport/gtfs-via-postgres)**. It allows running a production service (e.g. API) on top of programmatically re-imported data from a periodically changing GTFS feed without downtime.
This tool **imports [GTFS Schedule](https://gtfs.org/schedule/) data into a [PostGIS](https://postgis.net) database using [`gtfs-via-postgres`](https://github.com/public-transport/gtfs-via-postgres)**. It allows running a production service (e.g. an API) on top of programmatically re-imported data from a periodically changing GTFS feed without downtime.

Because it works as [atomically](https://en.wikipedia.org/wiki/Atomicity_(database_systems)) as possible with PostgreSQL, it makes the import pipeline *robust*, even if an import fails or if simultaneous imports get started.

Expand Down Expand Up @@ -31,7 +31,7 @@ docker run --rm -it \
-v $PWD/gtfs-tmp:/tmp/gtfs \
-e 'GTFS_DOWNLOAD_USER_AGENT=…' \
-e 'GTFS_DOWNLOAD_URL=…' \
ghcr.io/mobidata-bw/postgis-gtfs-importer:v3
ghcr.io/mobidata-bw/postgis-gtfs-importer:v4
```

*Note:* We mount a `gtfs-tmp` directory to prevent it from re-downloading the GTFS dataset every time, even when it hasn't changed.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "postgis-gtfs-importer",
"version": "3",
"version": "4",
"type": "module",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit 720a692

Please sign in to comment.