Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove doebuild_environment return value checks since it no raises and ↵ | Zac Medico | 2006-09-23 | 1 | -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 Medico | 2006-09-23 | 1 | -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 Medico | 2006-09-23 | 1 | -3/+3 |
| | | | | | | prerm and postrm). svn path=/main/trunk/; revision=4515 | ||||
* | Lock PORTAGE_BUILDDIR all the way through prerm, unmerge, and postrm. | Zac Medico | 2006-09-23 | 1 | -50/+60 |
| | | | | svn path=/main/trunk/; revision=4514 | ||||
* | Always check the return value of doebuild_environment(). | Zac Medico | 2006-09-23 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=4513 | ||||
* | Move PORTAGE_BUILDDIR locking out of doebuild and into emerge in order to ↵ | Zac Medico | 2006-09-23 | 1 | -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 Medico | 2006-09-23 | 1 | -14/+14 |
| | | | | svn path=/main/trunk/; revision=4510 | ||||
* | Move the open call out of the inner try block. | Zac Medico | 2006-09-22 | 1 | -4/+2 |
| | | | | svn path=/main/trunk/; revision=4506 | ||||
* | Use finally: to ensure that the file is closed properly. | Zac Medico | 2006-09-22 | 1 | -8/+9 |
| | | | | svn path=/main/trunk/; revision=4504 | ||||
* | Don't use LazyLoad for cache pulls because it causes a race condition. | Zac Medico | 2006-09-22 | 1 | -11/+1 |
| | | | | svn path=/main/trunk/; revision=4503 | ||||
* | Improve and simplify __getitem__ error handling. | Zac Medico | 2006-09-22 | 1 | -14/+8 |
| | | | | svn path=/main/trunk/; revision=4502 | ||||
* | Use fstat to when retrieve cache timestamps and avoid a race. | Zac Medico | 2006-09-22 | 2 | -15/+5 |
| | | | | svn path=/main/trunk/; revision=4501 | ||||
* | For compatibility with float timestamps in python-2.5, convert st_mtime ↵ | Zac Medico | 2006-09-22 | 4 | -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 Medico | 2006-09-22 | 1 | -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 Medico | 2006-09-22 | 1 | -1/+4 |
| | | | | svn path=/main/trunk/; revision=4498 | ||||
* | Revert r4495, since conversion from nomerge to merge may put the depgraph ↵ | Zac Medico | 2006-09-22 | 1 | -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 Medico | 2006-09-22 | 1 | -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 Medico | 2006-09-20 | 1 | -3/+3 |
| | | | | | | together with --quiet. svn path=/main/trunk/; revision=4485 | ||||
* | For consistency, pass ignore_soft_deps into digraph.hasallzeros(). | Zac Medico | 2006-09-19 | 1 | -2/+3 |
| | | | | svn path=/main/trunk/; revision=4482 | ||||
* | Fix digraph.hasallzeros() breakage. | Zac Medico | 2006-09-19 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=4481 | ||||
* | This is a new --tree implementation by Jason Stubbs, from bug #147766. | Zac Medico | 2006-09-19 | 1 | -23/+17 |
| | | | | svn path=/main/trunk/; revision=4479 | ||||
* | Fix fetch resume logic for bug #145601 and document the meaning of the ↵ | Zac Medico | 2006-09-19 | 1 | -0/+9 |
| | | | | | | "fetched" variable. svn path=/main/trunk/; revision=4478 | ||||
* | Fix digraph.debug_print inverted hard/soft logic. | Zac Medico | 2006-09-19 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=4477 | ||||
* | Thanks to Jason Stubbs for this patch from bug #147766 which enables ↵ | Zac Medico | 2006-09-18 | 1 | -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 Medico | 2006-09-18 | 10 | -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 Medico | 2006-09-17 | 1 | -0/+2 |
| | | | | svn path=/main/trunk/; revision=4468 | ||||
* | In portage.commit_mtimedb(), use the commit() method when possible, so that ↵ | Zac Medico | 2006-09-16 | 1 | -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 Medico | 2006-09-16 | 2 | -15/+42 |
| | | | | | | CONFIG_PROTECT_MASK. svn path=/main/trunk/; revision=4458 | ||||
* | When it's detected that a previously remembered update has been accepted, ↵ | Zac Medico | 2006-09-15 | 1 | -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 Medico | 2006-09-15 | 1 | -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 Medico | 2006-09-15 | 1 | -10/+9 |
| | | | | svn path=/main/trunk/; revision=4451 | ||||
* | Simplify the confmem logic so that it's easier to read. | Zac Medico | 2006-09-15 | 1 | -27/+13 |
| | | | | svn path=/main/trunk/; revision=4450 | ||||
* | Remove an unused hardlink_active() function. | Zac Medico | 2006-09-14 | 1 | -5/+0 |
| | | | | svn path=/main/trunk/; revision=4449 | ||||
* | Simplify portage_locks.hardlink_is_mine() so that it only checks the number ↵ | Zac Medico | 2006-09-14 | 1 | -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 Medico | 2006-09-14 | 1 | -17/+1 |
| | | | | | | correctly anyway. svn path=/main/trunk/; revision=4447 | ||||
* | In unhardlink_lockfile(), make sure not to touch lockfilename unless we ↵ | Zac Medico | 2006-09-14 | 1 | -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 Medico | 2006-09-13 | 1 | -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 Medico | 2006-09-13 | 1 | -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 Medico | 2006-09-10 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=4434 | ||||
* | Fix a broken call to new_protect_filename for bug #147010. This is a ↵ | Zac Medico | 2006-09-10 | 1 | -1/+1 |
| | | | | | | regression from r4400 (fix for bug #146289). svn path=/main/trunk/; revision=4433 | ||||
* | For bug #80846, prevent false collisions caused by symlinks. Thanks to ↵ | Zac Medico | 2006-09-09 | 1 | -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 Medico | 2006-09-09 | 1 | -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.1 | Zac Medico | 2006-09-07 | 1 | -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 Medico | 2006-09-06 | 1 | -0/+2 |
| | | | | svn path=/main/trunk/; revision=4418 | ||||
* | Properly lock the critical section of portage.unmerge() for bug #101240. | Zac Medico | 2006-09-06 | 1 | -9/+11 |
| | | | | svn path=/main/trunk/; revision=4417 | ||||
* | Allow env_update to work if there are broken symlinks in /etc/env.d/. See ↵ | Zac Medico | 2006-09-06 | 1 | -2/+3 |
| | | | | | | bug #146412. svn path=/main/trunk/; revision=4416 | ||||
* | During env_update, raise a FileNotFound exception if a file is unexpectedly ↵ | Zac Medico | 2006-09-05 | 1 | -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 Medico | 2006-09-04 | 1 | -0/+3 |
| | | | | svn path=/main/trunk/; revision=4407 | ||||
* | Only apply USE masks in dep_check when called by repoman with use="all". | Zac Medico | 2006-09-04 | 1 | -4/+9 |
| | | | | svn path=/main/trunk/; revision=4405 | ||||
* | Use a set for masklist inside dep_check. | Zac Medico | 2006-09-04 | 1 | -10/+5 |
| | | | | svn path=/main/trunk/; revision=4404 |