From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Date: Thu, 7 Sep 2023 15:05:38 -0700 Message-ID: References: <87h7efix4t.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26349"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50686@debbugs.gnu.org, monnier@iro.umontreal.ca To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 08 00:06:19 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qeN8k-0006e1-Vi for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Sep 2023 00:06:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeN8Z-00032e-Ei; Thu, 07 Sep 2023 18:06:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeN8T-00030Y-5s for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 18:06:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeN8S-0000nv-TF for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 18:06:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qeN8U-0006GN-FX for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 18:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Sep 2023 22:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50686 X-GNU-PR-Package: emacs Original-Received: via spool by 50686-submit@debbugs.gnu.org id=B50686.169412435324056 (code B ref 50686); Thu, 07 Sep 2023 22:06:02 +0000 Original-Received: (at 50686) by debbugs.gnu.org; 7 Sep 2023 22:05:53 +0000 Original-Received: from localhost ([127.0.0.1]:41542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeN8K-0006Fu-Q1 for submit@debbugs.gnu.org; Thu, 07 Sep 2023 18:05:53 -0400 Original-Received: from mail-lf1-f53.google.com ([209.85.167.53]:59791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeN8F-0006FP-5q for 50686@debbugs.gnu.org; Thu, 07 Sep 2023 18:05:50 -0400 Original-Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-500b66f8b27so2479945e87.3 for <50686@debbugs.gnu.org>; Thu, 07 Sep 2023 15:05:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694124339; x=1694729139; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TuCQukD3A1GZCFErNEi0E09tJITwFH6MhdwoG+Yvbj4=; b=Pwq7+UIbYm4ArLLLFDpPp+o4c+lNUcUH3nj4xVx7s9pbvKkZQT7qGsTEnFIDQeLW1X q6gJ9JL+yYgViutGc8Lgw95LZ1HJHaUvoiz2vHC165b7nQvpcI2uGBnunKA/H+aGvMS8 Qm+1eRxL9nuocSMDZulv3fdq0WbWsHVqNfsbXImPIrseEKWeuF0mmbwdHjEg9rDFNuM5 +Ol8NiTceQdAYUpYIADo1L2vA5OqWj4UYmxPAN2JfOmucrRJ6eg+zKmyECbemrqBn3kg LualddrMVqeNwgB1Nny+xdnxnD5YBw2ls2ud4/eqQah8zNMAUD+/Gk4JfNUAubQBa+mF NBAg== X-Gm-Message-State: AOJu0YzHnVeVCZETFma7eHFRGUQVXJj6zkG3jzraW8LrTIT2sMCPd6p9 RSdYACbLgvv4SoLyC6B0zN7VkyxQx7yR42mjOwo= X-Google-Smtp-Source: AGHT+IFe6+AHOHa+wGMC8VOkQUEfmHiJk7BzNZA7Vx2p8P34E1caiwOAarkla65R2PyDso2sP1rfQpgNw0CCsi2EmbY= X-Received: by 2002:a05:6512:3f12:b0:4e0:a426:6ddc with SMTP id y18-20020a0565123f1200b004e0a4266ddcmr514920lfa.0.1694124339019; Thu, 07 Sep 2023 15:05:39 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 7 Sep 2023 15:05:38 -0700 In-Reply-To: <87h7efix4t.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269702 Archived-At: Lars Ingebrigtsen writes: > Stefan Kangas 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)"