summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix typo in variable name from last revision.Zac Medico2006-03-171-1/+1
| | | | svn path=/main/trunk/; revision=2918
* Fix the apply_permissions XOR logic so that mask removes mode bits correctly.Zac Medico2006-03-171-2/+2
| | | | svn path=/main/trunk/; revision=2917
* 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
* Fix permissions functions so that error messages tell exactly which call failed.Zac Medico2006-03-171-28/+48
| | | | svn path=/main/trunk/; revision=2910
* 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
* One more 'mode & 07777' in apply_permissions.Zac Medico2006-03-141-0/+2
| | | | svn path=/main/trunk/; revision=2882
* Make that 'mode & 07777' for the previous commit.Zac Medico2006-03-141-2/+2
| | | | svn path=/main/trunk/; revision=2881
* Use 'mode & 0777' to protect ourselves from unwanted mode bits in ↵Zac Medico2006-03-141-5/+8
| | | | | | apply_permissions. svn path=/main/trunk/; revision=2880
* 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
* Use apply_secpass_permissions for all permissions in doebuild.Zac Medico2006-03-141-47/+29
| | | | svn path=/main/trunk/; revision=2877
* Make mode=-1 the default parameter for apply_permissions in order to ↵Zac Medico2006-03-141-3/+5
| | | | | | distinguish the behavior from mode=0. svn path=/main/trunk/; revision=2876
* Fix some typos in the DISTDIR permissions handling.Zac Medico2006-03-141-4/+4
| | | | svn path=/main/trunk/; revision=2875
* Make the apply_permissions function default to exact matching of mode bits ↵Zac Medico2006-03-141-9/+19
| | | | | | and add a "mask" parameter that allows for XOR restriction of mode bits. svn path=/main/trunk/; revision=2874
* Handle FileNotFound errors instead of ENOENT errors when doing permissions ↵Zac Medico2006-03-141-6/+3
| | | | | | for the distlocks subdir. svn path=/main/trunk/; revision=2873
* Wrap possible exceptions raised by stat call in apply_secpass_permissions.Zac Medico2006-03-141-1/+9
| | | | svn path=/main/trunk/; revision=2872
* Add a new OperationNotPermitted exception and use it to wrap ↵Zac Medico2006-03-143-24/+32
| | | | | | apply_permissions exceptions. svn path=/main/trunk/; revision=2871
* Use apply_secpass_permissions for DISTDIR permissions.Zac Medico2006-03-141-1/+1
| | | | svn path=/main/trunk/; revision=2870
* Make portage_util.apply_stat_permissions() wrap apply_secpass_permissions ↵Zac Medico2006-03-131-2/+2
| | | | | | instead of plain old apply_permissions. svn path=/main/trunk/; revision=2869
* Add a new portage_util.apply_secpass_permissions() function that ↵Zac Medico2006-03-131-1/+33
| | | | | | intelligently attempts to apply as much of the requested permissions as possible without generating an exception. svn path=/main/trunk/; revision=2868
* Document portage_data.secpass and give secpass=0 to users that are not in ↵Zac Medico2006-03-131-2/+12
| | | | | | the "portage" group. svn path=/main/trunk/; revision=2866
* Do not clean shared ${T} after the unmerge phase when the new and old ↵Zac Medico2006-03-131-2/+11
| | | | | | package are the same version (regression from r2844). See bug #125942. svn path=/main/trunk/; revision=2865
* Make portage.unmerge return 0 on success in order to make `ebuild unmerge` ↵Zac Medico2006-03-121-1/+3
| | | | | | exit nicely. Thanks to kosmikus for reporting the "Could not run the required binary?" message. svn path=/main/trunk/; revision=2862
* Fix misuse of dict.fromkeys class method so that cache cleansing works ↵Zac Medico2006-03-121-1/+1
| | | | | | during `emerge --metadata` runs. svn path=/main/trunk/; revision=2861
* Use the ** operator for better unpacking of actionmap args in spawnebuild.Zac Medico2006-03-121-19/+13
| | | | svn path=/main/trunk/; revision=2859
* Add the command (ebuild.sh or misc-functions.sh) to the actionmap for ↵Zac Medico2006-03-121-21/+18
| | | | | | spawnebuild. svn path=/main/trunk/; revision=2858
* Make the clean phase obey keeptemp in FEATURES.Zac Medico2006-03-111-2/+2
| | | | svn path=/main/trunk/; revision=2854
* backport portage-pkg path change from savior branchMike Frysinger2006-03-111-3/+3
| | | | svn path=/main/trunk/; revision=2850
* Do automatic backup the resume list when it's length is greater than 1 for ↵v2.1_pre6Zac Medico2006-03-111-1/+2
| | | | | | bug #122527. svn path=/main/trunk/; revision=2847
* Trigger the clean phase at the end of dblink.unmerge() in order to remove ↵Zac Medico2006-03-111-1/+2
| | | | | | cruft left by the pkg_*rm phases. svn path=/main/trunk/; revision=2844
* Do the clean phase at the end of dblink.treewalk() to ensure that it is ↵Zac Medico2006-03-111-1/+2
| | | | | | triggered when both source and binary packages are merged. See bug #105706. svn path=/main/trunk/; revision=2843
* Consolidate duplicate "myebuild" logic in the dblink.treewalk() method.Zac Medico2006-03-111-12/+4
| | | | svn path=/main/trunk/; revision=2842