summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant PORTAGE_BUILDDIR creation.Zac Medico2006-10-041-6/+0
| | | | svn path=/main/trunk/; revision=4587
* Make PORTAGE_BUILDDIR and subdirectories group writable for now (reverts ↵Zac Medico2006-10-041-7/+22
| | | | | | some of the changes from bug #149062). One major problem is that the first phase (setup) is often run as root. We need a way to tell portage about a less privileged user that may need to be given permission on files and directories. svn path=/main/trunk/; revision=4585
* Don't set the gid unnecessarily on $PORTAGE_BUILDDIR/distdir.Zac Medico2006-10-031-2/+1
| | | | svn path=/main/trunk/; revision=4584
* For userpriv support, chown files in ${T} if necessary after priveleged phases.Zac Medico2006-10-031-1/+8
| | | | svn path=/main/trunk/; revision=4583
* Use 01775 permissions for subdirectories of PORTAGE_TMPDIR, and 0755 ↵Zac Medico2006-10-031-25/+26
| | | | | | permissions for other directories (bug #149062). svn path=/main/trunk/; revision=4582
* Use 755 permissions for ${PORTAGE_WORKDIR}/distdir (bug #149062).Zac Medico2006-10-031-1/+2
| | | | svn path=/main/trunk/; revision=4581
* Add a digraph.NONE constant to represent no priority.Zac Medico2006-10-031-0/+1
| | | | svn path=/main/trunk/; revision=4579
* Fix priority logic in digraph.add().Zac Medico2006-10-031-2/+2
| | | | svn path=/main/trunk/; revision=4575
* Fix depgraph.altlist() so that it can identify a group of nodes that ↵Zac Medico2006-10-021-2/+8
| | | | | | completely satisfy eachothers non-soft deps. This should complete the fix for bug #149881. svn path=/main/trunk/; revision=4572
* Add medium priority level into the digraph (in addition to the existing hard andZac Medico2006-10-021-17/+22
| | | | svn path=/main/trunk/; revision=4571
* For bug #149412, add a COLLISION_IGNORE user config option that behaves ↵Zac Medico2006-09-291-0/+10
| | | | | | similar to CONFIG_PROTECT_MASK, but for collision-protect. svn path=/main/trunk/; revision=4562
* 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