summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Improve description of QA_DT_HASH.Arfrever Frehtes Taifersar Arahesis2009-07-121-0/+3
| | | | svn path=/main/trunk/; revision=13820
* In depgraph._show_missed_update(), don't show installed packages since weZac Medico2009-07-121-0/+4
| | | | | | only want to show available updates. svn path=/main/trunk/; revision=13819
* Move the backtracking code from action_build() to a new backtrack_depgraph()Zac Medico2009-07-122-38/+46
| | | | | | function. svn path=/main/trunk/; revision=13818
* Eliminate duplicate code inside depgraph._show_missed_update().Zac Medico2009-07-111-14/+9
| | | | svn path=/main/trunk/; revision=13817
* Bug #137562 - Implement backtracking for missing dependencies. Thanks toZac Medico2009-07-111-0/+25
| | | | | | | Sebastian Mingramm (few) <s.mingramm@gmx.de> for the initial patch which only needed minor changes. svn path=/main/trunk/; revision=13816
* Optimize USE_EXPAND -> USE code inside config.setcpv(). Thanks toZac Medico2009-07-111-11/+4
| | | | | | | Marat Radchenko <slonopotamusorama@gmail.com> for this patch from bug #276813. svn path=/main/trunk/; revision=13815
* Assign 'cfgprot' before referencing it. Reported by Thomas Sachau.Arfrever Frehtes Taifersar Arahesis2009-07-111-1/+1
| | | | svn path=/main/trunk/; revision=13814
* Allow --deep to take an optional integer parameter, to specify how deep itZac Medico2009-07-095-18/+52
| | | | | | | should go. Also make --update so it no longer implies the equivalent of --deep=1. To get the old --update behavior, use --update --deep=1. svn path=/main/trunk/; revision=13812
* Tweak arguments for <python-2.6 compat.Zac Medico2009-07-091-2/+2
| | | | svn path=/main/trunk/; revision=13811
* Make -j argument handling more generic, so it's easy to add similar argumentsZac Medico2009-07-091-26/+60
| | | | | | (planning to add support for integer -D/--deep arguments). svn path=/main/trunk/; revision=13810
* Use a dict for depgraph params, so we can use it to store key/value pairsZac Medico2009-07-092-13/+13
| | | | | | and fix the depgraph so it doesn't use emerge options directly. svn path=/main/trunk/; revision=13809
* Add a --debug warning message inside _add_pkg in case a potentially infiniteZac Medico2009-07-081-0/+12
| | | | | | backtracking loop is detected (it should never happen). svn path=/main/trunk/; revision=13808
* Document the --selective option.Zac Medico2009-07-082-0/+10
| | | | svn path=/main/trunk/; revision=13807
* Fix --selective so it works.Zac Medico2009-07-081-1/+2
| | | | svn path=/main/trunk/; revision=13806
* Bug #276957 - Fix dropped "in graph" choice for runtime deps inside dep_zapdeps.Zac Medico2009-07-071-0/+2
| | | | svn path=/main/trunk/; revision=13805
* Shorten the preserved libs message when in --quiet mode. Thanks to SebastianZac Medico2009-07-071-4/+10
| | | | | | Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13803
* Bug #276866 - --binpkg-respect-use < y | n >Zac Medico2009-07-074-2/+29
| | | | | | | | | Tells emerge to ignore binary packages if their use flags don't match the current configuration. (default: ´n´) Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch (small tweaks by me). svn path=/main/trunk/; revision=13802
* Optimize dbapi._iter_match_use() so that it shares a single compiled regexZac Medico2009-07-062-8/+7
| | | | | | | | for all implicit iuse checks. This avoids lots of expensibe re.compile() calls. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for the initial patch. svn path=/main/trunk/; revision=13801
* Bug #273640 - Add --disable-dependency-tracking to econf arguments forZac Medico2009-07-061-0/+5
| | | | | | EAPI 3. Thanks to Markus Meier <maekke@gentoo.org> for this patch. svn path=/main/trunk/; revision=13800
* Bug #273622 - Add pkg_pretend support for the ebuild(1) command (emergeZac Medico2009-07-062-3/+21
| | | | | | | support not implemented yet). Thanks to Markus Meier <maekke@gentoo.org> for this patch. svn path=/main/trunk/; revision=13799
* Bug #273631 - Add default src_install implementation for EAPI 3. Thanks toZac Medico2009-07-061-0/+21
| | | | | | | Markus Meier <maekke@gentoo.org> for this patch (and people in #gentoo-portage for bash syntax tweaks). svn path=/main/trunk/; revision=13798
* Use PackageSet.findAtomForPackage() when matching the existing node againstZac Medico2009-07-061-1/+4
| | | | | | the atom inside _select_pkg_highest_available_imp(), for PROVIDE support. svn path=/main/trunk/; revision=13794
* Always exit unsuccessfully if there are any failures.Zac Medico2009-07-061-1/+3
| | | | svn path=/main/trunk/; revision=13793
* Hardcode utf_8 encoding inside _setitem().Zac Medico2009-07-051-3/+2
| | | | svn path=/main/trunk/; revision=13792
* Assume utf_8 encoding in alls reads/writes (unicode handling required for py3k).Zac Medico2009-07-051-3/+6
| | | | svn path=/main/trunk/; revision=13791
* Fix broken reference to possible_upgrades inside dep_zapdeps().Zac Medico2009-07-051-1/+1
| | | | svn path=/main/trunk/; revision=13790
* Make sure avoid_update always returns existing_node if available.Zac Medico2009-07-051-0/+2
| | | | svn path=/main/trunk/; revision=13789
* Bug #276264 - Note that eclass-overrides may make it necessary to setZac Medico2009-07-051-1/+6
| | | | | | PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/metadata/cache" in make.conf. svn path=/main/trunk/; revision=13788
* Remove set operator support since the current implementation does not meetZac Medico2009-07-051-43/+1
| | | | | | | | | | | | | | | user expectations, as mentioned in bug #253802, comment #5: Package set operators currently operate on atoms, but what users really need is for them to operate on the packages themselves. This will allow one set to add or subtract packages from another even though the sets to not use the exact same atoms to refer to the given packages. I imagine the way this should be done is to create a mapping of atom -> package for each set, perform the intersection using the packages, and then map the package intersection back into a set of atoms. svn path=/main/trunk/; revision=13787
* Make dblink.setfile() write environment.bz2 in binary mode.Zac Medico2009-07-041-1/+4
| | | | svn path=/main/trunk/; revision=13786
* Assume utf_8 encoding when reading raw ebuild metadata.Zac Medico2009-07-042-2/+5
| | | | svn path=/main/trunk/; revision=13785
* 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