From 31985e4e99e1e740bec5aa00c1e0c279ff5a72d1 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Tue, 23 Dec 2025 22:36:11 +0100 Subject: Add cooked coruña feed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitmodules | 6 +++++- .task/checksum/build-osm | 1 + Taskfile.yml | 6 ++---- build_coruna | 1 + build_renfe | 2 +- 5 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 .task/checksum/build-osm create mode 160000 build_coruna diff --git a/.gitmodules b/.gitmodules index df931f8..87879cd 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,7 @@ [submodule "build_renfe"] path = build_renfe - url = https://github.com/tpgalicia/gtfs-renfe-galicia.git \ No newline at end of file + url = https://github.com/tpgalicia/gtfs-renfe-galicia.git + +[submodule "build_coruna"] + path = build_coruna + url = https://github.com/tpgalicia/gtfs-coruna.git diff --git a/.task/checksum/build-osm b/.task/checksum/build-osm new file mode 100644 index 0000000..73c6074 --- /dev/null +++ b/.task/checksum/build-osm @@ -0,0 +1 @@ +c2fe2e957c8f45b635152704dcfad2c4 diff --git a/Taskfile.yml b/Taskfile.yml index 962d466..af735ca 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -18,7 +18,6 @@ tasks: download-xunta: desc: "Download Xunta de Galicia GTFS data (NAP MITRAMS)" - silent: true cmds: - "curl -H \"ApiKey: {{.NAP_API_KEY}}\" -sLo feeds/xunta.zip https://nap.transportes.gob.es/api/Fichero/download/1584" @@ -31,13 +30,12 @@ tasks: download-coruna: desc: "Download A Coruña city GTFS data (NAP MITRAMS)" - silent: true cmds: - - "curl -H \"ApiKey: {{.NAP_API_KEY}}\" -sLo feeds/coruna.zip https://nap.transportes.gob.es/api/Fichero/download/1574" + - uv --directory build_coruna run ./build_static_feed.py {{.NAP_API_KEY}} + - cp build_coruna/gtfs_coruna.zip feeds/coruna.zip download-vitrasa: desc: "Download Vitrasa GTFS data (Vigo Open Data)" - silent: true cmds: - "curl -sLo feeds/vitrasa.zip https://datos.vigo.org/data/transporte/gtfs_vigo.zip" diff --git a/build_coruna b/build_coruna new file mode 160000 index 0000000..ae9dba3 --- /dev/null +++ b/build_coruna @@ -0,0 +1 @@ +Subproject commit ae9dba3fcac00aa7f18bc5857bb15fab69b7b96d diff --git a/build_renfe b/build_renfe index df68ee9..a56b827 160000 --- a/build_renfe +++ b/build_renfe @@ -1 +1 @@ -Subproject commit df68ee9059f21fe25e19b8ed65f7da387a92461b +Subproject commit a56b8277fab46a936bd3844023fded7e1256464b -- cgit v1.3