You are not logged in.

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

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,961
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: 20

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="https://pkgstats.archlinux.de/build/images/archicon.98a96cce.svg" sizes="any" type="image/svg+xml">
    <link rel="icon" href="https://pkgstats.archlinux.de/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="https://pkgstats.archlinux.de/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: 23,443
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,961
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,961
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: 23,443
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,961
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: 23,443
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,961
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: 17

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

Board footer

Powered by FluxBB