summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Allow cache.sqlite to use sqlite3 from python-2.5, if available.Zac Medico2006-09-221-1/+4
| | | | svn path=/main/trunk/; revision=4498
* 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
* Replace relative imports with absolute imports for forward compatibility ↵Zac Medico2006-09-1810-25/+25
| | | | | | with python 2.6. svn path=/main/trunk/; revision=4470
* 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-162-15/+42
| | | | | | 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
* Remove an unused hardlink_active() function.Zac Medico2006-09-141-5/+0
| | | | svn path=/main/trunk/; revision=4449
* Simplify portage_locks.hardlink_is_mine() so that it only checks the number ↵Zac Medico2006-09-141-12/+2
| | | | | | of links. Nothing more is needed. svn path=/main/trunk/; revision=4448
* Remove all traces of atexit hardlock cleanup code, since it doesn't work ↵Zac Medico2006-09-141-17/+1
| | | | | | correctly anyway. svn path=/main/trunk/; revision=4447
* In unhardlink_lockfile(), make sure not to touch lockfilename unless we ↵Zac Medico2006-09-141-5/+8
| | | | | | really have a lock. See bug #147453. svn path=/main/trunk/; revision=4446
* 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