Total download counts for a module are different than the version history download counts

Aberta
#350 7 comentários 8 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
48/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
powershell
Domínio
backend, databases

Direção de pesquisa

The issue provides two examples where a module’s total downloads differ from the sum of its version history counts, and points to issue #347 for related version history work. Start by tracing how the gallery calculates and displays the module total and version history counts, then compare the sources used for each. Done means the total matches the summed version counts for the reported modules; the issue names no files or tests to start from.

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

Descrição

Prerequisites
  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.
Steps to reproduce

I work on a module called ScubaGear which is published on PSGallery and the "total downloads" count shown on the left side of the page is incorrect.

Image

It's currently showing the total as 162,956 (and has been stuck at that number for a couple weeks since 6/29) but it should be 163,350. I cross referenced from another repository just to sanity check and seems this applies to other PSGallery modules as well. For example, NuGet is showing the total as 10,896,299 but it when adding up the version history download counts it should be 11,058,916.

We've been tracking https://github.com/PowerShell/PowerShellGallery/issues/347 as a similar issue, but that issue is for the version history download counts and seems to be resolved.

Expected behavior

I expect the total download count to match what's shown in the version history.

Actual behavior

There's a disconnect between the total and the version history download counts.

Linguagem predominante
PowerShell
Estrelas
289
Forks
83
Merge médio
1min
PRs com merge (30d)
1

Preparar o ambiente

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 PowerShell/PowerShellGallery

Todas as issues de PowerShell/PowerShellGallery

Issues semelhantes

Mais issues de Backend & API Design

Receba novas issues na sua caixa de entrada

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