summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* FEATURES=unmerge-logsZac Medico2009-07-203-1/+15
| | | | | | | | | Keep logs from successful unmerge phases. This is relevant only when PORT_LOGDIR is set. Thanks to Diego Pettenò <flameeyes@gentoo.org> for the suggestion. svn path=/main/trunk/; revision=13844
* Remove empty log files inside dblink.unmerge(). Thanks to Diego PettenòZac Medico2009-07-201-0/+12
| | | | | | <flameeyes@gentoo.org> for reporting. svn path=/main/trunk/; revision=13843
* Skip Blocker instances inside _add_prefetchers().Zac Medico2009-07-201-1/+2
| | | | svn path=/main/trunk/; revision=13842
* Move mtimedb resume list code from action_build() toZac Medico2009-07-202-8/+9
| | | | | | Scheduler._save_resume_list(). svn path=/main/trunk/; revision=13841
* Use a lazy reference to sys.stdout, in case the API consumer hasZac Medico2009-07-201-3/+8
| | | | | | temporarily overridden stdout. svn path=/main/trunk/; revision=13840
* Make portage.listdir() and dbapi.cp_list() return unicode.Zac Medico2009-07-203-1/+8
| | | | svn path=/main/trunk/; revision=13839
* Fix Scheduler bug:Mounir Lamouri2009-07-201-0/+2
| | | | | | the scheduler was adding prefetcher even for uninstall tasks svn path=/main/trunk/; revision=13838
* In grablines(), specify encoding=sys.getdefaultencoding() in the codecs.open()Zac Medico2009-07-201-2/+3
| | | | | | | | parameters, since otherwise readlines doesn't return unicode (at least in some cases, observed with python-2.6.2). Also, fix grabfile() to return unicode when it normalizes whitespace. svn path=/main/trunk/; revision=13837
* Use codecs.open for unicode support in FileLoader.load().Zac Medico2009-07-201-1/+2
| | | | svn path=/main/trunk/; revision=13836
* In _check_manifests(), skip uninstall operations.Zac Medico2009-07-191-0/+3
| | | | svn path=/main/trunk/; revision=13835
* Use readlines() to optimize performance. Thanks to Marat RadchenkoZac Medico2009-07-192-2/+1
| | | | | | <slonopotamusorama@gmail.com> for this patch from bug #276813. svn path=/main/trunk/; revision=13834
* For consistency with emake, add ${MAKEOPTS} ${EXTRA_EMAKE} to make argumentsZac Medico2009-07-171-0/+2
| | | | | | | | inside einstall. Also, force -j1 in order to override any --jobs settings from MAKEOPTS. Thanks to Diego Pettenò <flameeyes@gentoo.org> for the suggestion. svn path=/main/trunk/; revision=13833
* For unsatisfied USE dependencies, do not backtrack if only USE have to changeZac Medico2009-07-161-4/+16
| | | | | | | in order to be satisfied. Thanks to Thomas Sachau <tommy@gentoo.org> fo reporting. svn path=/main/trunk/; revision=13832
* align with Prefix, also warn on sparcv9 hosts -- 64-bits Solaris/SparcFabian Groffen2009-07-161-1/+1
| | | | svn path=/main/trunk/; revision=13831
* add hppa64 to the 64bit list as pointed out by Michael HaubenwallnerMike Frysinger2009-07-161-1/+1
| | | | svn path=/main/trunk/; revision=13828
* fix up spacing, remove commented out code, fix copyright (sort of ↵Fabian Groffen2009-07-131-48/+48
| | | | | | see-if-I-can-commit test) svn path=/main/trunk/; revision=13824
* Optimize USE_EXPAND -> USE code inside config.setcpv(). Thanks toZac Medico2009-07-121-19/+29
| | | | | | | Marat Radchenko <slonopotamusorama@gmail.com> for the initial patch from bug #276813. svn path=/main/trunk/; revision=13823
* Allow search and depgraph to avoid spinner by using spinner=NoneMounir Lamouri2009-07-122-11/+19
| | | | svn path=/main/trunk/; revision=13822
* Remove leading slash from appropriate paths inside portage.const, so thatZac Medico2009-07-127-29/+37
| | | | | | | lstrip(os.sep) is not needed for os.path.join() calls. Thanks to Fabian Groffen <grobian@g.o> for this patch. svn path=/main/trunk/; revision=13821
* 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