Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592410 - app-portage/gentoolkit: equery c could ask git history for git repositories
Summary: app-portage/gentoolkit: equery c could ask git history for git repositories
Status: RESOLVED OBSOLETE
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-30 06:58 UTC by Martin Väth
Modified: 2022-07-10 00:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2016-08-30 06:58:25 UTC
It would be nice if "equery c" would ask the git history for git repositories.

There must be already some code in portage which does this, because the ChangeLogs can be generated from this history by

egencache --changelog-reversed --update-changelogs

so perhaps this interface can be made public such that equery can access it.

From the user perspective, it would be a huge waste of resources to generate ChangeLogs for all git repositories he uses only for being able to use "equery c" conveniently: very likely the indirect asking of git is not remarkably slower than reading only the ChangeLog. On the other hand, without generating the ChangeLogs, it is currently very inconvenient for the user, because he has to manually change into all directories of the corresponding repositories and send an appropriate git command there. Of course, the latter might be done by a script, but shouldn't equery be such a script?
Comment 1 Sebastian Pucilowski 2016-08-30 21:21:57 UTC
With portage syncing to a git mirror:


# emerge -DuqN world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ~] dev-python/numpy-1.11.1 [1.11.0] PYTHON_TARGETS="-python3_3%"
# equery c numpy
!!! Fatal error: /usr/portage/dev-python/numpy/ChangeLog does not exist or is unreadable

Add '--debug' to global options for traceback.
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2022-07-10 00:49:18 UTC
Since changelogs are obsolete and no longer generated.  I am going to call this one as obsolete.  

Please re-open if still relevant.