Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608880 - sys-apps/portage: make eapply_user allow more-specific directories to override or mask patches from less specific directories
Summary: sys-apps/portage: make eapply_user allow more-specific directories to overrid...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 627566
  Show dependency tree
 
Reported: 2017-02-10 16:55 UTC by Zac Medico
Modified: 2021-04-25 05:42 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 Zac Medico gentoo-dev 2017-02-10 16:55:50 UTC
Unlike epatch_user, the eapply_user implementation added in f188c989317a58ffc54cc0c022c728c100de9000 applies patches from multiple directories. Also, it applies more-specific patches before less-specific patches.

In order to enhance the existing behavior, it would make sense to:

* create a combined list of patches from all matched directories, and apply them all using the sorted order of basenames of the patches

* allow more-specific directories to override or mask patches from less-specific directories (patches would be masked by creating a symlink to /dev/null, having the same basename as the matched patch)

These enhancements would allow more control, while keeping the behavior roughly compatible with the existing behavior.