You are not logged in.
You are right. I did not configure the KDE aliases correctly, so they effectively got counted twice. Should be fixed now. Also see https://github.com/archlinux-de/pkgstat … pp.yaml#L5
Offline
Thanks a lot for doing this! A suggestion: I think neovim would qualify as editor in the Fun section as well (it's at 21.95% at the moment).
Offline
Maybe it could be a good idea to save package pairs, triplets, quadruplets etc for statistics? It could be useful to know, how are connected packages and which packages are installed together.
Offline
Hi, I'm not sure if this is the best place to report this and it may have been caught before. pkgstats shows a 404 when I try packages whose names are a single character long.
-> curl -s 'https://pkgstats.archlinux.de/api/packages/r
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" href="/build/images/archicon.98a96cce.svg" sizes="any" type="image/svg+xml">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<title>Error: Not Found</title>
<link rel="stylesheet" href="/build/main.1fc8bffb.css">
<meta name="robots" content="noindex,nofollow"/>
</head>
<body>
<div role="alert" class="container alert alert-warning mt-5">
<div class="row">
<div class="d-none d-lg-block col-lg-2 align-self-center">
<img src="/build/images/archicon.98a96cce.svg" width="120" height="120" alt="Arch Linux">
</div>
<div class="col-lg-10">
<h1 class="alert-heading">An Error occurred</h1>
<h2>The server responded: "404 Not Found".</h2>
<p>Something went wrong. Contact us if the problem persists. We will resolve it as soon as possible.</p>
</div>
</div>
</div>
</body>
</html>
Offline
Not all packages are included, and there are only two one-letter packages in the repos. So I suspect it's just a coincidence that neither of them are included. In fact less that 1% of packages in the repos are even included. 100 are included, and there are 10392 in the 3 main repos.
Last edited by Trilby (2019-12-19 22:49:42)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thanks for the hint. I fixed the routing: https://pkgstats.archlinux.de/packages/r (For future readers: You may report issues at https://github.com/archlinux-de/pkgstat … .de/issues )
Offline
Not all packages are included, and there are only two one-letter packages in the repos. So I suspect it's just a coincidence that neither of them are included. In fact less that 1% of packages in the repos are even included. 100 are included, and there are 10392 in the 3 main repos.
What do you mean by "included"? pkgstats also tracks unofficial packages e.g. from AUR. At the moment there are about 129K different packages in the database.
Offline
Yesh, the default limit is 100. You can increase it and use pagination. If you know any use case where one would need to request more data at once, let me know.
Offline
Nope. Sorry, I misunderstood how it worked. Saky's url (for 'r') also didn't work for me, so I just did a trivial exploration by going "up" one level in the url and saw what looked like a listing of everything that'd be available. I confirmed 'r' was not on that list, then checked other packages, only to realize most packages weren't in that list.
I failed to consider the that the list returned from that url would be limited (which in hindsight was a foolish oversight by me).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Don't worry about it. I still need to announce all this, but for those who are interested in using the API, here is the documentation: https://pkgstats.archlinux.de/api/doc (it's interactive and has some examples)
Offline
Thanks for the hint. I fixed the routing: https://pkgstats.archlinux.de/packages/r (For future readers: You may report issues at https://github.com/archlinux-de/pkgstat … .de/issues )
Thanks, noted for future reference!
Offline
Done.
Now this is the kind of contribution even I can do. Kind of like giving blood.
Offline
@piperdan: Me too
Maybe the machineID would be a decent candidate for the next version?
Just my two-cents after reading through one decade.
Arch Linux Debian Testing
Offline
I would like to run a script monthly to take a look at trending packages. But I would need to download all the packages each month. Is there a better way to get the monthly popularity series for each package than doing 100k requests?
How do I know which is the first month for each package?
https://pkgstats.archlinux.de/api/packa … 5&offset=0
Last edited by linuxscoop (2022-08-10 10:14:51)
Offline