Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Check Feed Official Status

Abierto
#1,708 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
python
Área
backend

Línea de trabajo

Find the feed submission handler in the web-app where feed_info is processed and GitHub issues are created for new feed submissions. Look for where the official/unofficial classification currently happens and where feed_publisher_name, feed_publisher_url, and feed_contact_email are available. Implement the three automatic checks (domain similarity, allow list, schedule/realtime cross-reference) to run upon submission and include the result in the GitHub issue.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement
Describe the problem

In the feed submission form, contributors are given the chance to declare a feed as official or unofficial. Before we import or update the feed, we want to be able to confirm feeds either as official or unofficial.

Currently, this is done manually by:

  • examining the feed email and the publisher URL to detect likelihood that it is official
  • checking for known vendors/producers like trillium, swiftly, passio which indicate that it is official
  • reaching out directly at the feed email asking if the feed is official in cases where it is ambiguous
Proposed solution

There are several checks that can be performed to determine a signal of whether a feed is official or not:

  1. Cross reference the feed_info's feed_publisher_name, feed_publisher_url and feed_contact_email to verify domain similarity with the publisher name. In the following two examples, the domains of the feed_publisher_url and feed_contact_email both match, which indicates a likelihood of officialness.

feed_info.txt
feed_info.txt

  1. Create an allow list to automatically classify feeds as official

allow list: passio, swiftly, trillium, 511

  1. Cross reference the schedule feed with realtime feed and vice-versa. If the schedule feed being imported has an existing official realtime feed with a similar URL domain, we can strongly assume that the schedule feed is official as well. The opposite can also be assumed.

We can consider including this in the web-app as something that is executed immediately upon submission. Then the URL validity can be directly included in the Github issue that is created.

Alternatives you've considered

No response

Additional context

No response

Lenguaje dominante
Python
Estrellas
34
Forks
7
Merge medio
2 d 4 h
PR fusionados (30 d)
8

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de MobilityData/mobility-feed-api

Todos los issues de MobilityData/mobility-feed-api

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.