From unknown Fri Sep 19 21:46:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: monnier@iro.umontreal.ca, bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Sep 2021 21:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 50686@debbugs.gnu.org Cc: monnier@iro.umontreal.ca X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: monnier@iro.umontreal.ca Received: via spool by submit@debbugs.gnu.org id=B.163208599530872 (code B ref -1); Sun, 19 Sep 2021 21:14:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Sep 2021 21:13:15 +0000 Received: from localhost ([127.0.0.1]:40135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mS47f-00081s-K4 for submit@debbugs.gnu.org; Sun, 19 Sep 2021 17:13:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:52200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mS47c-00081i-HO for submit@debbugs.gnu.org; Sun, 19 Sep 2021 17:13:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55248) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mS47c-0005f9-CY for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 17:13:12 -0400 Received: from mail-pg1-f172.google.com ([209.85.215.172]:47066) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mS47a-0003Rr-Pn for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 17:13:12 -0400 Received: by mail-pg1-f172.google.com with SMTP id m21so6143881pgu.13 for ; Sun, 19 Sep 2021 14:13:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=N8wpvDaydYg55El53B0y5siIX2nlpXftoK7aiR5m57E=; b=CEUHesgg4Dp3NC67P05xacVwb57l7AyaNETBodpnD3koGMGcD6uFYkl0R8qBvTgINE lCknBt2D3aBWokngSRtIZ/XVwhEb6mOhXfrOC0nk5PrAlW+hbpYvtcbo3cSDQkVJLKog zFgyyccbjZT2WjBQkSBZd/8sBATVCLB5SGyqY47ZbVEbv14yRcdhWaWOGtmT8lvd6iyg YJS5WgGY9euZfr/Se2b/ado0WHR8VVfkMyT34ytvclJz0qb+hwTrP72ncwpLI41fOZan ZLIsrEifYnwg0cJaSaPlYWyvcs8teJkVDpuD1JV+6J92uM+QW9qrmpIcDpOgCrJcje8i JnnQ== X-Gm-Message-State: AOAM532sMyTyMO0B3iByIq47h7PO73NvxQdLiobS+pibjhbCTlyc6jkr H58p1xZ9C6a6EPKvLh/pw5CGDecbIbHK4LHohu9o/6K1 X-Google-Smtp-Source: ABdhPJyfJXU9pxLceOhWSDWPFdK30Yjw/u209jwKt9IIEFSE+OUgTCro0r6irETGhpBoUxABo6bPo3opTYGIXzmwgus= X-Received: by 2002:a05:6a00:1586:b0:447:b30c:4a65 with SMTP id u6-20020a056a00158600b00447b30c4a65mr2826284pfk.0.1632085989088; Sun, 19 Sep 2021 14:13:09 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 19 Sep 2021 14:13:08 -0700 From: Stefan Kangas MIME-Version: 1.0 Date: Sun, 19 Sep 2021 14:13:08 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=209.85.215.172; envelope-from=stefankangas@gmail.com; helo=mail-pg1-f172.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Severity: wishlist 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. Sorting by downloads is a good way of getting a quick sense of which packages are worth looking into, as they have many users. MELPA already has this feature. Here is the script they use to extract the data from their webserver: https://github.com/melpa/melpa/blob/master/docker/logprocessor/process_log.py Maybe we could just "borrow" that script from them to get the data. They use an sqlite3 database to save the information over time, which seems to me like a reasonable approach. From unknown Fri Sep 19 21:46:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Sep 2021 04:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 50686@debbugs.gnu.org, monnier@iro.umontreal.ca Received: via spool by 50686-submit@debbugs.gnu.org id=B50686.163211253823880 (code B ref 50686); Mon, 20 Sep 2021 04:36:01 +0000 Received: (at 50686) by debbugs.gnu.org; 20 Sep 2021 04:35:38 +0000 Received: from localhost ([127.0.0.1]:40474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSB1m-0006D6-Dy for submit@debbugs.gnu.org; Mon, 20 Sep 2021 00:35:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSB1k-0006Cs-8s for 50686@debbugs.gnu.org; Mon, 20 Sep 2021 00:35:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46256) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSB1f-0006Ph-20; Mon, 20 Sep 2021 00:35:31 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4268 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSB1M-0002IH-40; Mon, 20 Sep 2021 00:35:16 -0400 Date: Mon, 20 Sep 2021 07:35:05 +0300 Message-Id: <83h7ef3lvq.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Kangas on Sun, 19 Sep 2021 14:13:08 -0700) References: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Sun, 19 Sep 2021 14:13:08 -0700 > Cc: monnier@iro.umontreal.ca > > 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. > > Sorting by downloads is a good way of getting a quick sense of which > packages are worth looking into, as they have many users. I hope you mean sorting by downloads as an optional sorting order? Because having it by default is IMO an annoyance: t makes it hard to find a package. From unknown Fri Sep 19 21:46:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Sep 2021 05:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 50686@debbugs.gnu.org, monnier@iro.umontreal.ca Received: via spool by 50686-submit@debbugs.gnu.org id=B50686.16321172688709 (code B ref 50686); Mon, 20 Sep 2021 05:55:01 +0000 Received: (at 50686) by debbugs.gnu.org; 20 Sep 2021 05:54:28 +0000 Received: from localhost ([127.0.0.1]:40672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSCG4-0002GP-AR for submit@debbugs.gnu.org; Mon, 20 Sep 2021 01:54:28 -0400 Received: from mail-pg1-f171.google.com ([209.85.215.171]:43824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSCG1-0002GD-Iw for 50686@debbugs.gnu.org; Mon, 20 Sep 2021 01:54:26 -0400 Received: by mail-pg1-f171.google.com with SMTP id r2so16218301pgl.10 for <50686@debbugs.gnu.org>; Sun, 19 Sep 2021 22:54:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=XVFrtbNsI/SmIcW5z8bUXMmGS8FCYP64VfHDhweoGN8=; b=anXiXquPOvTjkXoFpQCCclFgTOvkH56qp7niAugc19PXfk2unWZ3seM7b/uVAhsLxS KCHySpgfe5KGyzYM8BkV74HjBqcBIiJeg6bQtNNiFkoP/aLUzzdtr9hIVxof7Hjba/fV xUSl12ho8zj3EET27tBSbtQM7YIC76b1luROkN9gSyS9BxtzmUxhpX297DmxBkJgKShM YAdfSNqTmGihDw/+5ajiACVoPLDrV+fCkOlT+P0DoTMjPKDPOAe3xKsUmiitMi/zZAbq 1GINUYbSFBrv60tkMmRYrY0+C2bWj2+zmuhlOcjh5CbfFt/6PR/SxT9eqyJ3VI0tDb1V 7M6w== X-Gm-Message-State: AOAM530VfvK9qqtuJ9ncEF61MvKt+C/7FIOjqVxXXsOc29Pu9krgiitx 0+pLRJd+zet81OYlNEpho28fNc4wgIyr5khSmc0dfZH9 X-Google-Smtp-Source: ABdhPJz7HLlAlYFmdvaSMxOhxk+tQtd53mETqKwBZZ8AJQ3bJNb1i4vk0mOJTNlBhT16TSQ+68XijIWr0/+TtkWj0BQ= X-Received: by 2002:a62:cd0f:0:b0:447:b8fe:d6c2 with SMTP id o15-20020a62cd0f000000b00447b8fed6c2mr3573247pfg.70.1632117259755; Sun, 19 Sep 2021 22:54:19 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 19 Sep 2021 22:54:19 -0700 From: Stefan Kangas In-Reply-To: <83h7ef3lvq.fsf@gnu.org> References: <83h7ef3lvq.fsf@gnu.org> MIME-Version: 1.0 Date: Sun, 19 Sep 2021 22:54:19 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Eli Zaretskii writes: > I hope you mean sorting by downloads as an optional sorting order? > Because having it by default is IMO an annoyance: t makes it hard to > find a package. Yes, you should be able to sort by any column but probably sorting by name is the best default. From unknown Fri Sep 19 21:46:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Sep 2021 06:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 50686@debbugs.gnu.org, monnier@iro.umontreal.ca Received: via spool by 50686-submit@debbugs.gnu.org id=B50686.163211899028504 (code B ref 50686); Mon, 20 Sep 2021 06:24:01 +0000 Received: (at 50686) by debbugs.gnu.org; 20 Sep 2021 06:23:10 +0000 Received: from localhost ([127.0.0.1]:40777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSChq-0007Pe-4t for submit@debbugs.gnu.org; Mon, 20 Sep 2021 02:23:10 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSCho-0007PI-E9 for 50686@debbugs.gnu.org; Mon, 20 Sep 2021 02:23:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=T8n+qCshDYWcwiEGIdbHFAXo9AqjOJu2k9oBQLLMkp8=; b=TbOyZ5XnyM0hRISPK74EcUCJIG UowHncx4myhZgTPDOQsXJRbu+ZamIrGWOuO28QIEepNXNU/yta9BliqMimxfG1g0SEkdazzv2GqT1 o0mhbI7JP3Mrl1yS/vxk1t9NxISa1xt/j7Nezt5fESPEHaSvYYaLe1bSc0piFOglV0rU=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mSChe-0006Fz-Rd; Mon, 20 Sep 2021 08:23:01 +0200 From: Lars Ingebrigtsen References: Date: Mon, 20 Sep 2021 08:22:58 +0200 In-Reply-To: (Stefan Kangas's message of "Sun, 19 Sep 2021 14:13:08 -0700") Message-ID: <87h7efix4t.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: 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. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Fri Sep 19 21:46:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Oct 2021 19:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 50686@debbugs.gnu.org Received: via spool by 50686-submit@debbugs.gnu.org id=B50686.163311829632352 (code B ref 50686); Fri, 01 Oct 2021 19:59:01 +0000 Received: (at 50686) by debbugs.gnu.org; 1 Oct 2021 19:58:16 +0000 Received: from localhost ([127.0.0.1]:57422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWOff-0008Pk-TW for submit@debbugs.gnu.org; Fri, 01 Oct 2021 15:58:16 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:5955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWOfd-0008PW-DX for 50686@debbugs.gnu.org; Fri, 01 Oct 2021 15:58:14 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 0103D100305; Fri, 1 Oct 2021 15:58:08 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 87BEF100261; Fri, 1 Oct 2021 15:58:06 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1633118286; bh=5NkMZ+i2SCqMxDw7+FLuKrX1CuaItXIXhS6HlP8+NL8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=pfAn7j/E6Tjgd02qA/7FyR+i0qM30Tqq9RQhiTBF8OH9Pblgb4YkYYArEpHOHpsAU t3AX5D7NUhhnE/NOMwnkqJPcka8FJ14eB4XpDabuI4XfZHgKJHQ/cMmR6jn/rcO4sQ zko957GblraAl4vzWixPZAFLkTxKSN1gHoUOJ5KUIQaDGTvZxWcDtCnzViUtc6IJjV N0MAcbhIysnUgFk2jG9rFe5CK29eaV/NiJIXfVaebJMcfkbztA9gLqyq6CXRkN5X5x +4IkXrQpF0OT5DRwPu3st+YkSGsb+WthqFiw4G277SXDSEvS7TcHG/tIlnsxEFK7CW pYdaVZ9JECnJQ== Received: from ceviche (modemcable004.216-203-24.mc.videotron.ca [24.203.216.4]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 41DF9120177; Fri, 1 Oct 2021 15:58:06 -0400 (EDT) From: Stefan Monnier Message-ID: References: Date: Fri, 01 Oct 2021 15:58:05 -0400 In-Reply-To: (Stefan Kangas's message of "Sun, 19 Sep 2021 14:13:08 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.013 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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. Fine by me, but I'd need someone else to do it ;-) Stefan From unknown Fri Sep 19 21:46:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Oct 2021 13:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 50686@debbugs.gnu.org Received: via spool by 50686-submit@debbugs.gnu.org id=B50686.163318201910139 (code B ref 50686); Sat, 02 Oct 2021 13:41:02 +0000 Received: (at 50686) by debbugs.gnu.org; 2 Oct 2021 13:40:19 +0000 Received: from localhost ([127.0.0.1]:58306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWfFS-0002dT-W8 for submit@debbugs.gnu.org; Sat, 02 Oct 2021 09:40:19 -0400 Received: from mail-pj1-f52.google.com ([209.85.216.52]:45658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWfFP-0002d6-Ck for 50686@debbugs.gnu.org; Sat, 02 Oct 2021 09:40:17 -0400 Received: by mail-pj1-f52.google.com with SMTP id om12-20020a17090b3a8c00b0019eff43daf5so9071801pjb.4 for <50686@debbugs.gnu.org>; Sat, 02 Oct 2021 06:40:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tJmXig5mrG15ZhyCzVHYMDphcg0+xYh/x6Tg5msJFQA=; b=g6jhOwpGYhT7YDPklR3R8HWQmSQ5ZWUvFZ1EyFBbAdzbc6aMD3m8JSYdlHHf8fRvai gmV+c5DP2sJ5R+UUTlkuZySzspipEHta0pibuQhF5xH9ExkUOyLEYnbSkhtq3D5EmuwQ 2tRmtxCJaHVW94dkcEyhTXvooGrhxpj9SHMxqWujVzmtLtIQkPAOPEipM+CC+Kj0CAQZ BilV+iO+QpcLyRnjpKvVHRMwPMjINrIoCF11Fv9cAeQfXvN8lXT1shNEBTLkZFk6PF7F V90lopafmVBMAahfSl3MBJuOBRv8bKsxM3YUdDbSQBEXBGhKAcgOqhFJscVM1d9ilKQm 0Qdg== X-Gm-Message-State: AOAM531yWdZ7PY22KydEqOSX6irMuqP/UjZdoCuKsw+ACbKjYCnCGnbI fFf2QlEGewaRj0FijU95lfh2fDYyeoQyOaOLTrQ= X-Google-Smtp-Source: ABdhPJwO4hy124kZikt/VUanKMr6ymW9ex7/U89WiBJsdutQ2Tft5VaFOQ2S3sN9rBBEFnHkzVwlI9ekwbgTlkvI5do= X-Received: by 2002:a17:90b:3805:: with SMTP id mq5mr26004042pjb.143.1633182009445; Sat, 02 Oct 2021 06:40:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Stefan Kangas Date: Sat, 2 Oct 2021 15:39:58 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Den fre 1 okt. 2021 kl 21:58 skrev Stefan Monnier : > > > 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. > > Fine by me, but I'd need someone else to do it ;-) I've been looking into sorting by columns as well, and here is one ready-made option that is dual-licensed under GPLv2 and MIT: https://mottie.github.io/tablesorter/ https://github.com/Mottie/tablesorter Maybe there exist even better ones, but this one seems to do the job. From unknown Fri Sep 19 21:46:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA 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 X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 50686@debbugs.gnu.org, monnier@iro.umontreal.ca Received: via spool by 50686-submit@debbugs.gnu.org id=B50686.169412435324056 (code B ref 50686); Thu, 07 Sep 2023 22:06:02 +0000 Received: (at 50686) by debbugs.gnu.org; 7 Sep 2023 22:05:53 +0000 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 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 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) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 7 Sep 2023 15:05:38 -0700 From: Stefan Kangas In-Reply-To: <87h7efix4t.fsf@gnus.org> References: <87h7efix4t.fsf@gnus.org> MIME-Version: 1.0 Date: Thu, 7 Sep 2023 15:05:38 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) 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)" From unknown Fri Sep 19 21:46:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Resent-From: Adam Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Sep 2023 08:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: stefan@marxist.se Cc: 50686@debbugs.gnu.org, larsi@gnus.org, monnier@iro.umontreal.ca Received: via spool by 50686-submit@debbugs.gnu.org id=B50686.1694161855837 (code B ref 50686); Fri, 08 Sep 2023 08:31:02 +0000 Received: (at 50686) by debbugs.gnu.org; 8 Sep 2023 08:30:55 +0000 Received: from localhost ([127.0.0.1]:42131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeWtC-0000DR-Tu for submit@debbugs.gnu.org; Fri, 08 Sep 2023 04:30:55 -0400 Received: from skyblue.cherry.relay.mailchannels.net ([23.83.223.167]:54003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeWt6-0000DC-TL for 50686@debbugs.gnu.org; Fri, 08 Sep 2023 04:30:53 -0400 X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 2DDD84C1046; Fri, 8 Sep 2023 08:30:45 +0000 (UTC) Received: from pdx1-sub0-mail-a311.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id CD3DD4C22A9; Fri, 8 Sep 2023 08:30:36 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1694161836; a=rsa-sha256; cv=none; b=AkdKeIhHseGaFo4VIKAuAoYMNjqFk64ASDFB/FrtVcrgdtMkYfpqhZVyC+YTVP5b/+aCl9 mqtlaYWKbUylGnLU0es+o/aWxb99wyKEUxlaVpz6l7Z0lt8qXgq6/2g1VddASjN0x5xBZL VZ3PHwlLY588/0gt+crj9e7+ccls9IHk42AdLW7a5fAddNrDbx9KENxoHZKhU6w1go9nMe Ldtuxs9PpaeqGgSxGjD3XUUZ/zTVn8PJLbBPvNzf1y9+6zQpHwPvEoQq9QP3Cnl+AnqsPo byqJtdA2u4iDoNyfaJsKe3O2hS603LsIwG13apG0nWsOg7E/uB6On2QslB7nYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1694161836; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=oL4zN5lsiy4Mboaa6Cno9xnjqixhPZ7gxbxcYhByunI=; b=+CqORtcCAtaCM/tpSksnM8OY10fWvnqX1ll95bf9VrCd+nK3e8Y2xbrD19mz9P7dX6neTs 8Q2cBzXganEHRyswjfSuD6qr4BVGq3k3IMewLczXRt88BCzWty9pNN9CrFApD0bFtXJ1xf chvaQTzVnzsCY6sbGIN5XTELRXDGVSExBvx0tY5MnFYSQlzxYNSs+/mTxDGZCSIIE4CIPw 8zZ+EWDilCpg7T30CkLw409SpPtKQhuu6/KMJ4KfytMZbamR9W/ujNWzIxzgJzYRFNYcyf Z09GDXjgH2U9nTjdv7Jk7kZGM53A0qigY0PAnoXmw4b+zgwcnBtrp4Jy+wvjEA== ARC-Authentication-Results: i=1; rspamd-7c449d4847-b6p9f; auth=pass smtp.auth=dreamhost smtp.mailfrom=adam@alphapapa.net X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|adam@alphapapa.net X-MailChannels-Auth-Id: dreamhost X-Trail-Scare: 725f7bae552a85a5_1694161844911_2487526927 X-MC-Loop-Signature: 1694161844911:699020897 X-MC-Ingress-Time: 1694161844911 Received: from pdx1-sub0-mail-a311.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.111.86.53 (trex/6.9.1); Fri, 08 Sep 2023 08:30:44 +0000 Received: from [10.66.1.162] (unknown [91.193.232.98]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adam@alphapapa.net) by pdx1-sub0-mail-a311.dreamhost.com (Postfix) with ESMTPSA id 4Rhq7J07D5z1S; Fri, 8 Sep 2023 01:30:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alphapapa.net; s=dreamhost; t=1694161836; bh=oL4zN5lsiy4Mboaa6Cno9xnjqixhPZ7gxbxcYhByunI=; h=Content-Type:Date:To:Cc:Subject:From; b=bCC68mU2hTzjHddY/9UdSzEeMs+MSSPx9tNmaEst6seehgUjWbw6qUZ5AH97vxuv5 HIibaTlUlFtRQHUdVM7YIRo2fNJ+SLyygVWBTD5lmywzbC2bcQrXzhBIXBzp6gWlXz Oi+/EIbkpwls2RhAJgZD8ZdKCvHiAE25pJ8GQiBw36V3wwr8U5k1eo+CiR9tr2CfRG GAeL88YfivfDP4mjvA4lTVJ951M6ooK98ElRwXCfWwnUkf/88EN//wLJH+Ime9lC/E yjjlqolSVcBtlYu9qPXBI3cmPvx1DXB67pqTv7tWUlfvZn6TShdpUYPW3VIr/DoiU0 Q8g9qF/TFb75Q== Content-Type: multipart/mixed; boundary="------------0mXb3HVLrKzQDQZEDr7KCUGG" Message-ID: <985acef0-69f1-39c3-1354-9a49149c9df9@alphapapa.net> Date: Fri, 8 Sep 2023 03:30:25 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 References: Content-Language: en-US From: Adam Porter In-Reply-To: X-Spam-Score: -0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) This is a multi-part message in MIME format. --------------0mXb3HVLrKzQDQZEDr7KCUGG Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit If it helps, here's a first pass at a regexp and function to parse the logs into download counts per package file. --Adam --------------0mXb3HVLrKzQDQZEDr7KCUGG Content-Type: text/x-emacs-lisp; charset=UTF-8; name="elpa-stats.el" Content-Disposition: attachment; filename="elpa-stats.el" Content-Transfer-Encoding: base64 KGRlZmNvbnN0IGVscGEtZG93bmxvYWQtbG9nLWxpbmUtcmUKICAocnggKGdyb3VwICgxKyAo b3IgZGlnaXQgIi4iICI6IikpKQogICAgICAiIC0gLSAiCiAgICAgICJbIiAoZ3JvdXAgKHJl cGVhdCAyIGRpZ2l0KSAiLyIgKHJlcGVhdCAzIGFscGhhKSAiLyIgKHJlcGVhdCA0IGRpZ2l0 KQogICAgICAgICAgICAgICAgICI6IiAocmVwZWF0IDIgZGlnaXQpICI6IiAocmVwZWF0IDIg ZGlnaXQpICI6IiAocmVwZWF0IDIgZGlnaXQpCiAgICAgICAgICAgICAgICAgIiAiIChvciAi KyIgIi0iKSAocmVwZWF0IDQgZGlnaXQpKSAiXSIKICAgICAgOzsgOzsgSFRUUCBxdWVyeToK ICAgICAgIiBcIiIgKGdyb3VwICgxKyBhbHBoYSkpICAgICAgICAgOyBtZXRob2QKICAgICAg IiAiIChncm91cCAoMSsgKG5vdCAoYW55IGJsYW5rKSkpKSA7IHBhdGgKICAgICAgIiAiICJI VFRQLyIgKDErIChvciBhbG51bSAiLiIpKSAiXCIiIDsgcHJvdG9jb2wKICAgICAgIiAiIChn cm91cCAoMSsgZGlnaXQpKSAgICAgICAgICAgICAgIDsgc3RhdHVzIGNvZGUKICAgICAgIiAi IChncm91cCAoMSsgZGlnaXQpKSAgICAgICAgICAgICAgIDsgc2l6ZQogICAgICAiIFwiLVwi ICIgICAgICAgICAgICAgICAgICAgICAgICAgICAgOyA/CiAgICAgICJcIiIgKGdyb3VwICgx KyAobm90IChhbnkgIlwiIikpKSkgIlwiIikpCgooZGVmdW4gZWxwYS1sb2ctdG8tcGFja2Fn ZS1zdGF0cyAobG9nLXN0cmluZykKICAiUmV0dXJuIGFsaXN0IG9mIChQQUNLQUdFIC4gRE9X TkxPQURTKSBzZWVuIGluIExPRy1TVFJJTkcuCiAgICBMT0ctU1RSSU5HIGlzIGFuIEhUVFAg ZG93bmxvYWQgbG9nLiIKICAobGV0ICgoc3RhdHMgKG1ha2UtaGFzaC10YWJsZSA6dGVzdCAj J2VxdWFsKSkpCiAgICAod2l0aC10ZW1wLWJ1ZmZlcgogICAgICAoaW5zZXJ0IGxvZy1zdHJp bmcpCiAgICAgIChnb3RvLWNoYXIgKHBvaW50LW1pbikpCiAgICAgIChjbC1sb29wIHdoaWxl IChyZS1zZWFyY2gtZm9yd2FyZCBlbHBhLWRvd25sb2FkLWxvZy1saW5lLXJlIG5pbCB0KQog ICAgICAgICAgICAgICBmb3IgZmlsZSA9IChtYXRjaC1zdHJpbmcgNCkKICAgICAgICAgICAg ICAgd2hlbiAoc3RyaW5nLW1hdGNoLXAgKHJ4IGJvcyAiL3BhY2thZ2VzLyIgKDErIGFueXRo aW5nKSAob3IgIi50YXIiICIuZWwiKSBlb3MpCiAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIGZpbGUpCiAgICAgICAgICAgICAgIGRvIChpZiAoZ2V0aGFzaCBmaWxlIHN0 YXRzKQogICAgICAgICAgICAgICAgICAgICAgKGNsLWluY2YgKGdldGhhc2ggZmlsZSBzdGF0 cykpCiAgICAgICAgICAgICAgICAgICAgKHNldGYgKGdldGhhc2ggZmlsZSBzdGF0cykgMSkp KSkKICAgIChtYXAtaW50byBzdGF0cyAnYWxpc3QpKSkKCjs7ICgoIi9wYWNrYWdlcy9zZXEt Mi4yMy50YXIiIC4gMSkgKCIvcGFja2FnZXMvbGV0LWFsaXN0LTEuMC42LmVsIiAuIDEpKQo= --------------0mXb3HVLrKzQDQZEDr7KCUGG-- From unknown Fri Sep 19 21:46:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Mar 2024 00:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Adam Porter Cc: 50686@debbugs.gnu.org, stefan@marxist.se, larsi@gnus.org Received: via spool by 50686-submit@debbugs.gnu.org id=B50686.170968316219193 (code B ref 50686); Wed, 06 Mar 2024 00:00:02 +0000 Received: (at 50686) by debbugs.gnu.org; 5 Mar 2024 23:59:22 +0000 Received: from localhost ([127.0.0.1]:49286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhegr-0004zV-NO for submit@debbugs.gnu.org; Tue, 05 Mar 2024 18:59:21 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:20608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhego-0004zH-Q8 for 50686@debbugs.gnu.org; Tue, 05 Mar 2024 18:59:21 -0500 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 07FA7444AD3; Tue, 5 Mar 2024 18:58:42 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1709683120; bh=BSrzKXiQIQC834oD1tscFuIyKFp9uNl37KyANXssbFg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=DUNzSguyhGRnI1qkhPpjQGX2eD+VV98dr12+jBIyrRFZVSH1CBr0EJwN9rD9mSNMV B1b+sXFR0mskg3XbNbiYO0Axjk3k9qONT9F8GKvOwcEJF1yC2rfQ/5BQCqtVDGVY9M BbmIH0Zj1kcRYWkjAUo+k2HidDi33861ijGM2pyqHkgJt2JsQJVKQyBKVIKQBNfoZB vhJd4AMlXZRDSSxV+TcHuRITHPP5g8SayFqML7W5sRE3XOzS5iz/LC2Dj96LDsSMoM qEg9/pUaNfp3E2CTGOoPxTc3rUksZz5k1KIhdrhWiLtcodZM2AwllzQXizrH8dgVQH W5TKdCC7N+lDQ== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id D790E444ACF; Tue, 5 Mar 2024 18:58:40 -0500 (EST) Received: from pastel (unknown [104.247.233.29]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id A6D9B12034B; Tue, 5 Mar 2024 18:58:40 -0500 (EST) From: Stefan Monnier In-Reply-To: <985acef0-69f1-39c3-1354-9a49149c9df9@alphapapa.net> (Adam Porter's message of "Fri, 8 Sep 2023 03:30:25 -0500") Message-ID: References: <985acef0-69f1-39c3-1354-9a49149c9df9@alphapapa.net> Date: Tue, 05 Mar 2024 18:58:39 -0500 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.009 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > If it helps, here's a first pass at a regexp and function to parse the logs > into download counts per package file. Thanks. I got some inspiration from it for the code I pushed to `elpa-admin.el`. It's still not doing anything, tho. Stefan From unknown Fri Sep 19 21:46:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Resent-From: Adam Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Mar 2024 00:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 50686@debbugs.gnu.org, stefan@marxist.se, larsi@gnus.org Received: via spool by 50686-submit@debbugs.gnu.org id=B50686.170968457421389 (code B ref 50686); Wed, 06 Mar 2024 00:23:02 +0000 Received: (at 50686) by debbugs.gnu.org; 6 Mar 2024 00:22:54 +0000 Received: from localhost ([127.0.0.1]:49296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhf3e-0005Yv-9i for submit@debbugs.gnu.org; Tue, 05 Mar 2024 19:22:54 -0500 Received: from olivedrab.birch.relay.mailchannels.net ([23.83.209.135]:63489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhf3a-0005Yh-7F for 50686@debbugs.gnu.org; Tue, 05 Mar 2024 19:22:53 -0500 X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id E4BBC7627A1; Wed, 6 Mar 2024 00:22:17 +0000 (UTC) Received: from pdx1-sub0-mail-a230.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 5FD7C7615DD; Wed, 6 Mar 2024 00:22:17 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1709684537; a=rsa-sha256; cv=none; b=CRX0PVro36asaMD31Tmw8T/v8eeobkpqf1+TNeX6VmPCrJG13bmqkjiRRWBqnTNbYcG49K TYsgs2WEVZqtYNkFoUbqHrxQuObNIQQpjpKLkiVLkbqUqrvx4y5CMPvyT/KiVixHX0BF41 yAaWOhJ5VG7k9pXBiBMI9t5/bQXkykFWSqtdwStPXn+Nn+PBXF8lwaZOeYuu3tjxu93J07 Df2IyxJNuHiLmDg8XQPT9woyXjA36oJp1JqNslzLDXpTPDHiFuVjbT5I3EEzHAA/EwWRZS d5a09ORmA4XApwqz+Mepua+F0flnZ8LRCKNebOMf19hyJIBVx7wXQVbt/+sW2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1709684537; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=KHFKyRXJeBU1VomvJ7XgZmSGq6rifo3/aabTx2sFNR4=; b=Nza+e+k2gVjilDK6ZYYX8aYoR1WydWhusY4UKCWUyOUVe9wT1ATSEPejjzLLqMzPnkWLCy Ar4vN+XLByaUJZdDWiYVNthiwyUiWKW0nOf36HvUdoNvAObnmXXDGhjrhUwH4onC8hksSe 439T+qI/kQRjKb5MN4sNVLDVXaOpCQEbECc8RpIQxzfcpFdwPMyQtcsizRBKrqZRcVmLem am8AR5nmIaoQqW7+HzVNVb9xIMtx9tw+xwA2Wyn5aHvv4maOg6KHK9V8Mj613yosZDvC5R uQzjz2lxes9luvwmLj4ws6LDs/JJBz5ivIgRKg2piYG5uYejzxwlttB0tRR3CA== ARC-Authentication-Results: i=1; rspamd-55b4bfd7cb-t59hl; auth=pass smtp.auth=dreamhost smtp.mailfrom=adam@alphapapa.net X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|adam@alphapapa.net X-MailChannels-Auth-Id: dreamhost X-Bored-Society: 36e904483e4ed465_1709684537693_3404135719 X-MC-Loop-Signature: 1709684537693:2565145870 X-MC-Ingress-Time: 1709684537693 Received: from pdx1-sub0-mail-a230.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.124.220.170 (trex/6.9.2); Wed, 06 Mar 2024 00:22:17 +0000 Received: from [10.43.2.90] (unknown [193.56.116.15]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adam@alphapapa.net) by pdx1-sub0-mail-a230.dreamhost.com (Postfix) with ESMTPSA id 4TqCmm50K1z49; Tue, 5 Mar 2024 16:22:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alphapapa.net; s=dreamhost; t=1709684537; bh=KHFKyRXJeBU1VomvJ7XgZmSGq6rifo3/aabTx2sFNR4=; h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding; b=iUmFp8DSzfa49mWsX2jZJFFAU/e8xJ+JIRitq3RjtYCOthU502yKdTbyjUfKNAODG 5wt1vUvGoo/tcMFJfCtoW/bI5FAB9Rk0Z8Ov3AbWQQd2Fl0hN3XhFmi75AESjN/SNI qIi6vTfeg+P/VJyaNq5AfK5mtzv3OsI9ahS6TVvROFIkkNvBEPB2zHlbfXjSDU8+Hp Fqz+JhLKlD8QI7zh5yyGleTwfwNDwVK/hy590rylBysLvMpJkIbpOeraAK1pxxP16s DgaGvNJSpvNZw8KLhfdcH8Orv6Me+OfaAEgIU7lfAaSrPAlk5OUEbGrXYW+yR7sjem AneQ2KRSEfgrg== Message-ID: <1f2a10bf-c135-480d-9b79-17b64090fc7e@alphapapa.net> Date: Tue, 5 Mar 2024 18:22:15 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: <985acef0-69f1-39c3-1354-9a49149c9df9@alphapapa.net> Content-Language: en-US From: Adam Porter In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) On 3/5/24 17:58, Stefan Monnier wrote: >> If it helps, here's a first pass at a regexp and function to parse the logs >> into download counts per package file. > > Thanks. I got some inspiration from it for the code I pushed to > `elpa-admin.el`. It's still not doing anything, tho. Thanks. What would the next steps be? From unknown Fri Sep 19 21:46:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Mar 2024 02:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Adam Porter Cc: 50686@debbugs.gnu.org, stefan@marxist.se, larsi@gnus.org Received: via spool by 50686-submit@debbugs.gnu.org id=B50686.17096938894359 (code B ref 50686); Wed, 06 Mar 2024 02:59:02 +0000 Received: (at 50686) by debbugs.gnu.org; 6 Mar 2024 02:58:09 +0000 Received: from localhost ([127.0.0.1]:49374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhhTt-00018F-7x for submit@debbugs.gnu.org; Tue, 05 Mar 2024 21:58:09 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:56234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhhTs-000182-3m for 50686@debbugs.gnu.org; Tue, 05 Mar 2024 21:58:08 -0500 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id EE8FD444AE2; Tue, 5 Mar 2024 21:57:31 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1709693849; bh=oY0UxNUGagLn0pcuZL5e9orke1lgqjG5r9lFKcBp7po=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=NDf7SQNlMP1qH8kqFqsRKvitBAly5FkvCu36AT3deOTheZbQ3Uia0LZEGX+Y/zz1x NXmrCJnmJMAo+Jo3U4KS8z2SyeBMfd2qI2NcXuuC1wBX9ryRspPAs3hT8eoqfJ4ZEY aDk9IWuVhH0F5+gQfORs1zWcbePxdrXmHIuJMzXAZeVnerT3LBNkeoTreiDcLd5Eld 5/YH9DnWuafjZjXeFLucouBUDA7XYi5uHIMBfu9FUJtZVEeoJfK/JAbfudAvtR+jxm 8DPTPrP+SSywWT7elkJTWMW4K+DzAJ4Y7HTOWkZn1qs3yeEeTozQ/JfpzVEMMO2mDo WnyufazW5eLXQ== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id A0234444AD7; Tue, 5 Mar 2024 21:57:29 -0500 (EST) Received: from pastel (unknown [104.247.233.29]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5C40A120821; Tue, 5 Mar 2024 21:57:29 -0500 (EST) From: Stefan Monnier In-Reply-To: <1f2a10bf-c135-480d-9b79-17b64090fc7e@alphapapa.net> (Adam Porter's message of "Tue, 5 Mar 2024 18:22:15 -0600") Message-ID: References: <985acef0-69f1-39c3-1354-9a49149c9df9@alphapapa.net> <1f2a10bf-c135-480d-9b79-17b64090fc7e@alphapapa.net> Date: Tue, 05 Mar 2024 21:57:29 -0500 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.009 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) >>> If it helps, here's a first pass at a regexp and function to parse the logs >>> into download counts per package file. >> Thanks. I got some inspiration from it for the code I pushed to >> `elpa-admin.el`. It's still not doing anything, tho. > Thanks. What would the next steps be? - Have a cron job use that code to maintain historical access stats. [ almost done. ] - change the HTML-building code to use those stats to "enrich" the HTML with "popularity" info. [ not started yet. ] Stefan From unknown Fri Sep 19 21:46:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Mar 2024 05:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Adam Porter Cc: 50686@debbugs.gnu.org, stefan@marxist.se, larsi@gnus.org Received: via spool by 50686-submit@debbugs.gnu.org id=B50686.170970153617091 (code B ref 50686); Wed, 06 Mar 2024 05:06:01 +0000 Received: (at 50686) by debbugs.gnu.org; 6 Mar 2024 05:05:36 +0000 Received: from localhost ([127.0.0.1]:49406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhjTE-0004Ra-3t for submit@debbugs.gnu.org; Wed, 06 Mar 2024 00:05:36 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:54330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhjT8-0004RE-Gz for 50686@debbugs.gnu.org; Wed, 06 Mar 2024 00:05:34 -0500 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id A034A80946; Wed, 6 Mar 2024 00:04:53 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1709701492; bh=i0g3G37OQflPjBXimBJSRztP2yWkTQAMjwboJfCZcxg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=fSNqBMeurv39yYo3FGw7AGbfxuEHMLH6ohUv9rjRjpjNToShGWDmJN6Bb7EYcLMya WGrO4YwuBNkEusaibVSF7WbMlkRBK/OjGWvVB0X6G1joLDrtU6AmMcYEaLqVKw0RYk eQrJLTMpRD5Jg2kBtRKJkxUVSP04v9jGpykGGltNyD/GOFt6J7MN5lR813kRB03CQ9 +JvNL0+wSvz72wua2rwN6sHdmNY4CJUAY2Szc42C5m9PKBDPvS4ScRkkDlw6w5D/QI tUCitYCQaLabPHsHQqIzZTFHNoA5Qu8XS7VdQgEAy9if+VoHust1InWQLQ5q/gIOrk GCCbfdgHYNzmw== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 274A880966; Wed, 6 Mar 2024 00:04:52 -0500 (EST) Received: from pastel (unknown [104.247.233.29]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id EA5F4120646; Wed, 6 Mar 2024 00:04:51 -0500 (EST) From: Stefan Monnier In-Reply-To: (Stefan Monnier's message of "Tue, 05 Mar 2024 21:57:29 -0500") Message-ID: References: <985acef0-69f1-39c3-1354-9a49149c9df9@alphapapa.net> <1f2a10bf-c135-480d-9b79-17b64090fc7e@alphapapa.net> Date: Wed, 06 Mar 2024 00:04:51 -0500 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.474 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) If you go to http://elpa.gnu.org/packages/ you'll now see a new column "Rank" which shows a percentile ranking for each package. Stefan From unknown Fri Sep 19 21:46:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Resent-From: Adam Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Mar 2024 23:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 50686@debbugs.gnu.org, stefan@marxist.se, larsi@gnus.org Received: via spool by 50686-submit@debbugs.gnu.org id=B50686.170994005620055 (code B ref 50686); Fri, 08 Mar 2024 23:21:02 +0000 Received: (at 50686) by debbugs.gnu.org; 8 Mar 2024 23:20:56 +0000 Received: from localhost ([127.0.0.1]:59953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rijWJ-0005DP-Od for submit@debbugs.gnu.org; Fri, 08 Mar 2024 18:20:56 -0500 Received: from seagreen.cherry.relay.mailchannels.net ([23.83.223.160]:25337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rijWH-0005DG-Jq for 50686@debbugs.gnu.org; Fri, 08 Mar 2024 18:20:54 -0500 X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 4875984112A; Fri, 8 Mar 2024 23:20:20 +0000 (UTC) Received: from pdx1-sub0-mail-a203.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id D4286841443; Fri, 8 Mar 2024 23:20:19 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1709940019; a=rsa-sha256; cv=none; b=jDEzPuZk5Dpn+19nJ0xXIDqEJSozAw54L6pQ9z44GoTYSutSkbYkovB+zSnf4RJCk5PP2E D1U8/wccsgUeDf9Q84OGpRDGcWKuJLDsJ4H1xmQVWSAN7WKjWDEuEKZq4mHRRPyniIQYq4 9UaM+g9P0S4DECTZdRYg2S7TGS9PuoYA9jAuQ/d/WprsvGdfvfZf/FxVDnLslLRg3/VN/+ F21A8dV0IF/OjKaM6Z1qOHQUdUWiiqUWEZZa7xqiLnhKyqC1XV2GU72CPL3Fp7ncQ1Jakn GxIvfR6L0nDYDRH1oYEmmAHrLtHLmF0xDP9VJ594x6JZ93cHmqYZsRadVDKgVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1709940019; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=dqNZ4fuplbiHdbRufMegS5dgMN1wwAHCQxmDHjc11yo=; b=mQtkAINjr+PRVzsHG+y1vtr1PSeiLsaHbuKXSxxlyV7I2v0ml+pmWvN5MTxnuKatKutLpn o4PGkvUzsUIotHoo1v1mdIzv2IHQ6byoWDa10wjdWYSJGN3acLgD+VEEGZ0rUcKmdAC3im 3McrzptNiYAau+NbidzE3d6hrEk97c2YFl4MdY9YJQuN6ZxWSeNFIYPM/yrqbjCPlIaUot /ayUpc1TZl+BCIXDKh1DyXebA5RcddLa7JQkh4p3hMywy36RLoNp6Cjz13MMESWaoM3mez jEeebF0RQoCEBvdKyu05wxO+A3huOUNGItOiZF8mIypjvDBek3acUMCo38cM/w== ARC-Authentication-Results: i=1; rspamd-67fb46fddd-5qs5r; auth=pass smtp.auth=dreamhost smtp.mailfrom=adam@alphapapa.net X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|adam@alphapapa.net X-MailChannels-Auth-Id: dreamhost X-White-Zesty: 6e26b31e06da5a3f_1709940020136_4093164051 X-MC-Loop-Signature: 1709940020136:2788220028 X-MC-Ingress-Time: 1709940020136 Received: from pdx1-sub0-mail-a203.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.111.192.141 (trex/6.9.2); Fri, 08 Mar 2024 23:20:20 +0000 Received: from [10.43.2.158] (unknown [193.56.116.15]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adam@alphapapa.net) by pdx1-sub0-mail-a203.dreamhost.com (Postfix) with ESMTPSA id 4Ts2Ft5hryz9c; Fri, 8 Mar 2024 15:20:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alphapapa.net; s=dreamhost; t=1709940019; bh=dqNZ4fuplbiHdbRufMegS5dgMN1wwAHCQxmDHjc11yo=; h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding; b=Bm1EvAXr2Pe5czJMeGdyQjX4D/jyCbsJPQ4w+/HFtNkxNuKWpy5VcLHjdEKnqVLOi EIVB8WKVCaKaPw12VkSkxOfNUf/nyNS/zlf/oAaV377lRpooLEay8BNMtNNecj2Spv gctozbwTfNOCk75mPjbpwwmUH8frhbIHqSMmD70ot7wEs2DI0ACFi406u/7c6RYAdA B5jvidZq9vFT23I1rxTG2WcGR32MDNccOdBLJsLGTHCVur6opy5tGz37X6OD0tyvP0 Qy2JpTiJvtTUD88SgvpHOvMBlwnMycvEgk9vNaYhUw5R0Fux6tBy78GNS6KWosBZMW 2Tu3zWIC56Bbg== Message-ID: Date: Fri, 8 Mar 2024 17:20:17 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US References: <985acef0-69f1-39c3-1354-9a49149c9df9@alphapapa.net> <1f2a10bf-c135-480d-9b79-17b64090fc7e@alphapapa.net> From: Adam Porter In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Stefan, On 3/5/24 23:04, Stefan Monnier wrote: > If you go to http://elpa.gnu.org/packages/ you'll now see a new column > "Rank" which shows a percentile ranking for each package. That's very cool. I guess it's not looking very far back in the download data (yet?), because I see, e.g. my recently added Activities package being listed at 90%, which couldn't possibly have nearly [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RCVD_IN_VALIDITY_RPBL RBL: Relay in Validity RPBL, https://senderscore.org/blocklistlookup/ [23.83.223.160 listed in bl.score.senderscore.com] 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [23.83.223.160 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [23.83.223.160 listed in list.dnswl.org] -0.0 T_SCC_BODY_TEXT_LINE No description available. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) Hi Stefan, On 3/5/24 23:04, Stefan Monnier wrote: > If you go to http://elpa.gnu.org/packages/ you'll now see a new column > "Rank" which shows a percentile ranking for each package. That's very cool. I guess it's not looking very far back in the download data (yet?), because I see, e.g. my recently added Activities package being listed at 90%, which couldn't possibly have nearly as many downloads as other packages that have been there for much longer and are much more widely used. What are your plans for the stats from here? e.g. it would be helpful to be able to see stats within a time period, maybe a graph over time, a list of downloads per version, etc. (Not that I expect you to do all of these things yourself, just curious.) Thanks, Adam From unknown Fri Sep 19 21:46:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Mar 2024 14:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Adam Porter Cc: 50686@debbugs.gnu.org, stefan@marxist.se, larsi@gnus.org Received: via spool by 50686-submit@debbugs.gnu.org id=B50686.170999508531144 (code B ref 50686); Sat, 09 Mar 2024 14:39:01 +0000 Received: (at 50686) by debbugs.gnu.org; 9 Mar 2024 14:38:05 +0000 Received: from localhost ([127.0.0.1]:60992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rixps-00086F-IW for submit@debbugs.gnu.org; Sat, 09 Mar 2024 09:38:04 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:44146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rixpn-00085d-He for 50686@debbugs.gnu.org; Sat, 09 Mar 2024 09:38:03 -0500 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 00BC7444743; Sat, 9 Mar 2024 09:37:19 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1709995038; bh=Bop99NIriK4ceFlL8mUpg3CIiEM2xfPSD7CF22kb4cU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=e2c8EtyFKypnRJWOvR0ycJwv0ltVXlhOvQxf22wEIYdVml7E38uJ2jQckiltncWYa r0HRXeeLHNjvzkGJrDVUzUXR+sNjDtTZ+i1R+s3vYLNO0wGI623E758ttdpjS9RTCi sPlny7wqssFqL36q2CgxTLvai7jdVYWQChZaeXvPVTHZ2lZI7ifybDNEIi3lYpyrFz QtM9YvAJefQf+WbhJqCySiMdD/evkcbfqQqf+OxOW6JBUi2FcLFiYgA558uKah4TLO Tk01T4Kr76K+lShaHVYTeIZkXLD+MHvVYbHOxu9pTqlhZpAJyVy2wYf3FEFMRhTL8T T+jbsWpkjFZIg== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id A3C6B44473D; Sat, 9 Mar 2024 09:37:18 -0500 (EST) Received: from pastel (69-165-153-56.dsl.teksavvy.com [69.165.153.56]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 769CB12030C; Sat, 9 Mar 2024 09:37:18 -0500 (EST) From: Stefan Monnier In-Reply-To: (Adam Porter's message of "Fri, 8 Mar 2024 17:20:17 -0600") Message-ID: References: <985acef0-69f1-39c3-1354-9a49149c9df9@alphapapa.net> <1f2a10bf-c135-480d-9b79-17b64090fc7e@alphapapa.net> Date: Sat, 09 Mar 2024 09:37:18 -0500 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.040 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) >> If you go to http://elpa.gnu.org/packages/ you'll now see a new column >> "Rank" which shows a percentile ranking for each package. > That's very cool. I guess it's not looking very far back in the download > data (yet?), I had the logs only for a two weeks or so (plus some old logs from many years ago, actually), indeed. > What are your plans for the stats from here? As the info is extracted from the logs it's added to a file that accumulates the counts per week per package. You can see the relevant code in the `elpa--wsl*` functions in: https://git.savannah.gnu.org/cgit/emacs/elpa.git/tree/elpa-admin.el?h=elpa-admin > e.g. it would be helpful to be able to see stats within a time period, > maybe a graph over time, Indeed. Patches welcome. > a list of downloads per version, etc. Currently I count the "interest" in the package, so I don't distinguish the version of the package, nor whether the access is for the tarball or the package's web page, or the package's readme.txt, or the package's badge. I'd like to the keep the stats database reasonably small (it's currently around 150kB, and I expect it'll take a year before it reaches 1MB), so I'd rather not segregate per version. Stefan From unknown Fri Sep 19 21:46:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Resent-From: Adam Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Mar 2024 20:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 50686@debbugs.gnu.org, stefan@marxist.se, larsi@gnus.org Received: via spool by 50686-submit@debbugs.gnu.org id=B50686.171018767327058 (code B ref 50686); Mon, 11 Mar 2024 20:08:02 +0000 Received: (at 50686) by debbugs.gnu.org; 11 Mar 2024 20:07:53 +0000 Received: from localhost ([127.0.0.1]:41350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjlw9-00072L-2p for submit@debbugs.gnu.org; Mon, 11 Mar 2024 16:07:53 -0400 Received: from toucan.tulip.relay.mailchannels.net ([23.83.218.254]:36523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjlw4-000728-1b for 50686@debbugs.gnu.org; Mon, 11 Mar 2024 16:07:52 -0400 X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 48B84827E1; Mon, 11 Mar 2024 20:07:12 +0000 (UTC) Received: from pdx1-sub0-mail-a311.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id A6DFC81805; Mon, 11 Mar 2024 20:07:11 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1710187631; a=rsa-sha256; cv=none; b=JLhpb7/hl47yPv2Ns0G42RsDb3NEtg699st3VtlHt1vicOsWugT1FQw6wrSULi1WIMORKv BuPXsg/fnp3okmTvmI0vqOp3Vz2/7ZUdRjeqlCMyNlnZBtZURe/w2CtJkWDe+WGbBMRtlB OW7ABJc60DPM6wgWDl//7MH2qwmoFFqO5DulY31UZTghxGDQ//nVNQEfn6QOBJwdQLWhsZ 1kPztbhSOiKsuGKcDgXPGjRcxRXTPlFWlSpdX0X2ShsPXbZDox7tIkKPcZbtQsslJ0ZBiw hqSDEfqd7Gf0tLPAYJrwxnRG37+4YNDBN2geaMgODH7fKly1Q2/FwnafoRgq2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1710187631; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=FEcqzGff7ViJ3nGZo54V/b3r77YGKqEPJswHQpmQpDI=; b=TmQaKmjQQGMvee+Ci2kfAe5LqK4rB1RkgQGKQvNIGLF2qDrp7eZmhPIdSVGNoe1s8Y5bIK nGJblHJcpKfd8yjknBSkHoxPLebYcgI0T7JICm8AgiZsjWtvaZu4tyi6HWSFEyrmPItWri EbFsrhoSl5Aw+H6fM+MSR5NvusyZIuwB7XzBsi68k2f62wU+LtqNNjFsJuSekMpTWeu/xc delx/BR1Cu8mFbumMiZoT0kZsJ1FIGqE8XN9dozleLZBioNwFn9bjRQ2D+tbpm80sePtJI ewYTyhCvrbgXdo6cPRGNQSjrv1uEhOgrJoXm2v8Ezk1EfOxMch480FHkfKUbxQ== ARC-Authentication-Results: i=1; rspamd-67fb46fddd-bjwl5; auth=pass smtp.auth=dreamhost smtp.mailfrom=adam@alphapapa.net X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|adam@alphapapa.net X-MailChannels-Auth-Id: dreamhost X-Slimy-Desert: 0a8aa1e171624de9_1710187632139_294536518 X-MC-Loop-Signature: 1710187632139:2986185458 X-MC-Ingress-Time: 1710187632138 Received: from pdx1-sub0-mail-a311.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.116.254.144 (trex/6.9.2); Mon, 11 Mar 2024 20:07:12 +0000 Received: from [10.66.7.46] (unknown [91.193.232.98]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adam@alphapapa.net) by pdx1-sub0-mail-a311.dreamhost.com (Postfix) with ESMTPSA id 4Ttnqf6BHWzRF; Mon, 11 Mar 2024 13:07:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alphapapa.net; s=dreamhost; t=1710187631; bh=FEcqzGff7ViJ3nGZo54V/b3r77YGKqEPJswHQpmQpDI=; h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding; b=xwCsMcdSFAIMgJbfdQlVfjpMjqhWZ9IccoxGQB04uAp6KstGTF70YPuhp7wp4cWjh i90dOxnLfh7gS8jwB+eGkM5mGky5bd63qRMBtoAi1twzPuC1wJ9GSn8pMwSrAPGUwQ QDDmOGN53L46/s3fjRJefFvZHixrSEaDUocOidFVFEM966R+NQA6d8VEbtpHq7NfR3 2GocXPOXVE6G+uXp8RJ5WUNDWeuUTNI5mhK8MjECe33BANOcdMjxgsIub+dArY3fCG 3O0S5ZAK5BnLt/5RnvxVtINmxB3vHKlPy+DAzZcTahW8gGFp9NriQvcOPaQJzVzm6l gJYCgBB2BSuCA== Message-ID: Date: Mon, 11 Mar 2024 15:07:04 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US References: <985acef0-69f1-39c3-1354-9a49149c9df9@alphapapa.net> <1f2a10bf-c135-480d-9b79-17b64090fc7e@alphapapa.net> From: Adam Porter In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) Hi Stefan, On 3/9/24 08:37, Stefan Monnier wrote: >>> If you go to http://elpa.gnu.org/packages/ you'll now see a new column >>> "Rank" which shows a percentile ranking for each package. >> That's very cool. I guess it's not looking very far back in the download >> data (yet?), > > I had the logs only for a two weeks or so (plus some old logs from > many years ago, actually), indeed. I see. Are the rest of the logs still available on the ELPA server, or is that all we have for historical data? >> a list of downloads per version, etc. > > Currently I count the "interest" in the package, so I don't distinguish > the version of the package, nor whether the access is for the tarball or > the package's web page, or the package's readme.txt, or the package's badge. That seems like a very different kind of data than the number of times a package has been downloaded (i.e. by an Emacs instance). IME a small fraction of hits to a package's GitHub repo seem to result in installations; "interest" tends to be far more than "interested enough to install." > I'd like to the keep the stats database reasonably small (it's currently > around 150kB, and I expect it'll take a year before it reaches 1MB), so > I'd rather not segregate per version. Is there a way that I could change your mind about that? Having the actual download counts per version would be very useful. As far as database size, the download counts per version (i.e. per tarball filename) could be stored in a table like: FILENAME | DOWNLOAD_COUNT | LAST_UPDATED Which could be updated when the logs are processed (omitting any logged download from before the LAST_UPDATED timestamp). And while that wouldn't show when the downloads occurred, it would still be useful to get an idea of how many users a package has (i.e. ones that actually install updates to it), and it would be a very small amount of data to store. --Adam From unknown Fri Sep 19 21:46:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Mar 2024 20:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Adam Porter Cc: 50686@debbugs.gnu.org, stefan@marxist.se, larsi@gnus.org Received: via spool by 50686-submit@debbugs.gnu.org id=B50686.171018908329223 (code B ref 50686); Mon, 11 Mar 2024 20:32:02 +0000 Received: (at 50686) by debbugs.gnu.org; 11 Mar 2024 20:31:23 +0000 Received: from localhost ([127.0.0.1]:41362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjmIs-0007bF-RS for submit@debbugs.gnu.org; Mon, 11 Mar 2024 16:31:23 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:2590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjmIo-0007az-WD for 50686@debbugs.gnu.org; Mon, 11 Mar 2024 16:31:21 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 6E7FB100170; Mon, 11 Mar 2024 16:30:38 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1710189036; bh=w0S527d64fuFaACQmWSEWs0RoYKW6VrssXf6SEtKT94=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=iW0MceF3leIUUoohVY/7OIOU7UIBfyIL7MjCzUuwXqBmM8j/xsHQD4wom55rrbPeO OkkSjCro/pOsnAoe16bCrUzuKMvQezNxv8EreoM5v2tXqQ1kWmjJ4nSEKkmVoF2piT MsGQCP3I+lQdm/cuCd/bYKiUwGHykDASkwvA9G7mVPKsNoKuoANIDgMaQTJ71F0Iux 1o6A1RWP34ZP5ExdKNnNrEk/UOpFW0IIhrQmqV9AhASODNV9yeY8u8f6cfnPy9ec5k ufWrSYR0TzTp4nQhKlL31uztcybyo+zCAgMpDRg48MHk+wA8GGOlPSjNKkWiH1T+0v zbwCcxBqjnKlA== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id A1E2010005D; Mon, 11 Mar 2024 16:30:36 -0400 (EDT) Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 8FD86120306; Mon, 11 Mar 2024 16:30:36 -0400 (EDT) From: Stefan Monnier In-Reply-To: (Adam Porter's message of "Mon, 11 Mar 2024 15:07:04 -0500") Message-ID: References: <985acef0-69f1-39c3-1354-9a49149c9df9@alphapapa.net> <1f2a10bf-c135-480d-9b79-17b64090fc7e@alphapapa.net> Date: Mon, 11 Mar 2024 16:28:25 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.097 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) >> I had the logs only for a two weeks or so (plus some old logs from >> many years ago, actually), indeed. > I see. Are the rest of the logs still available on the ELPA server, or is > that all we have for historical data? That's all we have. >>> a list of downloads per version, etc. >> Currently I count the "interest" in the package, so I don't distinguish >> the version of the package, nor whether the access is for the tarball or >> the package's web page, or the package's readme.txt, or the package's badge. > That seems like a very different kind of data than the number of times > a package has been downloaded (i.e. by an Emacs instance). IME a small > fraction of hits to a package's GitHub repo seem to result in installations; > "interest" tends to be far more than "interested enough to install." Just because the "interest" tends to be far more than "interested enough to install" doesn't mean that the two aren't strongly correlated. Also my impression is that package web pages in `elpa.gnu.org` are not visited nearly as often as a Github project page. But it'd be definitely worth checking how the two measures compare. Patches welcome. >> I'd like to the keep the stats database reasonably small (it's currently >> around 150kB, and I expect it'll take a year before it reaches 1MB), so >> I'd rather not segregate per version. > Is there a way that I could change your mind about that? Having the actual > download counts per version would be very useful. Maybe if you argue about what kind of use would make it useful? > As far as database size, the download counts per version (i.e. per tarball > filename) could be stored in a table like: > > FILENAME | DOWNLOAD_COUNT | LAST_UPDATED Maybe we could keep that in addition to the current data (not sure how useful would be the "last_updated"). Again, tho, the question is "what for?". My goal was mostly to show relative popularity, so when you search for packages providing a given feature and you find 4 different options, the rank percentile can give you an idea of which one is more popular. Stefan From unknown Fri Sep 19 21:46:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Resent-From: Adam Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Mar 2024 20:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 50686@debbugs.gnu.org, stefan@marxist.se, larsi@gnus.org Received: via spool by 50686-submit@debbugs.gnu.org id=B50686.171019059231699 (code B ref 50686); Mon, 11 Mar 2024 20:57:02 +0000 Received: (at 50686) by debbugs.gnu.org; 11 Mar 2024 20:56:32 +0000 Received: from localhost ([127.0.0.1]:41374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjmhD-0008FC-O7 for submit@debbugs.gnu.org; Mon, 11 Mar 2024 16:56:32 -0400 Received: from quail.birch.relay.mailchannels.net ([23.83.209.151]:25769) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjmh8-0008F0-2b for 50686@debbugs.gnu.org; Mon, 11 Mar 2024 16:56:30 -0400 X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 1E5679034AB; Mon, 11 Mar 2024 20:55:50 +0000 (UTC) Received: from pdx1-sub0-mail-a311.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id A9A2F902374; Mon, 11 Mar 2024 20:55:49 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1710190549; a=rsa-sha256; cv=none; b=xJqcVHlC3QtrVtkyeyTHQgBZ+R4EP6Cv5qZwNYIWC2f8jNtsjAFWTch9y3WYwoSd2Zq9B4 kKrEYYiHzu+ailvtfEff5Ccssp3avS2PByJK1NubN2k+1x8Fkz79tcxVuN1ga2Nssh5hqx 44hXTgsiqh2llSvWVpBi6vjdR5kB2tJegARsaH9gS8mCAxqPP62l/MyOYcQcXC3J0XCPSh KDPqHMl6gvj97bZwWh289ot3BwkBLY8JYQD2ZlDwVgO4HaRNsBVwTcjWlnNdm7fISbTsns Ti+n7y/DBrHzs7Crchrd3GXC4xTkY7tnyb6EhEVI3VHGvolhLfxoqAmPFXBkZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1710190549; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=nBsTxoGgA6NKV5e+J6P400a/sL3U1+kvNu1LCexfxYs=; b=isqXhC2tv9NJtF5vP50Ln/y1l0TV/egEsEpj3JNbC4Y5d+CgJNG4uXnCcFbke1Mg0cZqZV Am3TjjFZGHHfkFk5uS0zIAWMGIYRe6U+922rGE6yI4t+vkMNKcQhC955WSWNtke1CC3bia aVX18K4heA33AxswnbVFEJRmekL0QfkyMqSsEzpQT6ozH3hVuufbaWsA+MTdZXW7xta2tz /FHJSb4/csDJvjOUldTbxzRAkx6Eb8t6aBqlXqMejsgznRj1Pj76IsOu3dE3y0W7e2biZD KhBCjNbTB6EenrUXeFPccDnpCUBrhrjq7QUamCaiKZ45tnypfv25ZWPpexXc3w== ARC-Authentication-Results: i=1; rspamd-67fb46fddd-jn8wq; auth=pass smtp.auth=dreamhost smtp.mailfrom=adam@alphapapa.net X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|adam@alphapapa.net X-MailChannels-Auth-Id: dreamhost X-Language-Stop: 5104b3f91857864f_1710190549955_160347525 X-MC-Loop-Signature: 1710190549955:3699746334 X-MC-Ingress-Time: 1710190549955 Received: from pdx1-sub0-mail-a311.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.116.254.144 (trex/6.9.2); Mon, 11 Mar 2024 20:55:49 +0000 Received: from [10.66.7.46] (unknown [91.193.232.98]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adam@alphapapa.net) by pdx1-sub0-mail-a311.dreamhost.com (Postfix) with ESMTPSA id 4Ttpvm4cyyz8S; Mon, 11 Mar 2024 13:55:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alphapapa.net; s=dreamhost; t=1710190549; bh=nBsTxoGgA6NKV5e+J6P400a/sL3U1+kvNu1LCexfxYs=; h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding; b=TeBZ7dHVvVgLU7JWa8vsX/Ku3K9+IsE4R3An0HJz+RwcCjxv4fTWNQNNyyb7yHIy7 U266ryOuc8x6L5ol5NULrPfyfafO547SP8pLf/A4+sorRrEgmN/Wspor5yUmpAEz39 s/Ifxg3cRga+xbiQY9ynoSlA2IJBQkcBD6XkyQChF359jeWdnrAONL00vDYAbdHLvH hVVabDkyK9FPoX3N68GyP6vgqBYiQFQDRe4GFc5UiOPKnxmDY26rNMX+3THJE9AiJd X7iI8Jcucgcpfms7zvCYVYxV7WKexAiDBStQf5SvUbpru6F7DF5w2N4ft9iimQ85sv FgECZZIczoMPA== Message-ID: Date: Mon, 11 Mar 2024 15:55:47 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US References: <985acef0-69f1-39c3-1354-9a49149c9df9@alphapapa.net> <1f2a10bf-c135-480d-9b79-17b64090fc7e@alphapapa.net> From: Adam Porter In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On 3/11/24 15:28, Stefan Monnier wrote: >>> I had the logs only for a two weeks or so (plus some old logs from >>> many years ago, actually), indeed. >> I see. Are the rest of the logs still available [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.3 RCVD_IN_VALIDITY_RPBL RBL: Relay in Validity RPBL, https://senderscore.org/blocklistlookup/ [23.83.209.151 listed in bl.score.senderscore.com] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [23.83.209.151 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 T_SCC_BODY_TEXT_LINE No description available. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) On 3/11/24 15:28, Stefan Monnier wrote: >>> I had the logs only for a two weeks or so (plus some old logs from >>> many years ago, actually), indeed. >> I see. Are the rest of the logs still available on the ELPA server, or is >> that all we have for historical data? > > That's all we have. Ok. Going forward, will the logs we have now be preserved, or do they get rotated away? >>>> a list of downloads per version, etc. >>> Currently I count the "interest" in the package, so I don't distinguish >>> the version of the package, nor whether the access is for the tarball or >>> the package's web page, or the package's readme.txt, or the package's badge. >> That seems like a very different kind of data than the number of times >> a package has been downloaded (i.e. by an Emacs instance). IME a small >> fraction of hits to a package's GitHub repo seem to result in installations; >> "interest" tends to be far more than "interested enough to install." > > Just because the "interest" tends to be far more than "interested enough > to install" doesn't mean that the two aren't strongly correlated. > Also my impression is that package web pages in `elpa.gnu.org` are not > visited nearly as often as a Github project page. > > But it'd be definitely worth checking how the two measures compare. > Patches welcome. Ok, meaning that you'd accept a patch that does...what, exactly, to the database? :) >>> I'd like to the keep the stats database reasonably small (it's currently >>> around 150kB, and I expect it'll take a year before it reaches 1MB), so >>> I'd rather not segregate per version. >> Is there a way that I could change your mind about that? Having the actual >> download counts per version would be very useful. > > Maybe if you argue about what kind of use would make it useful? For example, if a package at version V has N downloads after 6 months, and then the package is updated to version V+1, how many downloads that version has after 6 months would give some indication of whether the package is growing in popularity, whether initial users are still using it and upgrading it, or whether it's falling out of favor. And, over time, that might help determine whether an obsolete package should be removed from ELPA. Also, since a package's minimum Emacs version may increase when its version increases, that could provide some useful information (not that I'm suggesting to track that in the ELPA code, but some other tool could correlate the data). > My goal was mostly to show relative popularity, so when you search for > packages providing a given feature and you find 4 different options, the > rank percentile can give you an idea of which one is more popular. That's definitely a worthy goal. Another goal that's relevant to me, as a package author, is to determine whether a package of mine is still in use at all. For example, my package org-ql is intended to subsume my older package, org-rifle, but I hear now and then about people who still use org-rifle. Eventually I'd like to see that the downloads of org-rifle fall off to the point that I could declare it an archived, obsoleted package, but I don't want to do that prematurely. (Those packages are on MELPA, but the principle applies regardless.) --Adam From unknown Fri Sep 19 21:46:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50686: Show number of downloads on packages on GNU ELPA/NonGNU ELPA Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Mar 2024 22:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Adam Porter Cc: 50686@debbugs.gnu.org, stefan@marxist.se, larsi@gnus.org Received: via spool by 50686-submit@debbugs.gnu.org id=B50686.17101952577709 (code B ref 50686); Mon, 11 Mar 2024 22:15:01 +0000 Received: (at 50686) by debbugs.gnu.org; 11 Mar 2024 22:14:17 +0000 Received: from localhost ([127.0.0.1]:41435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjnuS-00020F-GE for submit@debbugs.gnu.org; Mon, 11 Mar 2024 18:14:17 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:26000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjnuN-0001zp-Hu for 50686@debbugs.gnu.org; Mon, 11 Mar 2024 18:14:13 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 29CAF80C41; Mon, 11 Mar 2024 18:13:31 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1710195209; bh=sU33E/ifQ+Co1zfWA9VRK72QFSjEsj9cDn/XeY48RkY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=bkdI6A+TrhjVzkq/ihml4vOW9Mv4S2ObW2P1+Jiv05n3P0tPuE0RdmNFmEFlXjSpD P6GvMvcp9CyMYegeoRRjJoqdMhb5w3L9i5jOc+QtL1MGRfVxWavFMK+4F0jDc9iNYD iFoTDpypTQceDdxwIKx236+PZ9zoqcWqCI/usEOXqIlWM/nhWvO6o5s0d7+xI10zge kgLnbnbJ72ADDAroMmrys527cRkCU6aWsjyny/Qe0jkWKXKHduUID4N1DoxmywdZNq gC421YN6yLLHlSreBwIoxCRXpU4kHOeGf52JSD+ngE4KcstGX57I7chqFZ07RCx6AU TAGqDUuvmeUiA== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id C950C80B0E; Mon, 11 Mar 2024 18:13:29 -0400 (EDT) Received: from alfajor (69-165-147-56.dsl.teksavvy.com [69.165.147.56]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 9576C120748; Mon, 11 Mar 2024 18:13:29 -0400 (EDT) From: Stefan Monnier In-Reply-To: (Adam Porter's message of "Mon, 11 Mar 2024 15:55:47 -0500") Message-ID: References: <985acef0-69f1-39c3-1354-9a49149c9df9@alphapapa.net> <1f2a10bf-c135-480d-9b79-17b64090fc7e@alphapapa.net> Date: Mon, 11 Mar 2024 18:13:28 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) >>>> I had the logs only for a two weeks or so (plus some old logs from >>>> many years ago, actually), indeed. >>> I see. Are the rest of the logs still available on the ELPA server, or is >>> that all we have for historical data? >> That's all we have. > Ok. Going forward, will the logs we have now be preserved, or do they get > rotated away? They get rotated away. We do keep the weekly counts that we accumulate in our `wsl-stats.eld` file. >>>>> a list of downloads per version, etc. >>>> Currently I count the "interest" in the package, so I don't distinguish >>>> the version of the package, nor whether the access is for the tarball or >>>> the package's web page, or the package's readme.txt, or the package's badge. >>> That seems like a very different kind of data than the number of times >>> a package has been downloaded (i.e. by an Emacs instance). IME a small >>> fraction of hits to a package's GitHub repo seem to result in installations; >>> "interest" tends to be far more than "interested enough to install." >> Just because the "interest" tends to be far more than "interested enough >> to install" doesn't mean that the two aren't strongly correlated. >> Also my impression is that package web pages in `elpa.gnu.org` are not >> visited nearly as often as a Github project page. >> But it'd be definitely worth checking how the two measures compare. >> Patches welcome. > Ok, meaning that you'd accept a patch that does...what, exactly, to the > database? :) I guess keep separate counts for tarballs and other files, so we can compare? >>>> I'd like to the keep the stats database reasonably small (it's currently >>>> around 150kB, and I expect it'll take a year before it reaches 1MB), so >>>> I'd rather not segregate per version. >>> Is there a way that I could change your mind about that? Having the actual >>> download counts per version would be very useful. >> Maybe if you argue about what kind of use would make it useful? > > For example, if a package at version V has N downloads after 6 months, and > then the package is updated to version V+1, how many downloads that version > has after 6 months would give some indication of whether the package is > growing in popularity, whether initial users are still using it and > upgrading it, or whether it's falling out of favor. And, over time, that > might help determine whether an obsolete package should be removed > from ELPA. Ah, so as to factor out the fact that frequently updated packages will naturally see more downloads? I guess that would make sense. Not completely sure how to write the code, tho: I can see how to go and dig in the numbers to answer "is the new version less/more popular than the old one", but not how to use that insight to adjust the percentile ranking of the package. >> My goal was mostly to show relative popularity, so when you search for >> packages providing a given feature and you find 4 different options, the >> rank percentile can give you an idea of which one is more popular. > > That's definitely a worthy goal. > > Another goal that's relevant to me, as a package author, is to determine > whether a package of mine is still in use at all. For example, my package > org-ql is intended to subsume my older package, org-rifle, but I hear now > and then about people who still use org-rifle. Eventually I'd like to see > that the downloads of org-rifle fall off to the point that I could declare > it an archived, obsoleted package, but I don't want to do that prematurely. > (Those packages are on MELPA, but the principle applies regardless.) Right. I guess it would be hard to do because of the mirroring-style downloads, so even the least popular package still gets downloads. It's not super high on my todo list for now, but if you're interested in improving this, I'll be happy to take your patches, install them and let you play with it to see what comes up. Currently the `wsl-states.eld` "database" is not exposed on the web site, part of it is because it contains some "irrelevant" entries (accesses to non-existing files, some of them very much on purpose because their names look like "_nonexisting") which may contain information I'd rather not expose. We should try and sanitize it first to only keep things which do correspond to existing packages/files (which will also improve the quality of the rankings). Stefan