Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Statistics

Aperta
#13 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
analytics, api

Direzione di ricerca

Inizia esaminando il lavoro sulla REST API nell’issue #9 e l’interfaccia XML-RPC esistente, poiché l’issue li identifica come possibili percorsi di integrazione. Il lavoro è considerato completato quando il numero di invii di patch e di risposte viene esposto tramite una stats API per i periodi di giorno, settimana, mese e anno; le statistiche delle serie sono esplicitamente rimandate.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Python
Stelle
317
Fork
91
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di getpatchwork/patchwork

Tutte le issue di getpatchwork/patchwork

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.