summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Add a portage_debug module and python-trace feature for --debug mode.Zac Medico2006-03-231-0/+116
| | | | svn path=/main/trunk/; revision=2979
* 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
* Catch a possible OSError from the stat call in atomic_ofstream.close().Zac Medico2006-03-191-0/+5
| | | | svn path=/main/trunk/; revision=2950
* 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
* Prevent an IOError with errno != ENOENT from being swallowed in ↵Zac Medico2006-03-181-5/+5
| | | | | | flat_hash._setitem(). svn path=/main/trunk/; revision=2944
* Minor speedup for findname2, suggested by Brian HarringAlec Warner2006-03-181-10/+12
| | | | svn path=/main/trunk/; revision=2941
* add short options for --one-shot and --fetch-all-uri to --help output. ↵Kito2006-03-181-2/+2
| | | | | | Closes Bug #126626 svn path=/main/trunk/; revision=2939
* Replace hard coded number 2 in cache modules with errno.ENOENT.Zac Medico2006-03-182-11/+7
| | | | svn path=/main/trunk/; revision=2938
* 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-182-22/+45
| | | | | | $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
* 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