From d24a341def497400fe94b325b066faa1306bd521 Mon Sep 17 00:00:00 2001 From: Traines Date: Wed, 18 Dec 2024 02:02:05 +0000 Subject: [PATCH] ci, docs --- .github/workflows/build.yml | 4 ++-- docs/db-apis.md | 4 +++- readme.md | 4 +++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e7776a1..da1e16c7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,14 +33,14 @@ jobs: id: meta uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 with: - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest - name: Build and push Docker image id: push uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 with: context: . push: true - tags: latest + tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} build-pkg: diff --git a/docs/db-apis.md b/docs/db-apis.md index d97d0bda..24b342c1 100644 --- a/docs/db-apis.md +++ b/docs/db-apis.md @@ -74,10 +74,12 @@ EPs: * angebote/fahrplan (for route planning) * reiseloesung/orte * reiseloesung/orte/nearby +* reiseloesung/verbindung +* reiseloesung/fahrt Notes: * no API Key needed * uses HAFAS trip IDs * provides loadFactor * no boards (?) - +* polylines only for /verbindung and /fahrt \ No newline at end of file diff --git a/readme.md b/readme.md index c48d92d9..df3a1300 100644 --- a/readme.md +++ b/readme.md @@ -10,6 +10,7 @@ This is a very early version. What works: * `journeys()`, `refreshJourney()` including prices * `locations()`, `nearby()` * `departures()`, `arrivals()` boards +* `trip()` What doesn't work (yet, see TODO's scattered around the code): @@ -17,7 +18,8 @@ What doesn't work (yet, see TODO's scattered around the code): * `journeys()` uses different tripIds compared to departure and arrival boards... * certain stop details like products for `locations()` and geopositions and remarks for boards * some query options/filters (e.g. direction for boards) -* all other endpoints +* polylines only in `trips()` +* all other endpoints (`tripsByName()`, `radar()`, `journeysFromTrip()`, `reachableFrom()`, `remarks()`, `lines()`, `stop()`, `station()`) Feel free to report anything that you stumble upon via Issues or create a PR :)