You are not logged in.

#151 2019-06-22 09:38:28

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: pkgstats round two: take your vote and help improving Arch

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

#152 2019-10-26 10:23:01

hiob
Member
Registered: 2007-12-15
Posts: 21

Re: pkgstats round two: take your vote and help improving Arch

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

#153 2019-11-04 21:02:45

gtimoshaz
Member
Registered: 2019-11-04
Posts: 1

Re: pkgstats round two: take your vote and help improving Arch

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

#154 2019-12-19 22:03:02

saky
Member
Registered: 2015-11-19
Posts: 3

Re: pkgstats round two: take your vote and help improving Arch

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

#155 2019-12-19 22:46:58

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: pkgstats round two: take your vote and help improving Arch

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

#156 2019-12-20 09:51:04

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: pkgstats round two: take your vote and help improving Arch

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

#157 2019-12-20 09:55:04

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: pkgstats round two: take your vote and help improving Arch

Trilby wrote:

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

#158 2019-12-20 12:32:43

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: pkgstats round two: take your vote and help improving Arch

There are 100 packages listed here.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#159 2019-12-20 14:45:27

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: pkgstats round two: take your vote and help improving Arch

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

#160 2019-12-20 14:50:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: pkgstats round two: take your vote and help improving Arch

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

#161 2019-12-20 15:37:26

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: pkgstats round two: take your vote and help improving Arch

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

#162 2019-12-20 17:36:12

saky
Member
Registered: 2015-11-19
Posts: 3

Re: pkgstats round two: take your vote and help improving Arch

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

#163 2020-04-03 19:25:06

piperdan
Member
From: Arizona
Registered: 2020-04-03
Posts: 23

Re: pkgstats round two: take your vote and help improving Arch

Done.
Now this is the kind of contribution even I can do. Kind of like giving blood.

Offline

#164 2021-06-04 16:38:00

MicSpabo
Member
From: Germany
Registered: 2021-06-04
Posts: 3

Re: pkgstats round two: take your vote and help improving Arch

@piperdan: Me too

Maybe the machineID would be a decent candidate for the next version?
Just my two-cents after reading through one decade. smile


Arch Linux   cool   Debian Testing

Offline

#165 2022-08-10 09:45:47

linuxscoop
Member
Registered: 2022-08-09
Posts: 26

Re: pkgstats round two: take your vote and help improving Arch

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

Board footer

Powered by FluxBB