mirror of
https://github.com/opentripplanner/OpenTripPlanner.git
synced 2025-11-08 13:22:47 +01:00
| .. | ||
| images | ||
| changelog-diff.py | ||
| custom-release.py | ||
| CUSTOM_RELEASE_README.md | ||
| otp | ||
| otp-ui | ||
| Readme.md | ||
| run-and-test-otp | ||
| test.py | ||
Scripts
This folder is intended for various scripts used during the OTP development. They are provided "as is" and the "owner" may do whatever she/he likes with it.
If you want to submit your own scripts, you need to include:
- A header at the beginning of the script stating who the owner is.
- The script should print some usage documentation if invoked with
--helpand-h.
The regular pull-request approval process is required for submitting new scripts and changing existing one. The reviewers are responsible for:
- Is this script relevant for OTP and at least one active member of the OTP community?
- Is the script harmful?
- Does the script have sufficient documentation?
- Owner section
- Print help with
-hand--help
Example
# Owner: J. Brown, Fun & Fast Transit Inc
if [ "$1" == "-h" ] || [ "$1" == "--help" ]; then
echo "The purpose of the script is .."
echo "Usage: ..."
echo "Parameters: "
:
fi