unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 50686@debbugs.gnu.org, monnier@iro.umontreal.ca
Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA
Date: Thu, 7 Sep 2023 15:05:38 -0700	[thread overview]
Message-ID: <CADwFkm=CpozcFkd1XRn_BE56kTmt1U2JP00rcAdpXG2Dd3fhWg@mail.gmail.com> (raw)
In-Reply-To: <87h7efix4t.fsf@gnus.org>

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Stefan Kangas <stefan@marxist.se> writes:
>
>> I think we should show the number of downloads on packages on GNU ELPA
>> and NonGNU ELPA.  This information should be shown on both the package
>> page, and in the package listing.
>
> I think that's a very good idea.  There's an information disclosure
> issue, I guess, but the privacy implications should be pretty much
> non-existent.

For reference, here are some sample logs from the server that Stefan
Monnier sent me in 2021, with all IPs changed to 127.0.0.1 or ::1.

I apologize in advance if the formatting is messed up, obviously there
will be exactly one log message (starting with the IP address) per line.

127.0.0.1 - - [01/Oct/2021:00:02:27 -0400] "GET /packages/ HTTP/1.1"
200 36385 "-" "curl/7.47.0"
127.0.0.1 - - [01/Oct/2021:00:02:41 -0400] "GET
/packages/auto-overlays-0.10.8.tar.lz HTTP/1.1" 200 43410 "-"
"CCBot/3.1
(https://commoncrawl.org/faq/; info@commoncrawl.org)"
127.0.0.1 - - [01/Oct/2021:00:02:56 -0400] "GET
/packages/auto-overlays-0.10.9.tar.lz HTTP/1.1" 200 43672 "-"
"CCBot/3.1
(https://commoncrawl.org/faq/; info@commoncrawl.org)"
127.0.0.1 - - [01/Oct/2021:00:03:00 -0400] "GET /archive-contents
HTTP/1.1" 404 491 "-" "URL/Emacs Emacs/27.2 (X11;
x86_64-pc-linux-gnu)"
127.0.0.1 - - [01/Oct/2021:00:03:19 -0400] "GET /archive-contents
HTTP/1.1" 404 491 "-" "URL/Emacs Emacs/27.2 (X11;
x86_64-pc-linux-gnu)"
::1 - - [01/Oct/2021:00:04:09 -0400] "GET / HTTP/1.1" 200 4133 "-"
"check_http/v1.5 (nagios-plugins 1.5)"
::1 - - [01/Oct/2021:00:04:12 -0400] "GET /packages/archive-contents
HTTP/1.1" 200 95101 "-" "URL/Emacs Emacs/27.1
(Windows-NT; 32bit; i686-w64-mingw32)"
::1 - - [01/Oct/2021:00:04:12 -0400] "GET
/packages/archive-contents.sig HTTP/1.1" 200 738 "-" "URL/Emacs
Emacs/27.1
(Windows-NT; 32bit; i686-w64-mingw32)"
127.0.0.1 - - [01/Oct/2021:00:04:18 -0400] "GET /org-readme.txt
HTTP/1.1" 404 491 "-" "URL/Emacs Emacs/27.2 (X11;
x86_64-pc-linux-gnu)"
::1 - - [01/Oct/2021:00:04:47 -0400] "GET / HTTP/1.0" 200 4133 "-"
"check_http/v1.5 (nagios-plugins 1.5)"
127.0.0.1 - - [01/Oct/2021:00:05:02 -0400] "GET
/packages/javascript/jquery.filtertable.min.js HTTP/1.1" 404 491
"http://elpa.gnu.org/packages//svg-clock.html" "Mozilla/5.0 (Linux;
Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like
Gecko)
Chrome/94.0.4606.61 Mobile Safari/537.36 (compatible; Googlebot/2.1;
+http://www.google.com/bot.html)"
127.0.0.1 - - [01/Oct/2021:00:05:36 -0400] "GET /packages/ HTTP/1.1"
200 36385 "-" "curl/7.47.0"
127.0.0.1 - - [01/Oct/2021:00:06:00 -0400] "GET
/packages/archive-contents HTTP/1.1" 200 95101 "-" "URL/Emacs"
127.0.0.1 - - [01/Oct/2021:00:06:00 -0400] "GET /packages/seq-2.23.tar
HTTP/1.1" 200 13095 "-" "URL/Emacs"
127.0.0.1 - - [01/Oct/2021:00:06:01 -0400] "GET
/packages/let-alist-1.0.6.el HTTP/1.1" 200 2641 "-" "URL/Emacs"
127.0.0.1 - - [01/Oct/2021:00:06:37 -0400] "GET
/packages/archive-contents HTTP/1.1" 200 95064 "-" "URL/Emacs
Emacs/27.2 (Windows-NT; 32bit;
i686-w64-mingw32)"





  reply	other threads:[~2023-09-07 22:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-19 21:13 bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Stefan Kangas
2021-09-20  4:35 ` Eli Zaretskii
2021-09-20  5:54   ` Stefan Kangas
2021-09-20  6:22 ` Lars Ingebrigtsen
2023-09-07 22:05   ` Stefan Kangas [this message]
2023-09-08  8:30     ` Adam Porter
2024-03-05 23:58       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-06  0:22         ` Adam Porter
2024-03-06  2:57           ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-06  5:04             ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-08 23:20               ` Adam Porter
2024-03-09 14:37                 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-11 20:07                   ` Adam Porter
2024-03-11 20:28                     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-11 20:55                       ` Adam Porter
2024-03-11 22:13                         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-01 19:58 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-02 13:39   ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkm=CpozcFkd1XRn_BE56kTmt1U2JP00rcAdpXG2Dd3fhWg@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=50686@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).