summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Add a new portage.util.shlex_split() function to wrap all shlex.split() calls,Zac Medico2009-08-063-8/+6
| | | | | | since shlex.split() doesn't behave well with unicode strings. svn path=/main/trunk/; revision=13939
* Convert unicode if necessary before writing to stdout.Zac Medico2009-08-061-11/+12
| | | | svn path=/main/trunk/; revision=13932
* Add unicode conversions in various logging code.Zac Medico2009-08-062-0/+11
| | | | svn path=/main/trunk/; revision=13931
* Fix insert_optional_args() to properly handle thinks like -Dk which requireZac Medico2009-08-051-1/+3
| | | | | | multiple substitutions of default arguments. svn path=/main/trunk/; revision=13919
* Open file in text mode (unicode) where appropriate.Zac Medico2009-08-059-9/+34
| | | | svn path=/main/trunk/; revision=13913
* Avoid UnicodeEncodeError with unicode package.mask comments. Thanks toZac Medico2009-08-041-0/+5
| | | | | | Thanks to Scott Moreau (soreau) for reporting. svn path=/main/trunk/; revision=13910
* Bug #280269 - Decode commandline arguments to unicode when necessary.Zac Medico2009-08-041-0/+4
| | | | svn path=/main/trunk/; revision=13904
* Open log files in text mode (to avoid UnicodeEncodeError). Thanks to MarkosZac Medico2009-08-041-3/+7
| | | | | | Chandras <hwoarang@gentoo.org> for reporting. svn path=/main/trunk/; revision=13901
* Set "emerge" xterm title at the beginning of running emerge.Arfrever Frehtes Taifersar Arahesis2009-08-041-2/+4
| | | | svn path=/main/trunk/; revision=13887
* Fix NameError from r13880. Thanks to Arfrever for reporting.Zac Medico2009-08-031-1/+1
| | | | svn path=/main/trunk/; revision=13883
* Bug #278729 - Add an Atom.without_use attribute which is identical to theZac Medico2009-08-031-15/+3
| | | | | | atom itself, except without any USE dependencies. svn path=/main/trunk/; revision=13880
* Only treat non-negative integers as valid in insert_optional_args().Zac Medico2009-08-011-2/+1
| | | | svn path=/main/trunk/; revision=13874
* Add support for --usepkg=n so that it's possible to disable it onZac Medico2009-08-012-9/+73
| | | | | | | the command line after it's been enabled in EMERGE_DEFAULT_OPTS. Also do the same for --usepkgonly, --getbinpkg, and --getbinpkgonly. svn path=/main/trunk/; revision=13873
* Add support for --complete-graph=n so that it's possible to disable it onZac Medico2009-08-012-2/+13
| | | | | | the command line after it's been enabled in EMERGE_DEFAULT_OPTS. svn path=/main/trunk/; revision=13872
* In depgraph._show_slot_collision_notice(), display $ROOT (if not /) with eachZac Medico2009-07-301-0/+2
| | | | | | slot atom. svn path=/main/trunk/; revision=13865
* Rename get_updated_config_files() to find_updated_config_files() and makeZac Medico2009-07-301-2/+3
| | | | | | it an iterator of tuples. svn path=/main/trunk/; revision=13859
* Add get_updated_config_files in portage APIMounir Lamouri2009-07-301-52/+13
| | | | | | | chk_updated_cfg_files in _emerge API is now using get_updated_config_files It lets other app to get updated config files without ouputs svn path=/main/trunk/; revision=13858
* Fix depgraph._show_missed_update() to keep each $ROOT separate.Zac Medico2009-07-291-4/+8
| | | | svn path=/main/trunk/; revision=13855
* Account for $ROOT inside depgraph._show_missed_update_unsatisfied_dep().Zac Medico2009-07-291-4/+3
| | | | svn path=/main/trunk/; revision=13854
* Remove redundant loop inside depgraph._show_missed_update_slot_conflicts().Zac Medico2009-07-281-12/+12
| | | | svn path=/main/trunk/; revision=13853
* When backtracking due to an unsatisfied dependency, show a normal unsatisfiedZac Medico2009-07-281-3/+49
| | | | | | | dependency message for the given atom. Thanks to Thomas Sachau <tommy@gentoo.org> for reporting. svn path=/main/trunk/; revision=13852
* Fix --onlydeps breakage. Thanks to Arfrever for reporting.Zac Medico2009-07-251-1/+1
| | | | svn path=/main/trunk/; revision=13851
* Add comment in calc_depclean() about topological sort optimization thatZac Medico2009-07-211-1/+2
| | | | | | minimizes issues with implicit deps. svn path=/main/trunk/; revision=13846
* 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
* 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 _check_manifests(), skip uninstall operations.Zac Medico2009-07-191-0/+3
| | | | svn path=/main/trunk/; revision=13835
* 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
* 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-121-4/+5
| | | | | | | 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
* 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
* Allow --deep to take an optional integer parameter, to specify how deep itZac Medico2009-07-094-15/+49
| | | | | | | 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-081-0/+6
| | | | svn path=/main/trunk/; revision=13807
* Fix --selective so it works.Zac Medico2009-07-081-1/+2
| | | | svn path=/main/trunk/; revision=13806
* 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-073-2/+25
| | | | | | | | | 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
* 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
* Make sure avoid_update always returns existing_node if available.Zac Medico2009-07-051-0/+2
| | | | svn path=/main/trunk/; revision=13789
* 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
* Assume utf_8 encoding when reading raw ebuild metadata.Zac Medico2009-07-041-1/+3
| | | | svn path=/main/trunk/; revision=13785
* 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