summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge package.use and USE from make.defaults together at each level of the ↵Zac Medico2006-10-171-24/+31
| | | | | | profile stack. This is analogous to how use.mask and package.use.mask are planned to be merged for bug #151586. svn path=/main/trunk/; revision=4734
* For bug #133908, prevent collisions in ${PKGDIR}/All/ by automatically ↵Zac Medico2006-10-161-55/+168
| | | | | | bumping colliding packages to ${PKGDIR}/${CATEGORY}/ just before a collision would occur. Newly built packages are always stored in ${PKGDIR}/All/, should this be 100% compatible with previous behavior. svn path=/main/trunk/; revision=4722
* Trigger binarytree population on bindbapi.cpv_all() calls.Zac Medico2006-10-151-0/+5
| | | | svn path=/main/trunk/; revision=4712
* Simplify binarytree.getname().Zac Medico2006-10-151-5/+2
| | | | svn path=/main/trunk/; revision=4704
* Implement per-package default USE flags at the ebuild and profile levels for ↵Zac Medico2006-10-141-10/+45
| | | | | | bug #61732. svn path=/main/trunk/; revision=4679
* Fix the new env-update lib dirs logic to properly account for $ROOT.Zac Medico2006-10-121-1/+1
| | | | svn path=/main/trunk/; revision=4664
* Make an mtime change force an ldconfig run, since it's possible that ↵Zac Medico2006-10-111-1/+1
| | | | | | pre/postinst made changes in lib dirs (noted by Brian Harring). svn path=/main/trunk/; revision=4662
* Use contents to avoid unnecessary ldconfig calls for bug #136488.Zac Medico2006-10-111-7/+26
| | | | svn path=/main/trunk/; revision=4661
* For bug #150121, generate an error in digestcheck() if a file is found that ↵Zac Medico2006-10-111-0/+16
| | | | | | is not listed in the Manifest. svn path=/main/trunk/; revision=4655
* Move PORTAGE_BUILDDIR in to a category subdirectory and clean up the ↵Zac Medico2006-10-111-11/+62
| | | | | | category directory if empty (while holding lock). This this will help avoid PORTAGE_BUILDDIR collisions for parallel builds and will also hack around bug #150454. svn path=/main/trunk/; revision=4654
* Add more self.modifying() checks in order to detect modifcations to locked ↵Zac Medico2006-10-101-1/+6
| | | | | | config objects. svn path=/main/trunk/; revision=4652
* Only unlink .installed after the collision-protect has completed ↵Zac Medico2006-10-101-11/+10
| | | | | | successfully (reported by axxo). svn path=/main/trunk/; revision=4648
* Simplify the needlessly complex virtuals preferencing logic that lead to bug ↵Zac Medico2006-10-101-82/+25
| | | | | | #150377. svn path=/main/trunk/; revision=4644
* Avoid unnecessary population of the bintree by populating it as late as ↵Zac Medico2006-10-101-16/+9
| | | | | | possible. svn path=/main/trunk/; revision=4643
* Catch UnpicklingError when loading the mtimedb (reported by marienz).Zac Medico2006-10-091-1/+1
| | | | svn path=/main/trunk/; revision=4638
* Remove unnecessary config.reset() calls in portage.create_trees().Zac Medico2006-10-091-3/+0
| | | | svn path=/main/trunk/; revision=4637
* Use a local_config flag to replace PORTAGE_CALLER == repoman conditionals.Zac Medico2006-10-091-23/+23
| | | | svn path=/main/trunk/; revision=4631
* Remove the single parent constraint in profiles.Zac Medico2006-10-081-3/+2
| | | | svn path=/main/trunk/; revision=4625
* Make the .installed invalidation conditional on srcroot and destroot being ↵Zac Medico2006-10-081-7/+8
| | | | | | located on the same filesystem (st_dev). svn path=/main/trunk/; revision=4623
* Make the merge phase automatically invalidate the ↵Zac Medico2006-10-081-0/+10
| | | | | | ${PORTAGE_BUILDDIR}/.installed flag since it may move files out of the image directory. svn path=/main/trunk/; revision=4622
* Stack negative user virtuals in the correct order for incremental behavior.Zac Medico2006-10-071-1/+2
| | | | svn path=/main/trunk/; revision=4616
* For bug #150377, make virtual preferences in a profile override the ↵Zac Medico2006-10-071-1/+0
| | | | | | preferences of parent profiles. svn path=/main/trunk/; revision=4615
* Don't call varexpand inside getconfig for env.d/profile.env values.Zac Medico2006-10-061-3/+3
| | | | svn path=/main/trunk/; revision=4603
* Add support for slot based dep matching in all dbapi derived classes. The ↵Zac Medico2006-10-051-3/+25
| | | | | | supported syntax is ${CATEGORY}/${PN}:${SLOT} (identical to that used by paludis and pkgcore). svn path=/main/trunk/; revision=4594
* Don't create /cvs-src since the cvs.eclass will do that automatically.Zac Medico2006-10-041-1/+1
| | | | svn path=/main/trunk/; revision=4591
* Fix a typo for the file mode in ${T}.Zac Medico2006-10-041-2/+2
| | | | svn path=/main/trunk/; revision=4590
* Don't apply the sticky bits until we have a complete plan for bug #149062.Zac Medico2006-10-041-3/+3
| | | | svn path=/main/trunk/; revision=4589
* Properly write all fifo and device nodes to CONTENTS for bug #144781. Code ↵Zac Medico2006-10-041-4/+4
| | | | | | to parse these entries has already in place and they are never unmerged. svn path=/main/trunk/; revision=4588
* 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