Summary: | app-portage/eix: Show SRC_URI and LICENSE | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joakim Tjernlund <joakim.tjernlund> |
Component: | Current packages | Assignee: | Michael Weber (RETIRED) <xmw> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | enhancement | CC: | martin |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Joakim Tjernlund
2018-09-19 10:59:23 UTC
LICENSE: You can use "eix -Iv eix" (which displays also a little bit more). Or you can define your own format. For instance, you can modify the output of eix --dump|grep FORMAT_ALL= and insert %{FORMATLINE_LICENSES} (e.g. after %{FORMATLINE_DESCRIPTION}), and then export the new FORMAT_ALL variable (or put the assignment into some file from /etc/eixrc/ or into ~/.eixrc). SRC_URI: This data is currently not stored in the eix database, because it would presumably double or triple the size of the database (with a corresponding slowdown) for not too much gain. Unless there is a very good reason I also do not indent to change this, since SRC_URI is only useful if it would be stored/displayed for each version (instead of a package), i.e. it would only go to the output of "eix -Ivl eix" (In reply to Martin Väth from comment #1) > LICENSE: You can use "eix -Iv eix" (which displays also a little bit more). > Or you can define your own format. For instance, you can modify the output of > eix --dump|grep FORMAT_ALL= > and insert %{FORMATLINE_LICENSES} (e.g. after %{FORMATLINE_DESCRIPTION}), > and then export the new FORMAT_ALL variable (or put the assignment into some > file from /etc/eixrc/ or into ~/.eixrc). OK, this will work for me, thanks. > > SRC_URI: This data is currently not stored in the eix database, because it > would presumably double or triple the size of the database (with a > corresponding slowdown) for not too much gain. > Unless there is a very good reason I also do not indent to change this, > since SRC_URI is only useful if it would be stored/displayed for each > version (instead of a package), i.e. it would only go to the output of "eix > -Ivl eix" I see, I would only need SRC_URI for installed pkgs. I tend to use eix to get of list of installed pkgs in the system for documentation purposes. Maybe there another way to get at the SRC_URI ? Unfortunately, portage does not store the SRC_URI of installed packages in /var/db. It seems the only way to get the information is to use the metadata. After thinking it over, I decided that eix should optionally support SRC_URI, depending on the value of a new eix configuration variable SRC_URI. (So that people who do not want the increase of disk/memory usage can configure eix correspondingly). The new version with this optional support is now in the git repository. The corresponding alpha version eix-0.33.5_alpha20180919 is in the mv overlay. In that overlay there is also a USE-flag for setting the default value of SRC_URI. |