summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* In update_dbentries(), use != rather than "is not" to make sure that updates ↵Zac Medico2006-10-061-1/+1
| | | | | | never occur unnecessarily. svn path=/main/trunk/; revision=4607
* Don't call varexpand inside getconfig for env.d/profile.env values.Zac Medico2006-10-062-5/+8
| | | | svn path=/main/trunk/; revision=4603
* For bug #14215, put the shlex parser in posix mode so that it properly ↵Zac Medico2006-10-061-3/+3
| | | | | | recognizes escaped quotes. svn path=/main/trunk/; revision=4602
* For bug #150163, remove unnecessary validation of new_protect_filename() ↵Zac Medico2006-10-061-4/+0
| | | | | | parameters. svn path=/main/trunk/; revision=4601
* Improve best_match_to_list() and include support for slot deps.Zac Medico2006-10-051-6/+22
| | | | svn path=/main/trunk/; revision=4598
* Fix package moves/slotmoves to work with slot deps.Zac Medico2006-10-051-4/+15
| | | | svn path=/main/trunk/; revision=4597
* Just use a simple replace for the needlessly complex dep_transform function. ↵Zac Medico2006-10-051-20/+1
| | | | | | This will make it compatible with slot deps. svn path=/main/trunk/; revision=4596
* Add support for slot based dep matching in all dbapi derived classes. The ↵Zac Medico2006-10-052-4/+45
| | | | | | supported syntax is ${CATEGORY}/${PN}:${SLOT} (identical to that used by paludis and pkgcore). svn path=/main/trunk/; revision=4594
* Share duplicate code between dep_getkey() and dep_getcpv().Zac Medico2006-10-041-10/+1
| | | | svn path=/main/trunk/; revision=4593
* 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
* Optimize varexpand for bug #149900.Zac Medico2006-10-021-4/+4
| | | | svn path=/main/trunk/; revision=4574
* 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
* Call sys.stdout.flush() after print statements so that output has the ↵Zac Medico2006-09-291-0/+5
| | | | | | correct order when multiple processes output to a shared pipe. svn path=/main/trunk/; revision=4554
* Catch a ValueError caused by corrupt cache for bug #149134.Zac Medico2006-09-281-1/+5
| | | | svn path=/main/trunk/; revision=4545
* 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
* Add a warning about the portage group and the possiblility of exploits for ↵Zac Medico2006-09-251-0/+11
| | | | | | bug #149062. svn path=/main/trunk/; revision=4530
* 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
* Move the open call out of the inner try block.Zac Medico2006-09-221-4/+2
| | | | svn path=/main/trunk/; revision=4506
* Use finally: to ensure that the file is closed properly.Zac Medico2006-09-221-8/+9
| | | | svn path=/main/trunk/; revision=4504
* Don't use LazyLoad for cache pulls because it causes a race condition.Zac Medico2006-09-221-11/+1
| | | | svn path=/main/trunk/; revision=4503
* Improve and simplify __getitem__ error handling.Zac Medico2006-09-221-14/+8
| | | | svn path=/main/trunk/; revision=4502
* Use fstat to when retrieve cache timestamps and avoid a race.Zac Medico2006-09-222-15/+5
| | | | svn path=/main/trunk/; revision=4501
* For compatibility with float timestamps in python-2.5, convert st_mtime ↵Zac Medico2006-09-224-4/+5
| | | | | | attributes to long wherever portage expects 1s resolution. svn path=/main/trunk/; revision=4500
* Convert stat timestamps to long for compatibility with python-2.5, which ↵Zac Medico2006-09-221-1/+2
| | | | | | returns floats for timestamps. svn path=/main/trunk/; revision=4499