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

Get eiffel JSON schemas from github instead

Abierto
#29 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
github, python
Área
api, backend

Línea de trabajo

Comienza localizando dónde la biblioteca carga los esquemas JSON locales de Eiffel y valida los eventos; después, inspecciona cómo se seleccionan las versiones de los eventos durante la suscripción. Compara ese flujo con los esquemas oficiales del repositorio de Eiffel y define cómo deben funcionar la recuperación HTTP y el almacenamiento en caché; se considerará terminado cuando se puedan aceptar actualizaciones menores de esquema compatibles sin publicar una nueva versión de la biblioteca.

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

Descripción

Description

Instead of hosting our own versions of the JSON schemas we should use the official schemas hosted on the eiffel repository.

Motivation

If a new version of an event is released and being sent, the eiffellib will not allow subscribers to that event.

Exemplification

The ArtifactCreated event gets updated from 4.0.0 to 4.0.1, a very minor release. A new version of the schema get published.
A publisher of that event starts publishing the 4.0.1 event, but the subscribers to that event do not update their eiffellib. This will mean that eiffellib will reject those events as there is no way to validate them.
In this case it was a very minor update and the subscribers would not be affected by the change, so it is quite annoying that eiffellib rejected it.

Benefits

Easier for subscribers of events to continue subscribing to that event, especially when there are only minor updates to the schemas.

Possible Drawbacks

Having to do HTTP requests, but the benefits of not having to update the entire chain on an eiffel specification update outweighs that completely.
Can be mitigated by having a cache in the library.

Lenguaje dominante
Python
Estrellas
8
Forks
12
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

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 eiffel-community/eiffel-pythonlib

Todos los issues de eiffel-community/eiffel-pythonlib

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.