From unknown Tue Jun 17 01:49:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30566: While searching for packages, deprecated packages should be ignored Resent-From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 21 Feb 2018 09:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30566 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 30566@debbugs.gnu.org X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.151920381127909 (code B ref -1); Wed, 21 Feb 2018 09:04:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2018 09:03:31 +0000 Received: from localhost ([127.0.0.1]:53591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoQJG-0007G4-Re for submit@debbugs.gnu.org; Wed, 21 Feb 2018 04:03:31 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoQJF-0007Fr-Vu for submit@debbugs.gnu.org; Wed, 21 Feb 2018 04:03:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoQJ9-00043F-VR for submit@debbugs.gnu.org; Wed, 21 Feb 2018 04:03:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35593) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eoQJ9-000433-S7 for submit@debbugs.gnu.org; Wed, 21 Feb 2018 04:03:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoQJ8-0002Kk-G5 for bug-guix@gnu.org; Wed, 21 Feb 2018 04:03:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoQJ4-0003ym-AI for bug-guix@gnu.org; Wed, 21 Feb 2018 04:03:21 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:51475 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoQJ4-0003y9-34 for bug-guix@gnu.org; Wed, 21 Feb 2018 04:03:18 -0500 Received: from alma-ubu (pD951FC9C.dip0.t-ipconnect.de [217.81.252.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 92D4D403F9 for ; Wed, 21 Feb 2018 10:03:16 +0100 (CET) Date: Wed, 21 Feb 2018 10:03:16 +0100 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20180221100316.42ccce5f@alma-ubu> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) When I search for a deprecated package, I get both the deprecated package and the new one. That is quite confusing and I can't decide which one to take. For example: $ guix package -s geiser name: geiser-next version: 0.9 outputs: out systems: x86_64-linux i686-linux armhf-linux aarch64-linux mips64el-linux dependencies: emacs-minimal-25.3 guile-2.0.14 location: guix/packages.scm:335:2 homepage: https://nongnu.org/geiser/ license: Modified BSD synopsis: Collection of Emacs modes for Guile and Racket hacking =20 description: [..] relevance: 6 name: geiser version: 0.9 outputs: out systems: x86_64-linux i686-linux armhf-linux aarch64-linux mips64el-linux dependencies: emacs-minimal-25.3 guile-2.0.14 location: gnu/packages/emacs.scm:314:2 homepage: https://nongnu.org/geiser/ license: Modified BSD synopsis: Collection of Emacs modes for Guile and Racket hacking =20 description:=20 [..] relevance: 6 Here I get two exactly same results, besides the package name and the source code line number. I have to look into the package sources to find out which of the two is the not-deprecated one. As a user, I would like to see only the new package mentioned. Maybe some users also want a short note like: "geiser formerly known as geiser-new." Technical background: `deprecated-package` is defined in `guix/packages.scm`:=20 ``` (define (deprecated-package old-name p) "Return a package called OLD-NAME and marked as superseded by P, a package object." (package (inherit p) (name old-name) (properties `((superseded . ,p))))) ``` That means the `guix package -s` should somehow make use of the `superseeded` property. Bj=C3=B6rn From unknown Tue Jun 17 01:49:01 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Subject: bug#30566: closed (Re: bug#30566: While searching for packages, deprecated packages should be ignored) Message-ID: References: <87fu5m32tc.fsf@gnu.org> <20180221100316.42ccce5f@alma-ubu> X-Gnu-PR-Message: they-closed 30566 X-Gnu-PR-Package: guix Reply-To: 30566@debbugs.gnu.org Date: Tue, 27 Feb 2018 14:50:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1519743003-15698-1" This is a multi-part message in MIME format... ------------=_1519743003-15698-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #30566: While searching for packages, deprecated packages should be ignored which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 30566@debbugs.gnu.org. --=20 30566: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30566 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1519743003-15698-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30566-done) by debbugs.gnu.org; 27 Feb 2018 14:49:40 +0000 Received: from localhost ([127.0.0.1]:34599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eqgZX-00044W-TG for submit@debbugs.gnu.org; Tue, 27 Feb 2018 09:49:40 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:52532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eqgZV-00044N-Us for 30566-done@debbugs.gnu.org; Tue, 27 Feb 2018 09:49:38 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id D05C711FDE; Tue, 27 Feb 2018 15:49:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ROYo1wPpwbCf; Tue, 27 Feb 2018 15:49:36 +0100 (CET) Received: from ribbon (unknown [193.50.110.216]) by hera.aquilenet.fr (Postfix) with ESMTPSA id F297E10638; Tue, 27 Feb 2018 15:49:35 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?Q?Bj=C3=B6rn_H=C3=B6fling?= Subject: Re: bug#30566: While searching for packages, deprecated packages should be ignored References: <20180221100316.42ccce5f@alma-ubu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 9 =?utf-8?Q?Vent=C3=B4se?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 27 Feb 2018 15:49:35 +0100 In-Reply-To: <20180221100316.42ccce5f@alma-ubu> (=?utf-8?Q?=22Bj=C3=B6rn?= =?utf-8?Q?_H=C3=B6fling=22's?= message of "Wed, 21 Feb 2018 10:03:16 +0100") Message-ID: <87fu5m32tc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30566-done Cc: 30566-done@debbugs.gnu.org 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.0 (+) Hello Bj=C3=B6rn, Bj=C3=B6rn H=C3=B6fling skribis: > I have to look into the package sources to find out which of the two is > the not-deprecated one. Fixed in 0fb405796cdb5579c911b30da9d40b4a18cd7f07. Deprecated packages are entirely hidden in this case, which I think is the right thing: we don=E2=80=99t want people to use the deprecated name. Thank you! Ludo=E2=80=99. ------------=_1519743003-15698-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Feb 2018 09:03:31 +0000 Received: from localhost ([127.0.0.1]:53591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoQJG-0007G4-Re for submit@debbugs.gnu.org; Wed, 21 Feb 2018 04:03:31 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoQJF-0007Fr-Vu for submit@debbugs.gnu.org; Wed, 21 Feb 2018 04:03:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoQJ9-00043F-VR for submit@debbugs.gnu.org; Wed, 21 Feb 2018 04:03:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35593) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eoQJ9-000433-S7 for submit@debbugs.gnu.org; Wed, 21 Feb 2018 04:03:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoQJ8-0002Kk-G5 for bug-guix@gnu.org; Wed, 21 Feb 2018 04:03:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoQJ4-0003ym-AI for bug-guix@gnu.org; Wed, 21 Feb 2018 04:03:21 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:51475 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoQJ4-0003y9-34 for bug-guix@gnu.org; Wed, 21 Feb 2018 04:03:18 -0500 Received: from alma-ubu (pD951FC9C.dip0.t-ipconnect.de [217.81.252.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 92D4D403F9 for ; Wed, 21 Feb 2018 10:03:16 +0100 (CET) Date: Wed, 21 Feb 2018 10:03:16 +0100 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= To: Subject: While searching for packages, deprecated packages should be ignored Message-ID: <20180221100316.42ccce5f@alma-ubu> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit 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: -5.0 (-----) When I search for a deprecated package, I get both the deprecated package and the new one. That is quite confusing and I can't decide which one to take. For example: $ guix package -s geiser name: geiser-next version: 0.9 outputs: out systems: x86_64-linux i686-linux armhf-linux aarch64-linux mips64el-linux dependencies: emacs-minimal-25.3 guile-2.0.14 location: guix/packages.scm:335:2 homepage: https://nongnu.org/geiser/ license: Modified BSD synopsis: Collection of Emacs modes for Guile and Racket hacking =20 description: [..] relevance: 6 name: geiser version: 0.9 outputs: out systems: x86_64-linux i686-linux armhf-linux aarch64-linux mips64el-linux dependencies: emacs-minimal-25.3 guile-2.0.14 location: gnu/packages/emacs.scm:314:2 homepage: https://nongnu.org/geiser/ license: Modified BSD synopsis: Collection of Emacs modes for Guile and Racket hacking =20 description:=20 [..] relevance: 6 Here I get two exactly same results, besides the package name and the source code line number. I have to look into the package sources to find out which of the two is the not-deprecated one. As a user, I would like to see only the new package mentioned. Maybe some users also want a short note like: "geiser formerly known as geiser-new." Technical background: `deprecated-package` is defined in `guix/packages.scm`:=20 ``` (define (deprecated-package old-name p) "Return a package called OLD-NAME and marked as superseded by P, a package object." (package (inherit p) (name old-name) (properties `((superseded . ,p))))) ``` That means the `guix package -s` should somehow make use of the `superseeded` property. Bj=C3=B6rn ------------=_1519743003-15698-1--