Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix stack_dictlist() so that incremental stacking behaves more like it does ↵ | Zac Medico | 2006-08-11 | 1 | -12/+13 |
| | | | | | | in config.regenerate(). svn path=/main/trunk/; revision=4213 | ||||
* | Only ignore ENOENT in getconfig() so that more important errors don't go ↵ | Zac Medico | 2006-07-31 | 1 | -1/+3 |
| | | | | | | unnoticed. svn path=/main/trunk/; revision=4052 | ||||
* | Catch ParseError from getconfig during env_update for bug #142157. | Zac Medico | 2006-07-31 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=4050 | ||||
* | Stack /etc/profile.env inside portage.config so that it doesn't stop ↵ | Zac Medico | 2006-07-29 | 1 | -0/+2 |
| | | | | | | variables in inappropriate places. See bug #51370. svn path=/main/trunk/; revision=4048 | ||||
* | Fix unsafe deletion of a dictionary item during iteration. | Zac Medico | 2006-07-26 | 1 | -1/+4 |
| | | | | svn path=/main/trunk/; revision=4026 | ||||
* | Do the portage_checksum import in local scope because of circular dependency. | Zac Medico | 2006-07-21 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=3979 | ||||
* | Move new_protect_filename from the core portage module to portage_util. | Zac Medico | 2006-07-21 | 1 | -0/+51 |
| | | | | svn path=/main/trunk/; revision=3978 | ||||
* | Remove grabdict_package and grabfile_package from the core portage module ↵ | Zac Medico | 2006-07-21 | 1 | -0/+1 |
| | | | | | | since the copies in portage_util can now work by importing isvalidatom from portage_dep. svn path=/main/trunk/; revision=3975 | ||||
* | Move the ConfigProtect class to the portage_util module. | Zac Medico | 2006-07-16 | 1 | -0/+39 |
| | | | | svn path=/main/trunk/; revision=3895 | ||||
* | Move normalize_path into portage_util. | Zac Medico | 2006-07-15 | 1 | -0/+7 |
| | | | | svn path=/main/trunk/; revision=3891 | ||||
* | Wrap common write_atomic exceptions for easier error handling. | Zac Medico | 2006-07-09 | 1 | -4/+16 |
| | | | | svn path=/main/trunk/; revision=3822 | ||||
* | Sort filenames for predictable results. | Zac Medico | 2006-06-23 | 1 | -1/+3 |
| | | | | svn path=/main/trunk/; revision=3621 | ||||
* | Test the basename for starting with "." instead of the full path. | Zac Medico | 2006-06-23 | 1 | -5/+4 |
| | | | | svn path=/main/trunk/; revision=3613 | ||||
* | Fix a typo from r3611 (file != files). | Zac Medico | 2006-06-23 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=3612 | ||||
* | ignore .files in /etc/portage recursion | Alec Warner | 2006-06-23 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=3611 | ||||
* | Import missing PermissionDenied class. Thanks to marienz for reporting (and ↵ | Zac Medico | 2006-06-16 | 1 | -1/+2 |
| | | | | | | suggesting pyflakes). svn path=/main/trunk/; revision=3516 | ||||
* | Wrap more exceptions in ensure_dirs(). | Zac Medico | 2006-06-12 | 1 | -2/+8 |
| | | | | svn path=/main/trunk/; revision=3494 | ||||
* | Wrap more exceptions when applying permissions. Thanks to marienz for ↵ | Zac Medico | 2006-06-11 | 1 | -3/+16 |
| | | | | | | reporting. svn path=/main/trunk/; revision=3493 | ||||
* | make elog mail module always set the 'From' header for rfc2822 compliance | Marius Mauch | 2006-06-10 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=3483 | ||||
* | Add noiselevel=-1 to writemsg calls in portage_util.py for errors that ↵ | Zac Medico | 2006-05-27 | 1 | -9/+16 |
| | | | | | | shouldn't happen so that messages are printed even when --quiet is used. svn path=/main/trunk/; revision=3429 | ||||
* | Override LazyItemsDict.update() so that it works correctly with other ↵ | Zac Medico | 2006-04-15 | 1 | -2/+10 |
| | | | | | | instances of LazyItemsDict. svn path=/main/trunk/; revision=3159 | ||||
* | Add singleton support to LazyItemsDict to make it easier to use with ↵ | Zac Medico | 2006-04-15 | 1 | -4/+20 |
| | | | | | | arbitrary function calls. svn path=/main/trunk/; revision=3149 | ||||
* | Add an initial_items parameter to the LazyItemsDict constructor in order to ↵ | Zac Medico | 2006-04-14 | 1 | -1/+5 |
| | | | | | | facilitate integration with existing dict based code. svn path=/main/trunk/; revision=3143 | ||||
* | Create a generic portage_util.LazyItemsDict and use it for lazy ↵ | Zac Medico | 2006-04-12 | 1 | -0/+27 |
| | | | | | | initialization portage.db[root] items. svn path=/main/trunk/; revision=3133 | ||||
* | Raise exceptions when appropriate in the atomic_ofstream constructor for bug ↵ | Zac Medico | 2006-04-07 | 1 | -0/+2 |
| | | | | | | #129098. svn path=/main/trunk/; revision=3087 | ||||
* | Change == None to is None | Alec Warner | 2006-04-07 | 1 | -4/+4 |
| | | | | svn path=/main/trunk/; revision=3085 | ||||
* | Move DISTDIR initialization from doebuild to fetch and handle read-only file ↵ | Zac Medico | 2006-04-03 | 1 | -4/+6 |
| | | | | | | system errors for bug #128506. svn path=/main/trunk/; revision=3058 | ||||
* | Add a reusable ensure_dirs() function and use it for DISTDIR initialization. | Zac Medico | 2006-03-30 | 1 | -0/+20 |
| | | | | svn path=/main/trunk/; revision=3040 | ||||
* | The return value from apply_permissions now indicates whether or not the ↵ | Zac Medico | 2006-03-30 | 1 | -1/+7 |
| | | | | | | permissions needed to be modified. svn path=/main/trunk/; revision=3039 | ||||
* | Automatically follow symlinks in the atomic_ofstream constructor. See bug ↵ | Zac Medico | 2006-03-29 | 1 | -1/+13 |
| | | | | | | #127897. svn path=/main/trunk/; revision=3034 | ||||
* | Catch a possible OSError from the stat call in atomic_ofstream.close(). | Zac Medico | 2006-03-19 | 1 | -0/+5 |
| | | | | svn path=/main/trunk/; revision=2950 | ||||
* | Add a generic apply_recursive_permissions function and use is for ↵ | Zac Medico | 2006-03-18 | 1 | -1/+42 |
| | | | | | | $DISTDIR/cvs-src. svn path=/main/trunk/; revision=2925 | ||||
* | Fix typo in variable name from last revision. | Zac Medico | 2006-03-17 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=2918 | ||||
* | Fix the apply_permissions XOR logic so that mask removes mode bits correctly. | Zac Medico | 2006-03-17 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=2917 | ||||
* | Fix permissions functions so that error messages tell exactly which call failed. | Zac Medico | 2006-03-17 | 1 | -28/+48 |
| | | | | svn path=/main/trunk/; revision=2910 | ||||
* | One more 'mode & 07777' in apply_permissions. | Zac Medico | 2006-03-14 | 1 | -0/+2 |
| | | | | svn path=/main/trunk/; revision=2882 | ||||
* | Make that 'mode & 07777' for the previous commit. | Zac Medico | 2006-03-14 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=2881 | ||||
* | Use 'mode & 0777' to protect ourselves from unwanted mode bits in ↵ | Zac Medico | 2006-03-14 | 1 | -5/+8 |
| | | | | | | apply_permissions. svn path=/main/trunk/; revision=2880 | ||||
* | Make mode=-1 the default parameter for apply_permissions in order to ↵ | Zac Medico | 2006-03-14 | 1 | -3/+5 |
| | | | | | | distinguish the behavior from mode=0. svn path=/main/trunk/; revision=2876 | ||||
* | Make the apply_permissions function default to exact matching of mode bits ↵ | Zac Medico | 2006-03-14 | 1 | -9/+19 |
| | | | | | | and add a "mask" parameter that allows for XOR restriction of mode bits. svn path=/main/trunk/; revision=2874 | ||||
* | Wrap possible exceptions raised by stat call in apply_secpass_permissions. | Zac Medico | 2006-03-14 | 1 | -1/+9 |
| | | | | svn path=/main/trunk/; revision=2872 | ||||
* | Add a new OperationNotPermitted exception and use it to wrap ↵ | Zac Medico | 2006-03-14 | 1 | -17/+23 |
| | | | | | | apply_permissions exceptions. svn path=/main/trunk/; revision=2871 | ||||
* | Make portage_util.apply_stat_permissions() wrap apply_secpass_permissions ↵ | Zac Medico | 2006-03-13 | 1 | -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 Medico | 2006-03-13 | 1 | -1/+33 |
| | | | | | | intelligently attempts to apply as much of the requested permissions as possible without generating an exception. svn path=/main/trunk/; revision=2868 | ||||
* | use getattr instead of hasattr for detection of base class destructor ↵ | Zac Medico | 2006-02-09 | 1 | -3/+3 |
| | | | | | | (recommended by marienz) svn path=/main/trunk/; revision=2685 | ||||
* | add new atomic_ofstream class for safer writes | Zac Medico | 2006-02-09 | 1 | -6/+88 |
| | | | | svn path=/main/trunk/; revision=2680 | ||||
* | cPickle import protection; fall back to pickle if cPickle is unavailable. | Brian Harring | 2006-02-08 | 1 | -2/+7 |
| | | | | svn path=/main/trunk/; revision=2679 | ||||
* | - added writemsg_stdout function and make portage use it internally | Ned Ludd | 2006-01-01 | 1 | -3/+10 |
| | | | | svn path=/main/trunk/; revision=2516 | ||||
* | revert down to 2.3 python requirement via avoiding sorted | Brian Harring | 2005-12-27 | 1 | -1/+4 |
| | | | | svn path=/main/trunk/; revision=2490 | ||||
* | linear unique_array lifted from saviour, lifted from a python cookbook. | Brian Harring | 2005-12-27 | 1 | -9/+34 |
| | | | | svn path=/main/trunk/; revision=2488 |