Repository does not get deployed automatically
Opened this issue · 6 comments
Three hours ago, @ialokim pushed a new GTFS of Estelí to this repository. Later I build scripts to automatically update navitia.mapanica.net but we realized that the GTFS from mapanica.net was outdated.
@xamanu How often does the MapaNica server gets updated?
As a temporary workaround I am now pulling directly from GitHub, but for api.navitia.io we should really fix this.
How often does the MapaNica server gets updated?
Haha, every time I ssh into the server and execute git pull
😉
Send me your public ssh keys per email and I add you to the authorized_keys.
Of course feel free to add any cronjob or similar there.
In case you know about Docker setups, the best way would be to run periodic pulls with the setup https://github.com/mapanica/server this would allow us to keep all server config in described configuration
Someone has been working on this feature? I've updated all of the tree GTFS files to be valid until 2023 (they would have expired within the next two months), but for the inclusion in Navitia, they have to be published under datos.mapanica.net.
@ialokim No, so far not. But I just pushed the newest version and also updated the dates manually, which should be done in this repo:
diff --git a/index.html b/index.html
index 4bd2a6a..432e014 100644
--- a/index.html
+++ b/index.html
@@ -178,7 +178,7 @@
<td>Managua y Ciudad Sandino (Urbanos)<br /><small>Extraído de OpenStreetMap.org</small></td>
<td>
<ul>
- <li>[<a class="download-gtfs" href="/ni-managua-gtfs.zip">GTFS</a>] (15/12/2017)</li>
+ <li>[<a class="download-gtfs" href="/ni-managua-gtfs.zip">GTFS</a>] (06/01/2019)</li>
<li>[<a class="download-overpass" target="_blank" href="http://overpass-turbo.eu/s/dI4">Overpass API</a>]</li>
<li>[<a class="download-geojson" href="/mapanica-managua-tuc-2016-01-27.geojson.zip">GeoJSON</a>] (27/01/2016)</li>
<li>[<a class="download-shape" href="/mapanica-managua-tuc-2016-01-27.shp.zip">SHP</a>] (27/01/2016)</li>
@@ -189,7 +189,7 @@
<td>Estelí (Urbanos)<br /><small>Extraído de OpenStreetMap.org</small></td>
<td>
<ul>
- <li>[<a class="download-gtfs" href="/ni-esteli-gtfs.zip">GTFS</a>] (09/02/2010)</li>
+ <li>[<a class="download-gtfs" href="/ni-esteli-gtfs.zip">GTFS</a>] (06/01/2019)</li>
</ul>
</td>
</tr>
@@ -197,7 +197,7 @@
<td>Nicaragua (rutas nacionales)<br /><small>Extraído de OpenStreetMap.org</small></td>
<td>
<ul>
- <li>[<a class="download-gtfs" href="/ni-gtfs.zip">GTFS</a>] (16/02/2018)</li>
+ <li>[<a class="download-gtfs" href="/ni-gtfs.zip">GTFS</a>] (06/01/2019)</li>
</ul>
</td>
</tr>
just pushed
Cool, many thanks!
updated the dates manually
Actually, I did not recreate the GTFS files using osm2gtfs
, but I have just changed the end_dates
manually inside the zip files (I was a bit scared of some changes at the OSM side which could lead to less routes added properly to the GTFS). So I would leave the dates on the website as they were before, because there was no real update to the data.