summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
Commit message (Collapse)AuthorAgeFilesLines
* Allow env.d file names with 3 characters. This is a regression from r4451.Zac Medico2006-09-291-1/+1
| | | | svn path=/main/trunk/; revision=4558
* In dep_zapdeps preference selection, use package names instead of the real ↵Zac Medico2006-09-271-2/+4
| | | | | | atoms for an initial rough match against installed packages. More specific preference selection is handled later via slot and version comparison. Thanks to Jason Stubbs for this patch from bug #147766. svn path=/main/trunk/; revision=4543
* Revert dep_zapdeps fakedbapi usage as per comment #31 on bug #147766.Zac Medico2006-09-271-11/+5
| | | | svn path=/main/trunk/; revision=4542
* Add SLOT support to fakedbapi then use it for depgraph blocker handling and ↵Zac Medico2006-09-271-9/+34
| | | | | | dep_zapdeps preference selection. svn path=/main/trunk/; revision=4539
* For bug #149028, don't lock the tbz2 file because the filesytem could be ↵Zac Medico2006-09-251-3/+5
| | | | | | readonly or shared by a cluster. svn path=/main/trunk/; revision=4525
* Clean up and simplify depgraph params logic. This fixes bug #148893.Zac Medico2006-09-241-1/+2
| | | | svn path=/main/trunk/; revision=4524
* Use the same directories for binary package merges as would be used for ↵Zac Medico2006-09-241-31/+13
| | | | | | source based merges (since the normal PORTAGE_BUILDDIR is already used by the setup, preinst, and postinst phases anyway). svn path=/main/trunk/; revision=4521
* Fix portage.pkgmerge() so that it locks files and directories when in use.Zac Medico2006-09-231-64/+94
| | | | svn path=/main/trunk/; revision=4520
* Remove doebuild_environment return value checks since it no raises and ↵Zac Medico2006-09-231-7/+2
| | | | | | exception if necessary. svn path=/main/trunk/; revision=4518
* Make doebuild_environment raise an exception so that we never have to check ↵Zac Medico2006-09-231-3/+2
| | | | | | the return value. svn path=/main/trunk/; revision=4516
* Only lock PORTAGE_BUILDDIR if the ebuild exists (otherwise we don't run ↵Zac Medico2006-09-231-3/+3
| | | | | | prerm and postrm). svn path=/main/trunk/; revision=4515
* Lock PORTAGE_BUILDDIR all the way through prerm, unmerge, and postrm.Zac Medico2006-09-231-50/+60
| | | | svn path=/main/trunk/; revision=4514
* Always check the return value of doebuild_environment().Zac Medico2006-09-231-1/+2
| | | | svn path=/main/trunk/; revision=4513
* Move PORTAGE_BUILDDIR locking out of doebuild and into emerge in order to ↵Zac Medico2006-09-231-2/+2
| | | | | | ensure that emerge maintains it's lock through all phases. svn path=/main/trunk/; revision=4512
* Move PORTAGE_LOG_FILE initialization from doebuild to prepare_build_dirs.Zac Medico2006-09-231-14/+14
| | | | svn path=/main/trunk/; revision=4510
* For compatibility with float timestamps in python-2.5, convert st_mtime ↵Zac Medico2006-09-221-1/+1
| | | | | | attributes to long wherever portage expects 1s resolution. svn path=/main/trunk/; revision=4500
* Revert r4495, since conversion from nomerge to merge may put the depgraph ↵Zac Medico2006-09-221-26/+0
| | | | | | into an inconsistent state du to USE flag mismatch. This can be solved by checking all args prior to marking packages as nomerge. svn path=/main/trunk/; revision=4496
* Allow packages specified on the command line to be retroactively upgraded ↵Zac Medico2006-09-221-0/+26
| | | | | | from "nomerge" to "merge" nodes. svn path=/main/trunk/; revision=4494
* As suggested by vapier, send emerge -fp output to stdout and make it work ↵Zac Medico2006-09-201-3/+3
| | | | | | together with --quiet. svn path=/main/trunk/; revision=4485
* For consistency, pass ignore_soft_deps into digraph.hasallzeros().Zac Medico2006-09-191-2/+3
| | | | svn path=/main/trunk/; revision=4482
* Fix digraph.hasallzeros() breakage.Zac Medico2006-09-191-1/+1
| | | | svn path=/main/trunk/; revision=4481
* This is a new --tree implementation by Jason Stubbs, from bug #147766.Zac Medico2006-09-191-23/+17
| | | | svn path=/main/trunk/; revision=4479
* Fix fetch resume logic for bug #145601 and document the meaning of the ↵Zac Medico2006-09-191-0/+9
| | | | | | "fetched" variable. svn path=/main/trunk/; revision=4478
* Fix digraph.debug_print inverted hard/soft logic.Zac Medico2006-09-191-2/+2
| | | | svn path=/main/trunk/; revision=4477
* Thanks to Jason Stubbs for this patch from bug #147766 which enables ↵Zac Medico2006-09-181-87/+161
| | | | | | creation of a full and complete depgraph, leaving no dependencies unaccounted for. This will allow more accurate merge order and proper detection of circular dependencies! svn path=/main/trunk/; revision=4472
* Use mtimedb.filename == None to disable mtimedb writes (instead of /dev/null).Zac Medico2006-09-171-0/+2
| | | | svn path=/main/trunk/; revision=4468
* In portage.commit_mtimedb(), use the commit() method when possible, so that ↵Zac Medico2006-09-161-1/+2
| | | | | | the mtimedb is only rewritten when it has been modified. svn path=/main/trunk/; revision=4464
* For bug #14321, add support for individual files in CONFIG_PROTECT and ↵Zac Medico2006-09-161-6/+1
| | | | | | CONFIG_PROTECT_MASK. svn path=/main/trunk/; revision=4458
* When it's detected that a previously remembered update has been accepted, ↵Zac Medico2006-09-151-0/+4
| | | | | | remove it from confmem. svn path=/main/trunk/; revision=4453
* Add support for SPACE_SEPARATED and COLON_SEPARATED in /etc/env.d/ so that ↵Zac Medico2006-09-151-65/+47
| | | | | | hard coded values are not required. svn path=/main/trunk/; revision=4452
* Move all env.d file name filtering into a single loop.Zac Medico2006-09-151-10/+9
| | | | svn path=/main/trunk/; revision=4451
* Simplify the confmem logic so that it's easier to read.Zac Medico2006-09-151-27/+13
| | | | svn path=/main/trunk/; revision=4450
* Use configdict["env"].clear() instead of manual deletion because the result ↵Zac Medico2006-09-131-4/+1
| | | | | | is the same and it's much more efficient. svn path=/main/trunk/; revision=4442
* For correct LINGUAS handling, don't export empty USE_EXPAND variables unless ↵Zac Medico2006-09-131-1/+5
| | | | | | the user config exports them as empty. Thanks to Harald van Dijk <truedfx@gentoo.org> for this patch from bug #147428. svn path=/main/trunk/; revision=4441
* Add KDEDIRS to colon_separated env-update vars as requested by Carlo.Zac Medico2006-09-101-1/+1
| | | | svn path=/main/trunk/; revision=4434
* For bug #80846, prevent false collisions caused by symlinks. Thanks to ↵Zac Medico2006-09-091-1/+13
| | | | | | Thomas Bettler <bettlertho@sis.unibe.ch> for the initial patch. svn path=/main/trunk/; revision=4431
* In dblink.isowner(), correct the logic to test the path itself (via lstat) ↵Zac Medico2006-09-091-1/+4
| | | | | | rather than the referant in the case of symlinks. svn path=/main/trunk/; revision=4430
* Add PORTAGE_DEPCACHEDIR to SANDBOX_PREDICT since it's legitimate for ↵v2.1.1Zac Medico2006-09-071-2/+2
| | | | | | portageq calls to trigger cache writes. See bug #144011. svn path=/main/trunk/; revision=4425
* Document that dblink.unmerge() does not perform locking internally.Zac Medico2006-09-061-0/+2
| | | | svn path=/main/trunk/; revision=4418
* Properly lock the critical section of portage.unmerge() for bug #101240.Zac Medico2006-09-061-9/+11
| | | | svn path=/main/trunk/; revision=4417
* Allow env_update to work if there are broken symlinks in /etc/env.d/. See ↵Zac Medico2006-09-061-2/+3
| | | | | | bug #146412. svn path=/main/trunk/; revision=4416
* During env_update, raise a FileNotFound exception if a file is unexpectedly ↵Zac Medico2006-09-051-0/+3
| | | | | | removed by a concurrent process. See bug #146412. svn path=/main/trunk/; revision=4408
* Add an additional note about $ROOT and USE flag handling in dep_check.Zac Medico2006-09-041-0/+3
| | | | svn path=/main/trunk/; revision=4407
* Only apply USE masks in dep_check when called by repoman with use="all".Zac Medico2006-09-041-4/+9
| | | | svn path=/main/trunk/; revision=4405
* Use a set for masklist inside dep_check.Zac Medico2006-09-041-10/+5
| | | | svn path=/main/trunk/; revision=4404
* Add repoman support for package.use.mask.Zac Medico2006-09-041-1/+2
| | | | svn path=/main/trunk/; revision=4401
* Don't call dict.keys() unnecessarily for the containment test in ↵Zac Medico2006-09-041-1/+2
| | | | | | dblink.isowner(). svn path=/main/trunk/; revision=4396
* When aux_get can't find a matching ebuild, simply raise a KeyError(cpv) and ↵Zac Medico2006-09-031-3/+3
| | | | | | don't dump redundant messages to stderr unless --debug is enabled. svn path=/main/trunk/; revision=4393
* Before the preinst phase, only call load_infodir for binary packages. ↵Zac Medico2006-08-291-1/+1
| | | | | | Otherwise, load_infodir will wipe settings from doebuild_environment (such as CATEGORY). svn path=/main/trunk/; revision=4374
* Add a missing newline from the previous commit.Zac Medico2006-08-271-1/+1
| | | | svn path=/main/trunk/; revision=4353