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: Sun, 19 Sep 2021 14:13:08 -0700 Message-ID: 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="16995"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca To: 50686@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 19 23:14:22 2021 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 1mS48j-0004Ft-SZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 23:14:21 +0200 Original-Received: from localhost ([::1]:49816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mS48i-0006Le-OP for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 17:14:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mS48Q-0006IY-QO for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 17:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56823) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mS48Q-0003wt-IZ for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 17:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mS48Q-00082z-EU; Sun, 19 Sep 2021 17:14:02 -0400 X-Loop: help-debbugs@gnu.org 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-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: monnier@iro.umontreal.ca Original-Received: via spool by submit@debbugs.gnu.org id=B.163208599530872 (code B ref -1); Sun, 19 Sep 2021 21:14:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Sep 2021 21:13:15 +0000 Original-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 Original-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 Original-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 Original-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 Original-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) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 19 Sep 2021 14:13:08 -0700 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-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" Xref: news.gmane.io gmane.emacs.bugs:214790 Archived-At: 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.