Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Statistics

Aberta
#13 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
analytics, api

Direção de pesquisa

Comece revisando o trabalho da REST API na issue #9 e a interface XML-RPC existente, pois a issue as identifica como possíveis caminhos de integração. Considera-se concluído quando as contagens de envios de patches e respostas forem expostas por meio de uma stats API para os períodos de dia, semana, mês e ano; as estatísticas de séries estão explicitamente adiadas.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
Python
Estrelas
317
Forks
91
Métricas de merge de PRs
Nenhum PR com merge em 30d

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de getpatchwork/patchwork

Todas as issues de getpatchwork/patchwork

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.