Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12884 - scrollkeeper-update gets run too many times when emerging a bunch of packages
Summary: scrollkeeper-update gets run too many times when emerging a bunch of packages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-28 22:31 UTC by Jared H. Hudson (RETIRED)
Modified: 2003-07-16 11:44 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 Jared H. Hudson (RETIRED) gentoo-dev 2002-12-28 22:31:59 UTC
For example when you install the gnome-list with GRP, scrollkeeper-update gets
run  many times over and over, which is just a waste of time, it would make more
sense to set a variable in each packages' post_inst that portage understands and
runs scrollkeeper-update only once at the end.
Comment 1 Spider (RETIRED) gentoo-dev 2003-01-03 04:04:06 UTC
This is a thorny problem, since each ebuild needs to run it if the ebuild
updates the scrollkeeper database.. We've trimmed it down so its only run when
.omf files are installed, but passing it all over to the end-of-session will not
work until a feature in portage supports that.

reassigning this to carpaski to hear his comments.
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-02-03 06:32:57 UTC
A pleasant way isn't gonna come by anytime soon.
At some point, after-the-merges/one-time runs will be possible, but
this is definately a holder.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-07-16 11:44:28 UTC
i'm going to close this issue because:

1. the issue isn't scrollkeeper-update really a hog if run in postinst(), which is what happens now.

2. previously, some packages ran scrollkeeper-update during src_install() with bad options, which caused it to regenerate scrollkeeper indexes that were never used. this has now been fixed for most packages with that symptom (mostly gnome ones)