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

Ouverte
#350 7 commentaires 8 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
48/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
powershell
Domaine
backend, databases

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
PowerShell
Étoiles
289
Forks
83
Merge moyen
1 min
PR mergées (30 j)
1

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de PowerShell/PowerShellGallery

Toutes les issues de PowerShell/PowerShellGallery

Issues similaires

Plus d'issues Backend & API Design

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.