Merged from trunk 8873:8896
| 8874 | Do an EBUILD_EXIT_STATUS_FILE sanity check in spawnebuild() |
| zmedico | where it spawns misc-functions.sh after the install phase. |
| 8876 | Add some documentation for ebuild phases and pre/post phase |
| zmedico | hooks that can be defined via bashrc. |
| 8877 | Add a "Quality Assurance" tag so that all chapters are |
| zmedico | consistently nested inside tags. |
| 8878 | * When installing a binary package, export the file name of |
| zmedico | the package as PORTAGE_BINPKG_FILE in order to give bashrc |
| | users an opportunity to do various things such as remove |
| | binary packages after they're installed. * Add a note in |
| | ebuild.sh explaining why hardcoded bash lists are needed for |
| | backward compatibility with <portage-2.1.4 since they assume |
| | that a newly installed version of ebuild.sh will work for |
| | pkg_postinst, pkg_prerm, and pkg_postrm when portage is |
| | upgrading itself. |
| 8882 | First import the main portage module without legacy globals |
| zmedico | since it is almost certain to succeed in that case. This |
| | provides access to the portage.exception namespace which is |
| | needed for later exception handling, like if |
| | portage.exception.PermissionDenied is raised when |
| | constructing the legacy global config instance. |
| 8883 | * Raise PermissionDenied from getconfig() when appropriate. |
| zmedico | * When available, make getconfig() include an invalid token |
| | in a ParseError message. |
| 8884 | Instead of calling sys.exit when a ParseError occurs in the |
| zmedico | config constructor, raise a ParseError and make emerge and |
| | portageq handle the error. This way consumers of the portage |
| | api can handle the ParseError rather than have their |
| | application exit. Thanks to lxnay for reporting. |
| 8887 | Bug #198398 - Make repoman bail out if support for RMD160 |
| zmedico | hash creation appears to be missing. |
| 8888 | Fix the check for bug #198398 so that it works even when |
| zmedico | running repoman from the root of the repo. |
| 8889 | Bug #202036 - In case of blockers, bail out earlier so that |
| zmedico | later code can assume there are no blockers. |
| 8891 | In filter_readonly_variables(), replace 'declare -r ' with |
| zmedico | 'declare ' instead of removing it completely. |
| 8892 | Bug #202068 - In order to filter unwanted variable |
| zmedico | assignments out of the bash environment, use a |
| | filter-bash-environment.py script that behaves similar to |
| | egrep -v except that it leaves bash here- documents intact. |
| 8893 | Use the sed -r option to enable extended regular expressions |
| zmedico | so that commonly used characters like (, ), and + don't have |
| | to be escaped. |
| 8894 | Bug #201848 - Mask ebuilds that do not define SLOT. |
| zmedico | |
| 8895 | Bug #201848 - Make the ebuild command reject ebuilds that do |
| zmedico | not define SLOT. |
| 8896 | Bug #201771 - Make unpack() detect common errors such as |
| zmedico | absolute paths that start with ${DISTDIR} and die an |
| | appropriate error message. Thanks to grobian for this patch. |
svn path=/main/branches/prefix/; revision=8938
15 files changed: