Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581796 - revdep-rebuild --library with age filter
Summary: revdep-rebuild --library with age filter
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-02 07:49 UTC by Robin Johnson
Modified: 2016-05-02 07: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 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2016-05-02 07:49:29 UTC
I was wondering about better incremental usage of 'revdep-rebuild --library', and would like to request that an age comparison be added.

I want to limit it to only files where the file being considered is OLDER than the library.

There are two places it could be done:
1. BUILD_TIME of the packages
2. mtime of ELF objects themselves.

This has two benefits:
1. Avoids rebuilding the same thing multiple times on two passes of revdep-build
2. Limiting the rebuild to only things that actually need it in a set.

This should be implemented in both the bash & python versions.