vaeth / eix

eix can access Gentoo portage ebuild information and description very quickly (using a local cache). It can also be used to access information on installed packages, local settings, and local and external overlays, and informs about changes in the tree
GNU General Public License v2.0
166 stars 14 forks source link

wrong installation time reported #119

Closed leapfog closed 5 months ago

leapfog commented 5 months ago

according to the manpage, the command

eix '-I*' --format '<installedversions:DATESORT>' | sort -n | cut -f2-3

should list installed packages, sorted by installation time.

Unfortunately that isn't true when a package has been installed with

emerge --getbinpkg y

vaeth commented 5 months ago

The manpage refers for eix-installed to CHECK_INSTALLED_OVERLAYS and USE_BUILD_TIME. With the latter variable, you can configure which time to use (cf. manpage).

leapfog commented 5 months ago

Yes, setting USE_BUILD_TIME=false indeed solved my problem. But when not reading the whole manpage, that comes with a bit of a surprise. Maybe a hint could be added to that example, pointing the user to USE_BUILD_TIME.