Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528760 - assert function should be described in ebuild.5 man page
Summary: assert function should be described in ebuild.5 man page
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Documentation (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, PATCH
Depends on:
Blocks:
 
Reported: 2014-11-09 18:12 UTC by Andrew Savchenko
Modified: 2016-02-02 14:03 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 Andrew Savchenko gentoo-dev 2014-11-09 18:12:58 UTC
Hello,

portage provides good function to check errors on pipes: assert.
It is mentioned in the dev manual:
https://devmanual.gentoo.org/ebuild-writing/error-handling/index.html
but is not mentioned in the man 5 ebuild.
This should be fixed.
Thanks!
Comment 1 Zac Medico gentoo-dev 2014-11-09 19:21:40 UTC
I have a patch for this in the following branch:

	https://github.com/zmedico/portage/tree/bug_528760

I've posted it for review here:

	http://thread.gmane.org/gmane.linux.gentoo.portage.devel/4761
Comment 3 Alexander Berntsen (RETIRED) gentoo-dev 2016-02-02 14:03:43 UTC
This was released in 2.1.15.