Skip to content

Support no input_url #659

Closed
Closed

Description

@mmathieum

Some transit agencies do not have any valid GTFS static URL at the moment.
Make sure all code checks if config/input_url file is present before trying to download it.
Missing input_url file should not fail the script.

Files to update:

- shared-opt-dir/agency-parser/download.sh:

check for the existence of the file like for input_url_next.
If no input_url -> exit script early (no need to check for input_url_next)

- shared-opt-dir/agency-parser/parse_[current|next].sh:

Java code already makes the input url arg optional, so nothing to do?
https://github.com/mtransitapps/parser/blob/master/src/main/java/org/mtransit/parser/DefaultAgencyTools.java#L164

- shared-overwrite/.github/workflows/mt-download-data.yml:

job: only run if config/input_url file is present (else skip entire job)

- shared-overwrite/.github/workflows/mt-check-data-outdated.yml:

job: only run if config/input_url file is present (else skip entire job)

Activity

  1. added theissue type on Apr 13, 2026
  2. added
    github_actions
    P2
    on Apr 13, 2026
  3. linked a pull request that will close this issueSupport missing `config/input_url` file #660on Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P2enhancementgithub_actions

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions