summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Revert r14042 since we're not going to use it.Zac Medico2009-08-141-4/+2
| | | | svn path=/main/trunk/; revision=14048
* Add a clean_world attribute.Zac Medico2009-08-141-2/+4
| | | | svn path=/main/trunk/; revision=14042
* Rename and log installed files that don't conform to portage._merge_encodingZac Medico2009-08-141-1/+10
| | | | | | (equal to sys.getfilesystemencoding()). svn path=/main/trunk/; revision=14029
* Set a limit of 30 backtracking attempts, since it's possible for it toZac Medico2009-08-121-3/+4
| | | | | | go out of control and take an unreasonable amount of time. svn path=/main/trunk/; revision=14014
* Add ACCEPT_PROPERTIES variable which has default value * and can be set inMounir Lamouri2009-08-111-0/+2
| | | | | | | make.conf or /etc/portage/package.properties. If ACCEPT_PROPERTIES doesn't match ebuild PROPERTIES, the ebuild is masked. svn path=/main/trunk/; revision=13997
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-1113-110/+29
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13995
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-1111-71/+27
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13994
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-1122-156/+57
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13993
* Use writemsg_stdout() for safe unicode output of --list-sets.Zac Medico2009-08-101-3/+2
| | | | svn path=/main/trunk/; revision=13973
* Don't trigger the --root-deps code for removal actions such as --prune andZac Medico2009-08-101-7/+8
| | | | | | --depclean. svn path=/main/trunk/; revision=13971
* In calc_depclean(), sort packages that are displayed due to being pulledZac Medico2009-08-101-1/+2
| | | | | | in by link level dependencies. svn path=/main/trunk/; revision=13970
* Tweak $ROOT handling inside depgraph._add_pkg_deps() for removal actions,Zac Medico2009-08-101-0/+2
| | | | | | so --with-bdeps works correctly with --depclean and --prune. svn path=/main/trunk/; revision=13969
* Inside calc_depclean(), use LinkageMap.findConsumers() for checkingZac Medico2009-08-101-15/+11
| | | | | | | intersection of files being removed with providers in the LinkageMap (a KeyError is raised when there is no intersection). svn path=/main/trunk/; revision=13968
* Use writemsg_stdout() for safe display of unicode overlay paths.Zac Medico2009-08-081-1/+1
| | | | svn path=/main/trunk/; revision=13956
* Use writemsg_stdout() for safe unicode output.Zac Medico2009-08-081-8/+18
| | | | svn path=/main/trunk/; revision=13955
* Add missing noiselevel argument in writemsg_stdout() calls.Zac Medico2009-08-081-3/+5
| | | | svn path=/main/trunk/; revision=13954
* In Task.__str__(), emulate tuple.__str__, but don't show 'foo' as u'foo' forZac Medico2009-08-081-2/+5
| | | | | | unicode strings. svn path=/main/trunk/; revision=13950
* Use writemsg_stdout() for safe unicode output.Zac Medico2009-08-071-17/+3
| | | | svn path=/main/trunk/; revision=13948
* 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