Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
PyPI Feed Package Stats Negative
-
Hello,
I've been testing the functionality for reporting package download statistics based on feed downloads. I've noticed something strange, all versions of all packages (that have never been downloaded before) show as having either
-1
or-2
downloads, some examples below of random packages that I've never used;Other packages it gets even stranger, this example below shows
numpy
, I've never pulled any of the visible versions (which show-25
,-28
or-32
downloads) - when I view the full version list,numpy
shows varying levels of negative downloads for all 50+ versions of the package.If I dig deeper into one of these versions (the example below shows
numpy==1.26.0
which shows-32
downloads), you can see that they've never been pulled from the feed;Just wondering what the best course of action is to debug this further?
Thanks!
-
I've recreated the approved / unapproved feeds, initially the downloads for all packages is in the feed
dev-pypi
(unapproved feed that's hooked the PyPI connector) were correctly showing as 0However after promoting 1 package from
dev-pypi
toprod-pypi
all of the downloads for all packages are now showing-2
in the dev feed. The prod feed (which the package was promoted to) is just showing at one version, and correctly showing0
downloads, however everything seems to be doubled up;When I look at local packages under
prod-pypi
after promotingrequests==2.31.0
fromdev-pypi
toprod-pypi
, I can see 2 local copies of the same package promoted at the exact same time.Likewise, the dev feed
dev-pypi
is showing the same package cached twiceNot sure if this behavior is contributing to the strange negative downloads in any way.
EDIT:
It seems to have started to happen again even on the newly created feeds, I've not interacted with these feeds in anyway aside from promoting a single package from the dev feed to the prod feed - the below example of
ngrok
shows both-6
and-10
downloads.
-
Hi @itops_6398 ,
On a remote package (i.e. the ones with the radio icon), the download count is whatever is presented by the remote feed. On python packages, some have negative numbers.
Once you pull or cache (i.e. download) the package , the count will start at 0 and ProGet will keep track of the download count.
Cheers,
Alana