summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug #280269 - Fix StaticFileSet.multiBuilder() to handle unicode filenames.Zac Medico2009-08-041-0/+3
| | | | svn path=/main/trunk/; revision=13903
* Open CONTENTS in text mode (to avoid UnicodeEncodeError). Thanks to MarkosZac Medico2009-08-041-2/+5
| | | | | | Chandras <hwoarang@gentoo.org> for reporting. svn path=/main/trunk/; revision=13902
* 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
* Avoid UnicodeEncodeError in writemsg(). Thanks to Markos ChandrasZac Medico2009-08-041-0/+3
| | | | | | <hwoarang@gentoo.org> for reporting. svn path=/main/trunk/; revision=13900
* Bug #280275 - Fix exception: AttributeError: 'config' object has no attributeZac Medico2009-08-041-1/+2
| | | | | | '_license_groups'. svn path=/main/trunk/; revision=13898
* Revert the code from bug #278729 for now since it need to be redone in orderZac Medico2009-08-041-28/+6
| | | | | | to account for the issue described in comment #3. svn path=/main/trunk/; revision=13894
* In the dep_zapdeps() code from bug #278729, set all_use_satisfied = FalseZac Medico2009-08-041-0/+1
| | | | | | if the choice includes an unavailable package. svn path=/main/trunk/; revision=13893
* Fix dep_zapdeps exception 'ValueError: need more than 3 values to unpack'Zac Medico2009-08-041-1/+1
| | | | | | from r13888. svn path=/main/trunk/; revision=13892
* Bug #280259 - Fix binarytree to always open the Packages file as unicode.Zac Medico2009-08-041-25/+7
| | | | svn path=/main/trunk/; revision=13890
* Bug #280259 - Use codecs.open() when reading the Packages file insideZac Medico2009-08-041-1/+3
| | | | | | | binarytree.inject(), in order to avoid a UnicodeDecodeError when the file is later written as a unicode stream (via atomic_ofstream). svn path=/main/trunk/; revision=13889
* Fix a regression caused by the code from bug #278729, which causes incorrectZac Medico2009-08-041-4/+20
| | | | | | | | | | | | | | preference evaluation for cases like kde-base/nepomuk: || ( >=dev-libs/soprano-2.3.0[clucene,dbus,raptor,redland] >=dev-libs/soprano-2.3.0[clucene,dbus,raptor,java] ) In cases like this we need to prefer the choice which is already satisfied by current USE configuration. Thanks to Maciej Mrozowski <reavertm@poczta.fm> for reporting. svn path=/main/trunk/; revision=13888
* 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 - Inside dep_zapdeps(), ignore USE dependencies since we don'tZac Medico2009-08-031-1/+6
| | | | | | | | want USE settings to adversely affect || preference evaluation. Drop invalid atoms inside _expand_new_virtuals() since we only want real Atom instances inside dep_zapdeps(). svn path=/main/trunk/; revision=13881
* Bug #278729 - Add an Atom.without_use attribute which is identical to theZac Medico2009-08-032-16/+11
| | | | | | atom itself, except without any USE dependencies. svn path=/main/trunk/; revision=13880
* Remove the code from bug #278895 since we're going to need a daemon processZac Medico2009-08-031-1/+0
| | | | | | | | | | | | in the ebuild's login session in order to pass signals from the controlling terminal to the detached session. A simple fifo-based approach in ebuild.sh does not seem to work since bash's read builtin occasionally loses the fifo data when it's 'Interrupted system call'. Maybe a python script will work better for the session leader/daemon. NOTE: The daemon will also be useful for implementing a fifo-based die helper (to replace the current signal- based approach). svn path=/main/trunk/; revision=13879
* 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 the _check_build_log(), exclude output from dev-libs/yaz-3.0.47 whichZac Medico2009-07-311-1/+6
| | | | | | | | | | | looks like this: Configuration: Automake: ${SHELL} /var/tmp/portage/dev-libs/yaz-3.0.47/work/yaz-3.0.47/config/missing --run automake-1.10 Thanks to Robin H. Johnson <robbat2@gentoo.org> for reporting. svn path=/main/trunk/; revision=13870
* 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
* Updating find_updated_config_files function descriptionMounir Lamouri2009-07-301-4/+4
| | | | svn path=/main/trunk/; revision=13860
* Rename get_updated_config_files() to find_updated_config_files() and makeZac Medico2009-07-302-10/+7
| | | | | | it an iterator of tuples. svn path=/main/trunk/; revision=13859
* Add get_updated_config_files in portage APIMounir Lamouri2009-07-302-59/+78
| | | | | | | 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
* Bug #278895 - Make ebuild.sh clean up orphaned processes that may have beenZac Medico2009-07-301-0/+1
| | | | | | | | | | | left behind by ebuild phases. This works by using setsid to create a new login session for the ebuild.sh process, and `kill -s SIGHUP 0` to send a SIGHUP signal to all processes in the session. The setsid is currently not done on the python side since that would cause the sandbox process in the session, and sandbox produces a warning message if it catches a SIGHUP signal. svn path=/main/trunk/; revision=13856
* 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
* Bug #270040 - Make repoman parse the categories file from the overlay.Zac Medico2009-07-221-1/+5
| | | | svn path=/main/trunk/; revision=13850
* 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
* Always pass encodings='utf_8' to codecs.open(), since otherwise it canZac Medico2009-07-204-10/+13
| | | | | | | | | | return non-unicode strings (at least in some cases, observed with python-2.6.2). Don't use unicode in portage.util.getconfig() for now, since shlex doesn't seem to support it (spurious \0 characters). If we use unicode for config variables, it breaks shlex.split() calls on those variables due to the same issue (spurious \0 characters). svn path=/main/trunk/; revision=13845
* FEATURES=unmerge-logsZac Medico2009-07-201-0/+10
| | | | | | | | | 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 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
* 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
* 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