Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28152 - try is deprecated and should display as such
Summary: try is deprecated and should display as such
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2003-09-07 23:39 UTC by SpanKY
Modified: 2011-10-30 22:20 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 SpanKY gentoo-dev 2003-09-07 23:39:12 UTC
personally i'd prefer if we just take the try() function out of ebuild.sh but
some people would prefer a slower approach ...

that is, put an 'eerror' or 'ewarn' inside the function ... maybe like this:
try() {
    eerror "TRY() IS DEPRECATED.  PLEASE FILE A BUG AT http://bugs.gentoo.org/
TO GET THIS FIXED."
    <rest of try code>
}
Comment 1 SpanKY gentoo-dev 2003-09-08 00:02:39 UTC
oh, and repoman should check for it ...
aaaaaaaaand it'd be cool to note that i just finished updating all the ebuilds (that i found via a `grep -R try /usr/portage/*-*`) that still used `try`
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-12-10 04:11:04 UTC
Removed.
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-02-08 17:55:36 UTC
supposed to be fixed in 2.0.50 which is stable now. If this bug is not fixed please reopen.