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

Statistics

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

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python
Área
analytics, api

Línea de trabajo

Comienza revisando el trabajo de REST API en el issue #9 y la interfaz XML-RPC existente, ya que el issue los identifica como posibles vías de integración. Se considera completado cuando se expongan los recuentos de envíos de parches y respuestas mediante una stats API para los periodos de día, semana, mes y año; las estadísticas de series quedan explícitamente aplazadas.

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

Descripción

enhancement

From @stephenfin on June 29, 2015 21:15

Overview

Add support for a 'stats' API, which will give access to various projects statistics. We require at least the following:

  • Number of submitted patches over given time period (day, week, month, year)
  • Number of replies to patches over same periods

Ideally we should also be able to do this for series, but this relies on the work being undertaken by @dlespiau so it will need to wait.

Dependencies

This feature may depend on the integration of a REST API, else the XML-RPC interface can be used (though this has downsides).

Additional Work Items

We will need to add support for additional statistics as they become available (i.e. series). We may also wish to add some graphs to make these visualize these statistics for user.

Alternatives

There is no alternative to this in patchwork itself. If you have access to the database, you could theoretically write your own queries but they won't be public. The best alternative is through the use of Mailman. Mailman 3.0 comes with a REST API that we can parse much of the information from. However, in most mailing lists patches are mixed with other development questions so the statistics that Mailman would return will need some work. A distinct patchwork API would complement the Mailman API quite nicely.

Useful resources

Copied from original issue: stephenfin/patchwork#20

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

Guía de contribución

Abrir la 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 getpatchwork/patchwork

Todos los issues de getpatchwork/patchwork

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.