Skip to content

Commit

Permalink
Merge pull request #21 from coumbsek/master
Browse files Browse the repository at this point in the history
Ajout de plusieurs Communauté d'Agglomération et Métropoles de PACA
  • Loading branch information
laem authored Oct 16, 2024
2 parents fc5435c + 40aa10f commit d7baf46
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ const input = await yamlLoader.parseFile('./input.yaml')
const { datasets: allDatasets } = input

const onlyMeOverrides = allDatasets.filter((dataset) => dataset.onlyMe)
const datasets = onlyMeOverrides.length
? onlyMeOverrides
: allDatasets.filter((dataset) => !dataset.ignore)
const datasets = (
onlyMeOverrides.length ? onlyMeOverrides : allDatasets
).filter((dataset) => !dataset.ignore)

const afterFileDownload = async (resource, filename) => {
log(`Downloaded file ${resource.title}`)
Expand Down
25 changes: 25 additions & 0 deletions input.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ datasets:
prefix: fr-pdl
prefixServiceIds: true
# Provence-Alpes-Côte d'Azur
- slug: lignes-des-reseaux-transport-zou-provence-alpes-cote-d-azur-proximite-3-3
prefix: fr-pac-proximite
ignore: Triggers an error in Motis with Nigiri, to be investigated
- slug: lignes-des-reseaux-transport-zou-provence-alpes-cote-d-azur-express-3-3
prefix: fr-pac-express
ignore: Triggers an error in Motis with Nigiri, to be investigated
- slug: lignes-des-reseaux-transport-zou-provence-alpes-cote-d-azur-scolaire-1-3
prefix: fr-pac-scolaire
ignore: Triggers an error in Motis with Nigiri, to be investigated

# DATASETS DE COMMUNES / AGGLOMÉRATIONS
# Blois (réseau Azalys)
Expand Down Expand Up @@ -79,6 +88,22 @@ datasets:
# Métropole Toulouse
- slug: tisseo-offre-de-transport-gtfs
prefix: fr-toulouse
# Communauté d'Agglomération Sophia Antipolis (réseau Envibus)
- slug: arrets-horaires-et-parcours-theoriques-des-bus-du-reseau-des-transports-publics-envibus
prefix: fr-casa
# Communauté d'Agglomération Cannes Pays de Lérins (réseau Palm Bus)
- slug: horaires-theoriques-et-temps-reel-gtfs-gtfs-rt-du-reseau-palmbus-cannes-pays-de-lerins
prefix: fr-cannes
# Dracénie Provence-Verdon (réseau TEB Bus)
- slug: tedbus-horaires-des-lignes-reseau
prefix: fr-dracenie-provence-verdon
ignore: See the conversation started, one GTFS-RT resource is wrongly labelled as GTFS, we're not supposed to handle such obvious errors
# Riviera Française (réseau Keolis Menton Riviera)
- slug: horaires-reseau-zest
prefix: fr-riviera-française
# Métropole Nice Côte d'Azur (réseau Ligne d'Azur)
- slug: export-quotidien-au-format-gtfs-du-reseau-de-transport-lignes-d-azur
prefix: fr-nice
# Métropole Européenne de Lille
- slug: localisation-des-arrets-ilevia-bus-metro-et-tram-gtfs-pictogrammes-du-reseau-ilevia-2
prefix: fr-lille
Expand Down

0 comments on commit d7baf46

Please sign in to comment.