forked from OneBusAway/onebusaway-gtfs-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'official/master' into openmove
- Loading branch information
Showing
296 changed files
with
14,084 additions
and
3,051 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
**Summary:** | ||
|
||
Summarize the changes in the pull request including how it relates to any issues (include the issue number, or link them). | ||
|
||
**Expected behavior:** | ||
|
||
Explain how you expect the pull request to work in your testing (in case other platforms/versions exhibit different behavior). | ||
|
||
Please make sure these boxes are checked before submitting your pull request - thanks! | ||
|
||
- [ ] Linked all relevant issues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
changelog: | ||
categories: | ||
- title: Breaking changes | ||
labels: | ||
- "Breaking change" | ||
- title: Bugfixes | ||
labels: | ||
- bug | ||
- title: Non-breaking changes | ||
labels: | ||
- "*" | ||
- title: Dependency upgrades | ||
labels: | ||
- dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Create Github release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
generate_release_notes: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,5 @@ junkyard | |
/onebusaway-gtfs-modules.iml | ||
/pom.xml.versionsBackup | ||
*.iml | ||
*.zip | ||
*.jar |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
release: | ||
git checkout master | ||
git pull | ||
mvn release:clean release:prepare release:perform -Dgoals=deploy release:clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,29 @@ | ||
# onebusaway-gtfs-modules [![CI](https://github.com/OneBusAway/onebusaway-gtfs-modules/actions/workflows/ci.yml/badge.svg)](https://github.com/OneBusAway/onebusaway-gtfs-modules/actions/workflows/ci.yml) | ||
# onebusaway-gtfs-modules | ||
|
||
[![CI](https://github.com/OneBusAway/onebusaway-gtfs-modules/actions/workflows/ci.yml/badge.svg)](https://github.com/OneBusAway/onebusaway-gtfs-modules/actions/workflows/ci.yml) | ||
[![Maven Central](https://img.shields.io/maven-central/v/org.onebusaway/onebusaway-gtfs-modules.svg)](https://mvnrepository.com/artifact/org.onebusaway/onebusaway-gtfs-modules) | ||
|
||
A Java library for reading and writing [GTFS](https://developers.google.com/transit/gtfs) feeds, including database support. | ||
|
||
See more documentation [on the wiki](https://github.com/OneBusAway/onebusaway-gtfs-modules/wiki). | ||
See more documentation in the [`docs folder`](./docs). | ||
|
||
## Maven usage | ||
|
||
In your `pom.xml`, include: | ||
|
||
~~~ | ||
<repositories> | ||
<repository> | ||
<id>public.onebusaway.org</id> | ||
<url>https://repo.camsys-apps.com/releases/</url> | ||
</repository> | ||
</repositories> | ||
~~~ | ||
|
||
... and inside `<dependencies>`: | ||
``` | ||
~~~ | ||
<dependency> | ||
<groupId>org.onebusaway</groupId> | ||
<artifactId>onebusaway-gtfs</artifactId> | ||
<version>1.3.88</version> | ||
<groupId>org.onebusaway</groupId> | ||
<artifactId>onebusaway-gtfs</artifactId> | ||
<version>${VERSION}</version> | ||
</dependency> | ||
~~~ | ||
``` | ||
|
||
...where `<version>` contains the latest version number. | ||
|
||
## Update on camsys-apps.com repo | ||
|
||
In August 2024 @leonardehrenfried took over maintainership and subsequently all artifacts are | ||
now again published to Maven Central. Adding camsys-apps.com to your Maven repo configuration is no | ||
longer necessary when you use version 1.4.18 or newer. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash +x | ||
|
||
mvn clean package --no-transfer-progress -DskipTests -Dmaven.source.skip=true -Dmaven.javadoc.skip=true | ||
|
||
EXAMPLE_1="example.gtfs.zip" | ||
EXAMPLE_2="deathvalley.gtfs.zip" | ||
|
||
# transformer-cli | ||
|
||
TRANSFORMER_JAR="transformer-cli.jar" | ||
|
||
cp onebusaway-gtfs-transformer-cli/target/onebusaway-gtfs-transformer-cli.jar ./${TRANSFORMER_JAR} | ||
wget https://github.com/google/transit/blob/master/gtfs/spec/en/examples/sample-feed-1.zip?raw=true -O ${EXAMPLE_1} | ||
|
||
java -jar ${TRANSFORMER_JAR} --help | ||
|
||
java -jar ${TRANSFORMER_JAR} --transform="{'op':'remove','match':{'file':'stops.txt','stop_id':'BEATTY_AIRPORT'}}" ${EXAMPLE_1} gtfs.transformed.zip | ||
|
||
# merge-cli | ||
|
||
MERGE_JAR="merge-cli.jar" | ||
|
||
cp onebusaway-gtfs-merge-cli/target/onebusaway-gtfs-merge-cli-*.jar ./${MERGE_JAR} | ||
wget "http://data.trilliumtransit.com/gtfs/deathvalley-demo-ca-us/deathvalley-demo-ca-us.zip" -O ${EXAMPLE_2} | ||
|
||
java -jar ${MERGE_JAR} --help | ||
|
||
java -jar ${MERGE_JAR} ${EXAMPLE_1} ${EXAMPLE_2} gtfs.merged.zip |
Oops, something went wrong.