Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62983 - Aspell request: re-emerge ALL your aspell-LANG dictionaries done automatically.
Summary: Aspell request: re-emerge ALL your aspell-LANG dictionaries done automatically.
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-06 01:16 UTC by Roman Gaufman
Modified: 2006-03-16 18:26 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 Roman Gaufman 2004-09-06 01:16:19 UTC
Why doesnt the aspell ebuild do that for you? -- here is a good enough solution:

dicts=$(find /var/db/pkg/app-dicts/ -type d | grep aspell)
for dict in $dicts; do
    package=$(basename $dict)
    emerge ${package%-*}
done

its 5 short lines of code that save many headaches (in my opinion), and the right step to be able to use GLSA to automate security updates.

I do understand they should be supervised, yes, but I run glsa-check -f all twice a day automatically to make sure system stays secure and read the log files after for anything needed on my behalf and to test if changes didnt break anything -- trivial things like re-merging aspell-en however really aught to be done by the ebuild.

Also, this will be consistent, there are more than several ebuilds on portage that emerge "dependencies" after the package itself is merged.

Your thoughts?

Reproducible: Always
Steps to Reproduce:
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2004-09-21 16:40:43 UTC
well, if the dictionary was in your world file, then it will be upgraded if theres a new version. eg, emerge without -u.

Comment 2 Roman Gaufman 2004-10-26 10:11:31 UTC
ewarn "Please re-emerge ALL your aspell-LANG dictionaries"

So its not about updating a new version. Its about re-merging the current version.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-03-16 18:26:47 UTC
Calling emerge from within ebuild is neither allowed nor safe (race conditions, sandbox issues, etc. etc. etc.)

WONTFIX.