Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567490 - list user patches in emerge --info output for a specific package
Summary: list user patches in emerge --info output for a specific package
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-03 19:49 UTC by Patrick McLean
Modified: 2017-03-16 23:06 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 Patrick McLean gentoo-dev 2015-12-03 19:49:10 UTC
Now that we have eapply_user in EAPI=6, it would likely be very useful to see if a user has any patches applied when triaging bug reports.

Probably the nicest way to do this would be to have "emerge --info <pkg>" display a list of the patches that were applied as part of the merge process.
Comment 1 Zac Medico gentoo-dev 2015-12-03 20:06:57 UTC
(In reply to Patrick McLean from comment #0)
> Probably the nicest way to do this would be to have "emerge --info <pkg>"
> display a list of the patches that were applied as part of the merge process.

Should we only include the basenames of the patches? We'll have to record this information in /var/db/pkg/*/*/EAPPY_USER_PATCHES or something like that.
Comment 2 Patrick McLean gentoo-dev 2015-12-03 22:02:31 UTC
I would imagine that basenames would be sufficient, I don't see how more information than that would be useful.
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2015-12-04 08:00:24 UTC
I agree, just the patch names should be enough for devs to know it is user-patched.  From there, the user would need to test without patches to duplicate the error, prove it is not user patch related.  If need be supply the patches in attachments.
Comment 4 Zac Medico gentoo-dev 2017-03-16 23:06:11 UTC
It would also be nice to have a digest for the content of each patch, since it's possible that people modify/update patches in-place.