* bug#30566: While searching for packages, deprecated packages should be ignored
@ 2018-02-21 9:03 Björn Höfling
2018-02-27 14:49 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Björn Höfling @ 2018-02-21 9:03 UTC (permalink / raw)
To: 30566
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
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
description:
[..]
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`:
```
(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örn
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#30566: While searching for packages, deprecated packages should be ignored
2018-02-21 9:03 bug#30566: While searching for packages, deprecated packages should be ignored Björn Höfling
@ 2018-02-27 14:49 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-02-27 14:49 UTC (permalink / raw)
To: Björn Höfling; +Cc: 30566-done
Hello Björn,
Björn Höfling <bjoern.hoefling@bjoernhoefling.de> 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’t want people to use the deprecated name.
Thank you!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-02-27 14:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-21 9:03 bug#30566: While searching for packages, deprecated packages should be ignored Björn Höfling
2018-02-27 14:49 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.