summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix traceback for bug #127573. Thanks to illuminata for reporting and ↵Zac Medico2006-03-251-1/+1
| | | | | | antarus for the patch. svn path=/main/trunk/; revision=3006
* Add lazy loading of virtuals in portage.do_vartree() for backward compatibility.Zac Medico2006-03-251-2/+22
| | | | svn path=/main/trunk/; revision=3004
* Load virtuals on demand in order to avoid needless vdb scanning during a ↵Zac Medico2006-03-251-30/+44
| | | | | | simple 'import portage'. Virtuals are loaded during import, for initialization of portage.settings, only when autouse is enabled (though autouse is disabled by default). svn path=/main/trunk/; revision=2999
* only reuse distfile checksums if the file doesn't existMarius Mauch2006-03-251-1/+1
| | | | svn path=/main/trunk/; revision=2998
* Make ebuild digest reuse existing checksumsMarius Mauch2006-03-251-1/+1
| | | | svn path=/main/trunk/; revision=2997
* Make ebuild digest a bit more verboseMarius Mauch2006-03-251-1/+7
| | | | svn path=/main/trunk/; revision=2996
* PORTAGE_WORKDIR_MODE is octalMarius Mauch2006-03-241-1/+1
| | | | svn path=/main/trunk/; revision=2994
* Add manifest2 support.Marius Mauch2006-03-241-168/+99
| | | | svn path=/main/trunk/; revision=2990
* Fix crappy error handling for PORTAGE_WORKDIR_MODEMarius Mauch2006-03-241-5/+12
| | | | svn path=/main/trunk/; revision=2989
* When the post preinst shell tasks fail, write a message to stderr and return ↵Zac Medico2006-03-231-1/+3
| | | | | | it's exit status so that die calls (inside preinst_selinux_labels for example) can work correctly. svn path=/main/trunk/; revision=2974
* Write a message to stderr indicating when install_qa_check fails. See bug ↵Zac Medico2006-03-231-1/+4
| | | | | | #126442. svn path=/main/trunk/; revision=2973
* Fix sandbox feature (broken since r2947).Zac Medico2006-03-201-1/+3
| | | | svn path=/main/trunk/; revision=2963
* Move CacheError from the block of python imports to the block of portage ↵Marien Zwart2006-03-201-2/+2
| | | | | | imports, fix spelling in error message. svn path=/main/trunk/; revision=2960
* Compare new digest data with old digest data and rewrite the new digest only ↵Zac Medico2006-03-191-18/+16
| | | | | | if they differ. Thanks to AllanonJL for reporting this issue. svn path=/main/trunk/; revision=2951
* Reset the selinux security context before returning from spawn (regression ↵Zac Medico2006-03-181-7/+9
| | | | | | from r2834). See bug #126711. svn path=/main/trunk/; revision=2947
* Fix typo from the last revision.Zac Medico2006-03-181-1/+1
| | | | svn path=/main/trunk/; revision=2946
* Stop swallowing IOError and TypeError exceptions in portdbapi.gvisible(). ↵Zac Medico2006-03-181-2/+6
| | | | | | Write instances of PortageException to stderr. Thanks to marienz for reporting. svn path=/main/trunk/; revision=2945
* Minor speedup for findname2, suggested by Brian HarringAlec Warner2006-03-181-10/+12
| | | | svn path=/main/trunk/; revision=2941
* Change os.makedirs to makedirs (typo from r2934).Zac Medico2006-03-181-1/+1
| | | | svn path=/main/trunk/; revision=2936
* Fix a typo from the last revision.Zac Medico2006-03-181-1/+1
| | | | svn path=/main/trunk/; revision=2935
* Use one makedirs function for all directory creations inside prepare_build_dirs.Zac Medico2006-03-181-67/+33
| | | | svn path=/main/trunk/; revision=2934
* Use loops to consolidate directory cleaning and creation in prepare_build_dirs.Zac Medico2006-03-181-57/+46
| | | | svn path=/main/trunk/; revision=2932
* Fix PORTAGE_WORKDIR_MODE parsing so that the validated value is stored in ↵Zac Medico2006-03-181-2/+5
| | | | | | mysettings. svn path=/main/trunk/; revision=2930
* Catch a possible SyntaxError from the eval function when parsing ↵Zac Medico2006-03-181-1/+1
| | | | | | PORTAGE_WORKDIR_MODE. Thanks to solar for reporting. svn path=/main/trunk/; revision=2929
* Use apply_recursive_permissions for DISTCC_DIR.Zac Medico2006-03-181-7/+4
| | | | svn path=/main/trunk/; revision=2928
* Use apply_recursive_permissions for CCACHE_DIR. Also fix a typo in error ↵Zac Medico2006-03-181-26/+35
| | | | | | handling for CONFCACHE_DIR from r2912. svn path=/main/trunk/; revision=2927
* Use apply_recursive_permissions for CONFCACHE_DIR.Zac Medico2006-03-181-19/+5
| | | | svn path=/main/trunk/; revision=2926
* Add a generic apply_recursive_permissions function and use is for ↵Zac Medico2006-03-181-21/+3
| | | | | | $DISTDIR/cvs-src. svn path=/main/trunk/; revision=2925
* For better handling of $DISTDIR/cvs-src permissions, use os.walk instead of ↵Zac Medico2006-03-171-7/+21
| | | | | | spawning chgrp and chmod. svn path=/main/trunk/; revision=2922
* Fix error handling for $DISTDIR/cvs-src creation and permissions in doebuild.Zac Medico2006-03-171-21/+27
| | | | svn path=/main/trunk/; revision=2919
* Improve error handling in prepare_build_dirs for PORT_LOGDIR. Fix doebuild ↵Zac Medico2006-03-171-23/+40
| | | | | | 'logfile' which has caused broken logging since r2894. svn path=/main/trunk/; revision=2915
* Error handling in prepare_build_dirs for DISTCC_DIR.Zac Medico2006-03-171-13/+26
| | | | svn path=/main/trunk/; revision=2914
* Disable confcache when it's not possible to apply correct group permissions ↵Zac Medico2006-03-171-1/+1
| | | | | | to an existing file in CONFCACHE_DIR. svn path=/main/trunk/; revision=2913
* Improve error handling in the CONFCACHE_DIR section of prepare_build_dirs. ↵Zac Medico2006-03-171-35/+40
| | | | | | Thanks to solar for reporting this issue. svn path=/main/trunk/; revision=2912
* Use the built-in bool() function to convert 1 or 0 to True or False as ↵Zac Medico2006-03-171-3/+1
| | | | | | recommended by marienz. svn path=/main/trunk/; revision=2909
* Implement __contains__ for portage.config so that it calls has_key, enabling ↵Zac Medico2006-03-161-0/+6
| | | | | | membership test operators (in and not in) to work as expected. svn path=/main/trunk/; revision=2907
* Revert a hunk from r2834 because PORTAGE_SANDBOX_T is used incorrectly where ↵Zac Medico2006-03-161-3/+8
| | | | | | PORTAGE_FETCH_T should be used for selinux fetch. Thanks to spb for reporting. svn path=/main/trunk/; revision=2906
* Move environment variables WORKDIR, D, and T from prepare_build_dirs to ↵Zac Medico2006-03-161-6/+6
| | | | | | doebuild_environment. svn path=/main/trunk/; revision=2904
* Add a new PORTAGE_WORKDIR_MODE config variable so that the mode of WORKDIR ↵Zac Medico2006-03-161-0/+17
| | | | | | is no longer hard coded. See bug #8688. svn path=/main/trunk/; revision=2901
* Check the return value of prepare_build_dirs and return early from doebuild ↵Zac Medico2006-03-151-1/+3
| | | | | | if necessary. svn path=/main/trunk/; revision=2895
* Split the bulk of directory preparation out of doebuild into a new ↵Zac Medico2006-03-151-178/+181
| | | | | | prepare_build_dirs function. svn path=/main/trunk/; revision=2894
* Split the bulk of ebuild environment setup out of doebuild into a new ↵Zac Medico2006-03-151-34/+37
| | | | | | doebuild_environment function. svn path=/main/trunk/; revision=2893
* Use writemsg_stdout for update_ents and move_ent routines. See bug #126111.Zac Medico2006-03-151-6/+4
| | | | svn path=/main/trunk/; revision=2892
* Send a global updates messages to stdout for bug #126111.Zac Medico2006-03-141-9/+9
| | | | svn path=/main/trunk/; revision=2888
* Comma's are for pussies ( fixing regression from last reivision )Alec Warner2006-03-141-2/+2
| | | | svn path=/main/trunk/; revision=2887
* marienz pointed out that 'raise e' actually raises a new exception, which is ↵Alec Warner2006-03-141-8/+6
| | | | | | not intended here, so we raise instead of raising e svn path=/main/trunk/; revision=2886
* Remove SystemExit's from portage imports, raise on the correct exception, ↵Alec Warner2006-03-141-25/+7
| | | | | | don't die if imports fail. svn path=/main/trunk/; revision=2884
* Remove some SystemExit exceptions, make portage behave during a ctrl+cAlec Warner2006-03-141-7/+3
| | | | svn path=/main/trunk/; revision=2883
* Move the "noclean" feature check into clean phase part of doebuild.Zac Medico2006-03-141-4/+4
| | | | svn path=/main/trunk/; revision=2879
* Use a separate PORTAGE_BUILDDIR for overlapping install and unmerge phases ↵Zac Medico2006-03-141-16/+14
| | | | | | in order to prevent interference between {pre,post}inst and {pre,post}rm phases. See bug #125942. svn path=/main/trunk/; revision=2878