public-transport / transitous

Free and open public transport routing.
https://transitous.org
193 stars 54 forks source link

Include rt sources in credits list #524

Closed traines-source closed 1 month ago

traines-source commented 1 month ago

I think we should also include the sources/licenses of the (GTFS-)RT feeds, since occasionally the license differs from the static feed (e.g. for Germany).

Surely one could come up with something more sophisticated that only displays this information if it is different from the static feed; I opted to just add a sentence below the Original file and Processed file buttons of the respective static feed. But I'm open for suggestions :)

(Also, this lead to some refactoring, which is why the diff is so large...)

jbruechert commented 1 month ago

Thanks, makes sense!

Please commit the updated license.json file in the website subdirectory so the website can be built locally without actually downloading all the feeds. On the ci the file will be overwritten with current data.

traines-source commented 1 month ago

Ahem I don't want to download all the feeds either :) But I added some example RT references to the existing license.json, which is backwards compatible anyways.

(For testing without having the feeds, I commented out lines 88 to 97 from generate-attribution.py).