summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't register signal handlers during module import because it may override ↵Zac Medico2006-06-221-13/+0
| | | | | | signal hadlers that were registered by the calling code. svn path=/main/trunk/; revision=3606
* Simplify PORT_LOGDIR intitialization.Zac Medico2006-06-221-21/+8
| | | | svn path=/main/trunk/; revision=3590
* Prevent and exception when PORT_LOGDIR is an empty string.Zac Medico2006-06-221-2/+5
| | | | svn path=/main/trunk/; revision=3589
* Remove redundant PORT_LOGDIR validation from the config constructor.Zac Medico2006-06-221-4/+0
| | | | svn path=/main/trunk/; revision=3588
* Don't bother to warn when PORT_LOGDIR="".Zac Medico2006-06-221-4/+0
| | | | svn path=/main/trunk/; revision=3587
* Make sure that PORT_LOGDIR is properly unset when it is unusable. Thanks to ↵Zac Medico2006-06-221-2/+4
| | | | | | solar for reporting issues with logs landing in $PWD. svn path=/main/trunk/; revision=3586
* Use wantnewlockfile=1 on /var/lib/portage/config for bug #137269. r3540 is ↵Zac Medico2006-06-201-1/+2
| | | | | | also related. svn path=/main/trunk/; revision=3543
* make sure that elog entries are also processed in *rm phases and that they ↵Marius Mauch2006-06-191-0/+11
| | | | | | are only processed once svn path=/main/trunk/; revision=3539
* goodbye tokenizeAlec Warner2006-06-181-46/+0
| | | | svn path=/main/trunk/; revision=3533
* Prevent repoman frm using /etc/portage/package.mask. This is a regression ↵Zac Medico2006-06-181-3/+7
| | | | | | in 2.1.1_pre1 from svn r3495. See bug #133740. Thanks to sekretarz for reporting this issue. svn path=/main/trunk/; revision=3527
* Make sure that doebuild gets the correct CATEGORY. See bug #137105.Zac Medico2006-06-171-0/+2
| | | | svn path=/main/trunk/; revision=3524
* Fix checksum error messages for bug #136947. Thanks to truedfx for this patch.Zac Medico2006-06-161-2/+2
| | | | svn path=/main/trunk/; revision=3515
* Only attempt to unmerge the already-installed instance if it actually ↵Zac Medico2006-06-151-5/+6
| | | | | | exists. This patch prevents self.settings.configdict["pkg"] from getting nuked by a call to load_infodir on a nonexistent directory. By preserving configdict["pkg"] here, the CATEGORY is available for the next doebuild call (needed to create log names correctly). svn path=/main/trunk/; revision=3514
* Fix generation of ebuild log file names for bug #136285.Zac Medico2006-06-131-15/+18
| | | | svn path=/main/trunk/; revision=3506
* For more simplicity, use os.rename instead of spawning MOVE_BINARY (see bug ↵Zac Medico2006-06-121-1/+1
| | | | | | #136404). svn path=/main/trunk/; revision=3500
* Stack package.mask files in a more logical order as specified in bug #133740.Zac Medico2006-06-121-5/+13
| | | | svn path=/main/trunk/; revision=3495
* make elog mail module always set the 'From' header for rfc2822 complianceMarius Mauch2006-06-101-2/+2
| | | | svn path=/main/trunk/; revision=3483
* Do not unmerge fifo files because, since their mtime is not stored in ↵Zac Medico2006-06-101-5/+1
| | | | | | CONTENTS, we can't be sure if they belong to another package unless we search through all CONTENTS for all installed packages. See bug #136199. svn path=/main/trunk/; revision=3482
* I meant to ignore an IndexError here, in case mysettings["PORTDIR_OVERLAY"] ↵v2.1_rc4v2.1_rc3v2.1Zac Medico2006-06-091-1/+1
| | | | | | becomes corrupted and the split has an unexpected number of elements for some reason. svn path=/main/trunk/; revision=3476
* Break out of the loop asap.Zac Medico2006-06-081-0/+1
| | | | svn path=/main/trunk/; revision=3474
* When an ebuild from overlay fails, display a message indicating which ↵Zac Medico2006-06-081-0/+13
| | | | | | overlay it came from (bug #136031). Thanks to genstef for the initial patch. svn path=/main/trunk/; revision=3473
* Move hard coding of /etc/env.d in CONFIG_PROTECT_MASK from ↵Zac Medico2006-06-081-4/+0
| | | | | | portage.config.__getitem__() to make.globals. Thanks to pauldv for reporting. svn path=/main/trunk/; revision=3470
* Revert r3468 because this type of functionality belongs in profile.bashrc or ↵Zac Medico2006-06-081-17/+0
| | | | | | an eclass. svn path=/main/trunk/; revision=3469
* support for FEATURES=debug-buildMike Frysinger2006-06-071-0/+17
| | | | svn path=/main/trunk/; revision=3468
* Also bump the counter for the "merge" phase since it calls spawnebuild (bug ↵Zac Medico2006-06-071-2/+3
| | | | | | #135856). svn path=/main/trunk/; revision=3465
* Make sure that each new build attempt gets it's own unique log file for bug ↵Zac Medico2006-06-071-0/+10
| | | | | | #135856. svn path=/main/trunk/; revision=3464
* When generating digests, print a digest.assumed QA warning if necessary in ↵Zac Medico2006-06-041-1/+23
| | | | | | order to prevent confusion. Thanks to jakub for suggesting this. svn path=/main/trunk/; revision=3456
* Raise a ParseError if the profile has a parent file containing a nonexistant ↵Zac Medico2006-06-041-0/+3
| | | | | | parent. svn path=/main/trunk/; revision=3455
* Raise a ParseError if the profile has a parent file containing anything ↵Zac Medico2006-06-041-1/+7
| | | | | | other than 1 parent. svn path=/main/trunk/; revision=3454
* Revert lazy loading of autouse because it is both broken and useless.Zac Medico2006-06-041-3/+2
| | | | svn path=/main/trunk/; revision=3453
* Ignore ENOENT errors that are expected to occur in portage.fetch().Zac Medico2006-05-271-4/+10
| | | | svn path=/main/trunk/; revision=3433
* Remove dependence on a patched version of libselinux for bug #122517.Zac Medico2006-05-271-4/+4
| | | | svn path=/main/trunk/; revision=3430
* Add noiselevel=-1 to writemsg calls in portage.py for errors that shouldn't ↵Zac Medico2006-05-271-114/+190
| | | | | | happen so that messages are printed even when --quiet is used. svn path=/main/trunk/; revision=3428
* Add noiselevel=-1 to writemsg calls for legitimate errors in merge and ↵Zac Medico2006-05-271-6/+6
| | | | | | unmerge phases so that important errors are printed even when --quiet is used. svn path=/main/trunk/; revision=3425
* Add noiselevel=-1 to writemsg calls for legitimate errors in ↵Zac Medico2006-05-271-8/+10
| | | | | | portage.digestcheck() so that important errors are printed even when --quiet is used. svn path=/main/trunk/; revision=3424
* Add noiselevel=-1 to writemsg calls for legitimate errors in doebuild so ↵Zac Medico2006-05-271-28/+36
| | | | | | that important errors are printed even when --quiet is used. svn path=/main/trunk/; revision=3423
* Make sure that fetch errors are reported even when --quiet is being used.Zac Medico2006-05-271-2/+6
| | | | svn path=/main/trunk/; revision=3422
* Only print a warning if absolutely necessary when adjusting distfiles ↵Zac Medico2006-05-271-1/+2
| | | | | | permissions for bug #112612. svn path=/main/trunk/; revision=3421
* Add some additional error handling for OperationNotPermitted and ↵Zac Medico2006-05-261-0/+2
| | | | | | ReadOnlyFileSystem exceptions (bug #112612). svn path=/main/trunk/; revision=3418
* Fix the last revision so it also works for files copied from local fsmirrors.Zac Medico2006-05-261-1/+3
| | | | svn path=/main/trunk/; revision=3417
* If necessary, apply appropriate permissions to previously fetched files for ↵Zac Medico2006-05-261-0/+3
| | | | | | bug #112612. svn path=/main/trunk/; revision=3416
* Reset DISTDIR to it's original value before returning from doebuild() in ↵Zac Medico2006-05-261-9/+17
| | | | | | order to prevent unexpected values for DISTDIR later on. svn path=/main/trunk/; revision=3415
* Fix userfetch so that it works regardless of whether or not userpriv is ↵Zac Medico2006-05-221-3/+17
| | | | | | enabled for bug #133995. I've used portage_exec.spawn_bash() here because portage.spawn() should really only be used for actual ebuild phases in doebuild() and spawnebuild(). svn path=/main/trunk/; revision=3387
* Validate the CATEGORY data in portage.config.load_infodir() and print a ↵Zac Medico2006-05-211-3/+11
| | | | | | warning message if corruption is detected. svn path=/main/trunk/; revision=3382
* Fix repoman to grab categores, arch.list, and package.mask from the proper ↵Zac Medico2006-05-171-4/+7
| | | | | | locations when scanning an overlay. Thanks to mcummings for reporting. svn path=/main/trunk/; revision=3368
* Fix portage.getmaskingreason() so that it properly stacks all available ↵Zac Medico2006-05-161-1/+16
| | | | | | package.mask files for bug #104000. svn path=/main/trunk/; revision=3365
* Fix a typo from r3357.Zac Medico2006-05-151-1/+1
| | | | svn path=/main/trunk/; revision=3359
* Add back the rstrip(os.path.sep) which is needed in the case where ROOT=/ ↵Zac Medico2006-05-151-2/+4
| | | | | | (regression from r3356). svn path=/main/trunk/; revision=3358
* Revert the performance optimization from r3355 in favor of maximum robustness.Zac Medico2006-05-151-1/+2
| | | | svn path=/main/trunk/; revision=3357
* Ensure that ${ROOT} is normalized for bug #90444.Zac Medico2006-05-151-2/+2
| | | | svn path=/main/trunk/; revision=3356