Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert myopts into a dictionary so that it can be used for more that ↵ | Zac Medico | 2006-09-28 | 1 | -17/+16 |
| | | | | | | boolean flags. svn path=/main/trunk/; revision=4547 | ||||
* | Convert emerge option parsing to use python's optparse module. This patch ↵ | Zac Medico | 2006-09-28 | 1 | -51/+46 |
| | | | | | | makes the minimum changes necessary for the conversion and is supposed to be 100% compatible with previous parsing behavior. svn path=/main/trunk/; revision=4546 | ||||
* | Catch a ValueError caused by corrupt cache for bug #149134. | Zac Medico | 2006-09-28 | 1 | -1/+5 |
| | | | | svn path=/main/trunk/; revision=4545 | ||||
* | In dep_zapdeps preference selection, use package names instead of the real ↵ | Zac Medico | 2006-09-27 | 1 | -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 Medico | 2006-09-27 | 1 | -11/+5 |
| | | | | svn path=/main/trunk/; revision=4542 | ||||
* | Fix --update so that it updates direct dependencies for bug #149208. | Zac Medico | 2006-09-27 | 1 | -5/+8 |
| | | | | svn path=/main/trunk/; revision=4541 | ||||
* | Make sure that all packages are in the dbapi when doing the blocker validation. | Zac Medico | 2006-09-27 | 1 | -0/+11 |
| | | | | svn path=/main/trunk/; revision=4540 | ||||
* | Add SLOT support to fakedbapi then use it for depgraph blocker handling and ↵ | Zac Medico | 2006-09-27 | 2 | -47/+49 |
| | | | | | | dep_zapdeps preference selection. svn path=/main/trunk/; revision=4539 | ||||
* | Add a warning about the portage group and the possiblility of exploits for ↵ | Zac Medico | 2006-09-25 | 1 | -0/+11 |
| | | | | | | bug #149062. svn path=/main/trunk/; revision=4530 | ||||
* | Clean up the logic a little for bug #149092. | Zac Medico | 2006-09-25 | 1 | -2/+4 |
| | | | | svn path=/main/trunk/; revision=4529 | ||||
* | Check the dep_check return value and fail with a message if an error has ↵ | Zac Medico | 2006-09-25 | 1 | -17/+13 |
| | | | | | | occurred. svn path=/main/trunk/; revision=4528 | ||||
* | Make `emerge world` (without --deep) work as expected for bug #149092. | Zac Medico | 2006-09-25 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=4527 | ||||
* | print errors to stderr, not stdout | Mike Frysinger | 2006-09-25 | 1 | -6/+6 |
| | | | | svn path=/main/trunk/; revision=4526 | ||||
* | For bug #149028, don't lock the tbz2 file because the filesytem could be ↵ | Zac Medico | 2006-09-25 | 1 | -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 Medico | 2006-09-24 | 2 | -15/+8 |
| | | | | svn path=/main/trunk/; revision=4524 | ||||
* | Remove depgraph params for depclean since it no longer uses the depgraph. | Zac Medico | 2006-09-24 | 1 | -3/+0 |
| | | | | svn path=/main/trunk/; revision=4523 | ||||
* | In order to ensure correct merge order such that build time dependencies ↵ | Zac Medico | 2006-09-24 | 1 | -1/+6 |
| | | | | | | will really be usable, don't treat RDEPEND as soft_deps. Thanks for Jason Stubbs for recognizing this issue. svn path=/main/trunk/; revision=4522 | ||||
* | Use the same directories for binary package merges as would be used for ↵ | Zac Medico | 2006-09-24 | 1 | -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 Medico | 2006-09-23 | 1 | -64/+94 |
| | | | | svn path=/main/trunk/; revision=4520 | ||||
* | Remove pkgmerge since it's apparent that nobody uses it (it's been broken ↵ | Zac Medico | 2006-09-23 | 2 | -143/+0 |
| | | | | | | for a long time, anyway). svn path=/main/trunk/; revision=4519 | ||||
* | Remove doebuild_environment return value checks since it no raises and ↵ | Zac Medico | 2006-09-23 | 2 | -10/+3 |
| | | | | | | 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 | 2 | -2/+5 |
| | | | | svn path=/main/trunk/; revision=4513 | ||||
* | Move PORTAGE_BUILDDIR locking out of doebuild and into emerge in order to ↵ | Zac Medico | 2006-09-23 | 2 | -71/+78 |
| | | | | | | ensure that emerge maintains it's lock through all phases. svn path=/main/trunk/; revision=4512 | ||||
* | Remove outdated "Unable to run required binary" messages that are now ↵ | Zac Medico | 2006-09-23 | 1 | -16/+0 |
| | | | | | | unreachable. svn path=/main/trunk/; revision=4511 | ||||
* | 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 | ||||
* | Pass in the correct arg= value to select_dep. | Zac Medico | 2006-09-23 | 1 | -2/+6 |
| | | | | svn path=/main/trunk/; revision=4509 | ||||
* | Never allow packages explicitly requested on the command line to be tagged ↵ | Zac Medico | 2006-09-23 | 1 | -12/+17 |
| | | | | | | "nomerge" unless --noreplace has been specified. This patch accomplishes the same goal as r4494 but without the potential for causing inconsistency in the depgraph. svn path=/main/trunk/; revision=4508 | ||||
* | Ensure that soft_dep is a plain boolean (not vardb match results). | Zac Medico | 2006-09-22 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=4507 | ||||
* | Move the open call out of the inner try block. | Zac Medico | 2006-09-22 | 1 | -4/+2 |
| | | | | svn path=/main/trunk/; revision=4506 | ||||
* | Make it possible, once again, to use --noreplace to add a package to the ↵ | Zac Medico | 2006-09-22 | 1 | -6/+3 |
| | | | | | | world file. svn path=/main/trunk/; revision=4505 | ||||
* | 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 | 5 | -6/+7 |
| | | | | | | 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 | 2 | -28/+3 |
| | | | | | | 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 | ||||
* | use EBUILD_SH_ARGS instead of $*; bug 148615 | Simon Stelling | 2006-09-22 | 1 | -8/+8 |
| | | | | svn path=/main/trunk/; revision=4495 | ||||
* | Allow packages specified on the command line to be retroactively upgraded ↵ | Zac Medico | 2006-09-22 | 2 | -0/+28 |
| | | | | | | from "nomerge" to "merge" nodes. svn path=/main/trunk/; revision=4494 | ||||
* | Fix another IndexError due to an assumption that digraph nodes split into at ↵ | Zac Medico | 2006-09-21 | 1 | -2/+2 |
| | | | | | | least 4 parts. svn path=/main/trunk/; revision=4493 | ||||
* | Prevent --update and/or --deep style behavior when the user hasn't specified ↵ | Zac Medico | 2006-09-21 | 1 | -0/+5 |
| | | | | | | them. In these cases a full depgraph isn't desired and we have to ignore the installed deps that are now returned from dep_check. svn path=/main/trunk/; revision=4492 | ||||
* | Prevent an IndexError caused by blocker nodes splitting to 3 items instead of 4. | Zac Medico | 2006-09-21 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=4491 | ||||
* | Add a comment about old-style virtuals inside depgraph.validate_blockers(). | Zac Medico | 2006-09-21 | 1 | -0/+3 |
| | | | | svn path=/main/trunk/; revision=4490 | ||||
* | Remove an inaccurate comment. | Zac Medico | 2006-09-21 | 1 | -4/+2 |
| | | | | svn path=/main/trunk/; revision=4489 | ||||
* | Add a docstring for depgraph.validate_blockers(). | Zac Medico | 2006-09-21 | 1 | -0/+5 |
| | | | | svn path=/main/trunk/; revision=4488 | ||||
* | Fix depgraph.validate_blockers() logic so that match_from_list works correctly. | Zac Medico | 2006-09-21 | 1 | -3/+6 |
| | | | | svn path=/main/trunk/; revision=4487 |