From 99221f66369dab35b036e86108078bf579ef56e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Simard?= Date: Wed, 14 Feb 2024 08:45:32 -0500 Subject: [PATCH 1/2] Fix: replaced Gitrunners with GitHub's own servers (#1673) --- .github/workflows/end_to_end.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/end_to_end.yml b/.github/workflows/end_to_end.yml index ab676a10ee..f3f139df61 100644 --- a/.github/workflows/end_to_end.yml +++ b/.github/workflows/end_to_end.yml @@ -88,7 +88,7 @@ jobs: needs: [ fetch-urls, pack-snapshot ] # We use machines with more memory to run validation, as large feeds # can consume too much heap for default machine instances (see #1304). - runs-on: gitrunners-ubuntu-2204-x64-4vcpu + runs-on: ubuntu-latest-4-cores strategy: matrix: ${{ fromJson(needs.fetch-urls.outputs.matrix) }} steps: From 69b948e7f96ce78ea45e0932a1736520c7387334 Mon Sep 17 00:00:00 2001 From: Jingsi Lu <5789435+qcdyx@users.noreply.github.com> Date: Wed, 14 Feb 2024 09:47:18 -0500 Subject: [PATCH 2/2] fix: reformatted doc using HTML table format (#1669) * reformatted doc using HTML table format * formatted code --- .../validator/RouteNameValidator.java | 53 +++++++++++++------ 1 file changed, 37 insertions(+), 16 deletions(-) diff --git a/main/src/main/java/org/mobilitydata/gtfsvalidator/validator/RouteNameValidator.java b/main/src/main/java/org/mobilitydata/gtfsvalidator/validator/RouteNameValidator.java index 5229b9edb9..f86d7c8edd 100644 --- a/main/src/main/java/org/mobilitydata/gtfsvalidator/validator/RouteNameValidator.java +++ b/main/src/main/java/org/mobilitydata/gtfsvalidator/validator/RouteNameValidator.java @@ -119,24 +119,45 @@ static class RouteBothShortAndLongNameMissingNotice extends ValidationNotice { * *

Good examples: * - *

-   * | `route_short_name`/`route_long_name`                                                                | Dataset                                                                                                                                                                |
-   * | ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-   * | ["N"/"Judah"](https://www.sfmta.com/getting-around/transit/routes-stops/n-judah)                | [Muni San Fransisco](https://storage.googleapis.com/storage/v1/b/mdb-latest/o/us-california-san-francisco-municipal-transportation-agency-sfmta-gtfs-50.zip?alt=media) |
-   * | ["6"/"ML King Jr Blvd"](https://trimet.org/schedules/r006.htm)                                  | [Trimet Portland Streetcar](http://developer.trimet.org/schedule/gtfs.zip)                                                                                             |
-   * | ["55"/"Boulevard Saint Laurent"](https://www.stm.info/en/info/networks/bus/local/line-55-north) | [STM Montreal](https://storage.googleapis.com/storage/v1/b/mdb-latest/o/ca-quebec-societe-de-transport-de-montreal-gtfs-1221.zip?alt=media)                            |
-   * | ["1"/"Rangiora/Cashmere"](https://www.metroinfo.co.nz/timetables/1-rangiora-cashmere/)          | [Metro Christchurch](https://storage.googleapis.com/storage/v1/b/mdb-latest/o/nz-christchurch-christchurch-metro-gtfs-1313.zip?alt=media)                              |
-   * 
+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
route_short_name/route_long_nameDataset
"N"/"Judah"Muni San Fransisco
"6"/"ML King Jr Blvd"Trimet Portland Streetcar
"55"/"Boulevard Saint Laurent"STM Montreal
"1"/"Rangiora/Cashmere"Metro Christchurch
* - * Bad examples: + *

Bad examples: * - *

-   * | `route_short_name`/`route_long_name` |
-   * |-------------------------------------------|
-   * | "604"/"604"                               |
-   * | "14"/"Route 14"                           |
-   * | "2"/"Route 2: Bellows Falls In-Town"      |
-   * 
+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
route_short_name/route_long_name
"604"/"604"
"14"/"Route 14"
"2"/"Route 2: Bellows Falls In-Town"
*/ @GtfsValidationNotice( severity = WARNING,