MobilityData / gtfs-validator

Canonical GTFS Validator project for schedule (static) files.
https://gtfs-validator.mobilitydata.org/
Apache License 2.0
288 stars 101 forks source link

Remove references to old python validator in rules.html #1841

Open jcpitre opened 2 months ago

jcpitre commented 2 months ago

Describe the problem

We still have this in the generated rules.html file: image

It's time to get rid of it.

Suggest a fix or an alternative

This is set up when using the GtfsValidationNotice. e.g. for DuplicateKeyNotice we have:

@GtfsValidationNotice(
    severity = ERROR,
    sections = @SectionRefs(FILE_REQUIREMENTS),
    urls = {
      @UrlRef(
          label = "Original Python validator implementation",
          url = "https://github.com/google/transitfeed")
    })
public class DuplicateKeyNotice extends ValidationNotice { ...

We need to do a simple search and remove this UrlRef everywhere it's used.