From unknown Sat Jun 21 12:30:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44085: 27.1; enhance package meta-data for ELPA/package.el Resent-From: Corwin Brust Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Oct 2020 21:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44085 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 44085@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160314459115465 (code B ref -1); Mon, 19 Oct 2020 21:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Oct 2020 21:56:31 +0000 Received: from localhost ([127.0.0.1]:42677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUd8p-00041M-0s for submit@debbugs.gnu.org; Mon, 19 Oct 2020 17:56:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:43442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUd8n-00041F-5D for submit@debbugs.gnu.org; Mon, 19 Oct 2020 17:56:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUd8m-0003yz-Sd for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2020 17:56:28 -0400 Received: from mail-ej1-f45.google.com ([209.85.218.45]:38454) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUd8j-0006A4-D9 for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2020 17:56:28 -0400 Received: by mail-ej1-f45.google.com with SMTP id ce10so1203482ejc.5 for ; Mon, 19 Oct 2020 14:56:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=YbgQsTz6AUxwcoj7Olv3dsxcTHs/x0yrKNFT5wKbwYc=; b=OyFz+H9CbJb+nXYFM/MsSVjCu1PsofKwxQY1bD5kAty4Cd1e4KgUXgtoFsjdQAdfKY wb0wg2tZeVb76YaSOp/f+8pJ9BMJlROUWILCDMTF1FqDoVlpnsWhOxxk5RfBl9uDdMV8 1FxgKEs2lBX06oRMsFp1Y52E1ijAIo49O58qfYtYsbxkoGd44wga9X0LJuxBOjESW4L8 7bOcxKdc7lZL3KdGLI0gLsIE93ho6iK0ZpcvhkJJN/aekUdY2ic1nrMjiIl0zXENx6wB xu+bK7Yr52VmJrGqHbnYhci4OoY9T5+nXjzD1WufrAJsNQPkP29uLLZsq/TagIgy9XBH SubQ== X-Gm-Message-State: AOAM531H52OQGOz4upoZ6sGduzhkT+rQ/nGlclHHL2crHM5vf97KsQBM s2Dou80RTATFYgbvudZrnuzw+KEml41K2wvYKDaevEvU+YXkPA== X-Google-Smtp-Source: ABdhPJxOc0WUXL6J2zUuVqXL/T00gPZmyJ4D2wTJnk7pH5H66bDjWO8rKRtYH2E4DDtKe1dfUoVLPR6l3a6b/WLOjL4= X-Received: by 2002:a17:906:340b:: with SMTP id c11mr1914198ejb.213.1603144583101; Mon, 19 Oct 2020 14:56:23 -0700 (PDT) MIME-Version: 1.0 From: Corwin Brust Date: Mon, 19 Oct 2020 16:56:12 -0500 Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=209.85.218.45; envelope-from=mplscorwin@gmail.com; helo=mail-ej1-f45.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/19 17:56:24 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.2 (+) 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: It is not currently possible out-of-the-box to make `package-list-packages', for example, sort available packages based on which have been updated most recently. Other Emacs Lisp Package Archives (e.g. MELPA) solve this problem by prefixing release versions with a strictly formatted date-string, thus if one removes ELPA from `package-archives' one is able to s [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mplscorwin[at]gmail.com) 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 2.0 SPOOFED_FREEMAIL 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: -1.8 (-) It is not currently possible out-of-the-box to make `package-list-packages', for example, sort available packages based on which have been updated most recently. Other Emacs Lisp Package Archives (e.g. MELPA) solve this problem by prefixing release versions with a strictly formatted date-string, thus if one removes ELPA from `package-archives' one is able to sort by version to see those packages updated most/least recently. If one does not first remove ELPA all ELPA listing are pushed to the top and no indication of how empericaly recently (e.g. date or elapased time) ELPA hosted packages have been updated. While it could be easy for ELPA to follow the convention adopted elsewhere and provide the desired behavior consistantly that way, this feels like a hack. This request is to add additional meta-data, especially package-last-updated-datetime, or similar, to package.el and provide guidance to package authors to support this/these new data. (Hopefully this can be approached so that package authors would not explicitly set release date/time values often or at all as that seems error prone.) To reproduce (under Emacs -Q): 1. start Emacs 2. M-x package-list-packages 3. click the Version header 4. Note lack of indication when any given packags was last udpated Compare with: 1. start Emacs 2. M-: (setq package-archives (("MELPA" . "https://melpa.org/packages/"))) RETURN 3. click the version header 4. Note packages are sorted with the most recently updated listed first. In GNU Emacs 27.1 (build 1, x86_64-w64-mingw32) of 2020-08-21 built on CIRROCUMULUS Repository revision: 86d8d76aa36037184db0b2897c434cdaab1a9ae8 Repository branch: HEAD Windowing system distributor 'Microsoft Corp.', version 10.0.18363 System Description: Microsoft Windows 10 Home (v10.0.1909.18363.1139) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Debug on Error enabled globally Configured using: 'configure --without-dbus --host=x86_64-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date subr-x cl-loaddefs cl-lib cus-start cus-load tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 53994 9940) (symbols 48 6967 1) (strings 32 18567 1707) (string-bytes 1 542031) (vectors 16 9270) (vector-slots 8 123454 7690) (floats 8 22 250) (intervals 56 222 0) (buffers 1000 11)) -- Corwin 612-217-1742 612-298-0615 (fax) 612-695-4276 (mobile) corwin.brust (skype) corwin@bru.st