summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove the workaround from bug #263081 since most strings should be unicodeZac Medico2009-07-041-12/+0
| | | | | | now. svn path=/main/trunk/; revision=13784
* Make atomic_ofstream() use codecs.open() for py3k compatible unicode handlingZac Medico2009-07-041-4/+10
| | | | | | when mode does not contain 'b'. svn path=/main/trunk/; revision=13783
* Make grablines() use codecs.open() for py3k compatible unicode handling.Zac Medico2009-07-041-1/+1
| | | | svn path=/main/trunk/; revision=13782
* Make code from previous commit safe for empty files.Zac Medico2009-07-041-1/+1
| | | | svn path=/main/trunk/; revision=13781
* Make getconfig() use codecs.option() for py3k compatible unicode handling.Zac Medico2009-07-041-1/+5
| | | | svn path=/main/trunk/; revision=13780
* As a performance optimization, use StringIO instead of _insert_newline_eof toZac Medico2009-07-041-60/+4
| | | | | | | solve bug #228117. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for this patch. svn path=/main/trunk/; revision=13779
* Correct --help usage since it no longer takes system, world, or --sync asZac Medico2009-07-041-1/+1
| | | | | | input. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for this patch. svn path=/main/trunk/; revision=13778
* Correct --help usage since it no longer takes system, world, or --sync asZac Medico2009-07-041-1/+1
| | | | | | input. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for this patch. svn path=/main/trunk/; revision=13777
* Update help() usage since the myopts parameter is gone. Thanks toZac Medico2009-07-041-1/+1
| | | | | | Marat Radchenko <slonopotamusorama@gmail.com> for this patch. svn path=/main/trunk/; revision=13776
* Don't pass myopts into profile_check() since it's no longer needed. Thanks toZac Medico2009-07-041-5/+3
| | | | | | Radchenko <slonopotamusorama@gmail.com> for this patch. svn path=/main/trunk/; revision=13775
* Delete runtime_pkg_mask to avoid memory leak.Zac Medico2009-07-041-1/+1
| | | | svn path=/main/trunk/; revision=13774
* Make LazyItemsDict derive from UserDict instead of dict so that we don't haveZac Medico2009-07-041-43/+18
| | | | | | to implement the pop method (and possibly others such as setdefault). svn path=/main/trunk/; revision=13773
* Remove the --avoid-update option and make it the default behavior whenZac Medico2009-07-044-30/+1
| | | | | | | --update is not specified, as suggested by Allen Brooker (AllenJB) <gentoo-bugs@allenjb.me.uk> in bug #275945, comment #2. svn path=/main/trunk/; revision=13772
* Disable depgraph._show_missed_update() when --quiet is enabled and --debugZac Medico2009-07-041-0/+4
| | | | | | is not enabled. svn path=/main/trunk/; revision=13771
* Cleanup spinner before calling depgraph.display_problems().Zac Medico2009-07-041-0/+2
| | | | svn path=/main/trunk/; revision=13770
* Bug #275217 - Part 5 - When a slot conflict occurs, mask the first packageZac Medico2009-07-042-23/+143
| | | | | | | | | | | | | that got pulled in and restart the calculation. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for the initial patch which I added some additional features to: * display message about missed updates * cache frozen_config instance, to optimize performance * disable backtracking if it fails, fall back to a normal dep calculation + error message. svn path=/main/trunk/; revision=13769
* Don't set RDEPEND=${RDEPEND-${DEPEND}} for EAPI=3 and simplify setting it ↵Arfrever Frehtes Taifersar Arahesis2009-07-031-10/+4
| | | | | | for lower EAPIs. svn path=/main/trunk/; revision=13768
* Implement LazyItemsDict.pop() since dict.pop() bypasses our overriddenZac Medico2009-07-031-0/+17
| | | | | | | | __getitem__ implementation. This fixes a problem with config.setcpv() failing to set PORTAGE_REPO_NAME when appropriate. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=13767
* Make --help into an action, and move --help --sync output to theZac Medico2009-07-032-35/+29
| | | | | | | actions section. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for this patch. svn path=/main/trunk/; revision=13766
* Move "import copy" to the top of the file.Zac Medico2009-07-031-2/+2
| | | | svn path=/main/trunk/; revision=13765
* Skip PROVIDE conditional evaluation in PackageSet.iterAtomsForPackage(), sinceZac Medico2009-07-031-3/+3
| | | | | | Package.metadata handles that automatically now. svn path=/main/trunk/; revision=13764
* Fix broken reference to _graph_trees.Zac Medico2009-07-031-1/+1
| | | | svn path=/main/trunk/; revision=13763
* Fix broken reference to self.myopts in the dynamic_config constructor.Zac Medico2009-07-031-2/+2
| | | | svn path=/main/trunk/; revision=13762
* Use the new frozen_config depgraph constructor parameter to optimizeZac Medico2009-07-031-1/+3
| | | | | | resume_depgraph(). svn path=/main/trunk/; revision=13761
* Add a frozen_config parameter to the depgraph constructor, so that multipleZac Medico2009-07-031-95/+102
| | | | | | | depgraph instances created for backtracking purposes can reuse the same frozen_config instance. svn path=/main/trunk/; revision=13760
* Use depgraph._pkg() whenever possible.Zac Medico2009-07-031-32/+13
| | | | svn path=/main/trunk/; revision=13759
* Move RootConfig.visible_pkgs to dynamic_config._visible_pkgs, so RootConfigZac Medico2009-07-022-4/+7
| | | | | | can be considered entirely "frozen". svn path=/main/trunk/; revision=13758
* Fix reversal in --nodeps merge order. Thanks to Michael HaubenwallnerZac Medico2009-07-021-1/+0
| | | | | | <haubi@gentoo.org> for reporting. svn path=/main/trunk/; revision=13757
* Bug #275947 - Enable build.log when FEATURES=sesandbox is enabled, sinceZac Medico2009-07-011-7/+6
| | | | | | | it works when a pty is available (but not through a normal pipe, due to bug #162404). svn path=/main/trunk/; revision=13756
* Fix broken references to depgraph._dynamic_config and _frozen_config inZac Medico2009-07-011-10/+11
| | | | | | calc_depclean(). svn path=/main/trunk/; revision=13754
* Fix typo from previous commit.Zac Medico2009-07-011-1/+1
| | | | svn path=/main/trunk/; revision=13753
* Fix depgraph._serialize_tasks so it never performa a needless uninstall taskZac Medico2009-07-011-15/+14
| | | | | | when a package in the same slot is scheduled to replace it. svn path=/main/trunk/; revision=13752
* Remove obsolete blocker expansion code from _expand_new_virtuals.Zac Medico2009-06-301-19/+6
| | | | svn path=/main/trunk/; revision=13751
* Always use dep_getkey() when using profile virtuals values, since at leastZac Medico2009-06-302-5/+7
| | | | | | | /profiles/base/virtuals contains an atom with an operator (virtual/pam maps to >=sys-libs/pam-0.78). svn path=/main/trunk/; revision=13750
* Fix depgraph._resolve to do old-style virtual matches against package.providedZac Medico2009-06-301-0/+17
| | | | | | when there is no other choice. svn path=/main/trunk/; revision=13749
* Fix _expand_new_virtuals to expand old-style virtuals for package.providedZac Medico2009-06-301-0/+9
| | | | | | entries when there is no other choice. svn path=/main/trunk/; revision=13748
* Bug #275217 - Part 4 - Move all member variables of _emerge.depgraph intoZac Medico2009-06-301-529/+542
| | | | | | | frozen_config or dynamic_config. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13747
* Tweak depgraph._select_pkg_highest_available_imp to avoid more updates whenZac Medico2009-06-301-2/+5
| | | | | | | in --avoid-update, by ignoring masked installed packages and packages for which the ebuild is no longer available. svn path=/main/trunk/; revision=13746
* Bug #275945 - Add a new --avoid-update which tries to avoid updating packagesZac Medico2009-06-304-0/+34
| | | | | | | which possible. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13745
* Bug #275901 - Make emerge bail out for USE deps in EAPI 0 and 1.Zac Medico2009-06-301-0/+4
| | | | svn path=/main/trunk/; revision=13743
* Bug #82488 - In _expand_new_virtuals(), check PROVIDE before expandingZac Medico2009-06-301-13/+25
| | | | | | old-style virtuals. svn path=/main/trunk/; revision=13742
* In _expand_new_virtuals, don't expand old-style virtuals when there isZac Medico2009-06-301-2/+3
| | | | | | a new-style match. svn path=/main/trunk/; revision=13741
* Remove the upgrade selection code inside dep_zapdeps (from bug #171840 andZac Medico2009-06-301-43/+2
| | | | | | | | | bug #159360) since the code in depgraph._dep_check_composite_db._visible() from bug #253904 now masks choices that do not match the highest available version in the slot. This means that such undesirable choices automatically go into the dep_zapdeps "other" category. svn path=/main/trunk/; revision=13740
* Fix virtual blocker code inside _expand_new_virtuals to correctly handleZac Medico2009-06-301-2/+3
| | | | | | !!atom blockers. svn path=/main/trunk/; revision=13739
* Use a finally blocker to ensure _expand_new_virtuals properly resets eapiZac Medico2009-06-291-8/+9
| | | | | | state when an exception is raised. svn path=/main/trunk/; revision=13738
* Bug #275796 - Prefer packages selected for install over installed packages.Zac Medico2009-06-291-15/+13
| | | | | | | | | This helps automatically solve cases such as the upgrade to the new bluez package which requires uninstallation of the older bluez-libs and bluez-utils packages. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13737
* Bug #275821 - Make emerge reject !!atom blockers for EAPI 0 and 1.Zac Medico2009-06-291-1/+24
| | | | svn path=/main/trunk/; revision=13736
* Move code from bug #258773 to dep_zapdeps, since the parent always needs toZac Medico2009-06-292-11/+10
| | | | | | be passed in for atom validation in order to solve bug #275821. svn path=/main/trunk/; revision=13735
* Prepare 41 messages to localization.Arfrever Frehtes Taifersar Arahesis2009-06-2911-59/+75
| | | | svn path=/main/trunk/; revision=13733
* Add missing resume_depgraph import, and remove unused imports.Zac Medico2009-06-281-4/+1
| | | | svn path=/main/trunk/; revision=13732