summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* In debug mode, avoid showing gcc QA search strings in the trace, so they won'tZac Medico2009-09-081-0/+4
| | | | | | | trigger false positives. Thanks to Amit Dor-Shifer <amitds@oversi.com> for reporting. svn path=/main/trunk/; revision=14214
* Reimplement isvalidatom() to use a single regular expression match. ThanksZac Medico2009-09-072-68/+44
| | | | | | to Marat Radchenko <marat@slonopotamus.org> for this patch from bug #276813. svn path=/main/trunk/; revision=14213
* Bug #283795 - Make dep_check() filter out expanded indirect virual deps afterZac Medico2009-09-071-11/+26
| | | | | | they are no longer needed, in order to avoid distortion of the depgraph. svn path=/main/trunk/; revision=14212
* Optimize catpkgsplit() by creating a tuple directly instead of generating itZac Medico2009-09-071-4/+3
| | | | | | | from a list. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for this patch. svn path=/main/trunk/; revision=14211
* In catpkgsplit(), use split('/', 1) since there should never be more than onZac Medico2009-09-071-1/+1
| | | | | | slash to split. svn path=/main/trunk/; revision=14210
* Handle AttributeError instead of using getattr. Thanks to Marat RadchenkoZac Medico2009-09-071-3/+3
| | | | | | <slonopotamusorama@gmail.com> for reporting. svn path=/main/trunk/; revision=14209
* In display_news_notification(), use the exising vartree instance to populateZac Medico2009-09-061-0/+6
| | | | | | | settings.treeVirtuals, to avoid having a temporary one instantiated. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for reporting. svn path=/main/trunk/; revision=14208
* Remove unused vardbapi._counter_hash() method.Zac Medico2009-09-061-19/+0
| | | | svn path=/main/trunk/; revision=14207
* Document ACCEPT_PROPERTIES and package.properties.Zac Medico2009-09-063-0/+24
| | | | svn path=/main/trunk/; revision=14206
* Document ACCEPT_LICENSE and package.license.Zac Medico2009-09-063-0/+23
| | | | svn path=/main/trunk/; revision=14205
* Add ACCEPT_LICENSE and ACCEPT_PROPERTIES to the Packages file header.Zac Medico2009-09-051-1/+3
| | | | svn path=/main/trunk/; revision=14204
* Add a vardbapi._pkgs_changed attribute to use instead of PORTAGE_COUNTER_HASHZac Medico2009-09-053-9/+7
| | | | | | | | | for emerge to check whether any packages have been added/removed. This is an optimization, since vardbapi._counter_hash() can be somewhat slow on embedded systems. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for reporting. svn path=/main/trunk/; revision=14203
* Inside Scheduler._check_manifests(), display all broken manifests instead ofZac Medico2009-09-051-1/+5
| | | | | | | returning after the first one. Thanks to Vlastimil Babka <caster@g.o> for the suggestion. svn path=/main/trunk/; revision=14202
* Use _unicode_decode() on the string returned from time.strftime(), in orderZac Medico2009-09-055-6/+20
| | | | | | | to avoid a potential UnicodeDecodeError later. Thanks to Markus Duft <mduft@gentoo.org> for reporting. svn path=/main/trunk/; revision=14201
* DEPCACHE_PATH is not used with ROOT at all, so move it out of the ↵Fabian Groffen2009-09-051-1/+1
| | | | | | target_root variable group svn path=/main/trunk/; revision=14199
* pym/portage/sets/files.py: use WORLD_FILE instead of manual reconstructionFabian Groffen2009-09-053-6/+6
| | | | | | | | | pym/portage/const.py: introduce WORLD_SETS_FILE variable pym/portage/sets/files.py: use new WORLD_SETS_FILE var pym/_emerge/unmerge.py: likewise svn path=/main/trunk/; revision=14197
* reorganise const.py to have logical grouping based on usageFabian Groffen2009-09-051-28/+49
| | | | | | | | | | grouped into use with config_root, target_root or nothing, made all variables that are used with config_root or target_root not start with a leading slash, such that they can be directly used with os.path.join (which they should because of xxxx_root). svn path=/main/trunk/; revision=14192
* DEPRECATED_PROFILE_FILE is derived from PROFILE_PATH which has no leading slashFabian Groffen2009-09-051-1/+1
| | | | svn path=/main/trunk/; revision=14191
* add note that this file does not seem to deal with ROOT at allFabian Groffen2009-09-051-0/+2
| | | | svn path=/main/trunk/; revision=14190
* PRIVATE_PATH has no leading slash (like all other uses of this var assume)Fabian Groffen2009-09-051-2/+2
| | | | svn path=/main/trunk/; revision=14189
* consistently use CACHE_PATH with target_root, this commit needs a separate ↵Fabian Groffen2009-09-056-14/+14
| | | | | | soon to be done commit of pym/portage/const.py to work correctly svn path=/main/trunk/; revision=14188
* Fix usage of VDB_PATHFabian Groffen2009-09-053-3/+3
| | | | svn path=/main/trunk/; revision=14187
* Remove unnecessary redundant dict lookup at the beginning of catpkgsplit().Zac Medico2009-09-051-2/+0
| | | | | | Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for this patch. svn path=/main/trunk/; revision=14186
* Bug #282808 - Handle a potential KeyError inside PollScheduler._poll_loop()Zac Medico2009-09-051-1/+8
| | | | | | | when _poll_event_queue contains an event for a file descriptor that has already been unregistered. svn path=/main/trunk/; revision=14185
* Fix documentation of some QA_* variables.Arfrever Frehtes Taifersar Arahesis2009-09-041-3/+3
| | | | svn path=/main/trunk/; revision=14184
* Fix typo from previous commit.Zac Medico2009-09-031-1/+1
| | | | svn path=/main/trunk/; revision=14182
* Bug #283513 - Do not allow --noreplace together with --emptytree since itZac Medico2009-09-031-0/+6
| | | | | | results in bogus masking messages. svn path=/main/trunk/; revision=14181
* Use _unicode_decode() on the string retunred from time.strftime(), in orderZac Medico2009-09-031-1/+7
| | | | | | | to avoid a potential UnicodeDecodeError later. Thanks to Markus Duft <mduft@gentoo.org> for reporting. svn path=/main/trunk/; revision=14180
* Remove reference to GRP_STAGE23_USE (bug #283358).Arfrever Frehtes Taifersar Arahesis2009-09-011-3/+0
| | | | svn path=/main/trunk/; revision=14176
* Add dev-util/gperf to list of suspected run-time dependencies (bug #283357).Arfrever Frehtes Taifersar Arahesis2009-09-011-0/+1
| | | | svn path=/main/trunk/; revision=14175
* Bug #283292 - Fix FindPortdir() to prevent OSError: [Errno 2] from stat whenZac Medico2009-08-311-1/+1
| | | | | | $PWD is unset. Thanks to Jonathan Callen <en.ABCD@gmail.com> for this patch. svn path=/main/trunk/; revision=14174
* Fix broken indentation from previous commits.Zac Medico2009-08-301-5/+5
| | | | svn path=/main/trunk/; revision=14173
* Bug #283223 - Don't call str() on unicode strings inside _db_escape_string(),Zac Medico2009-08-301-1/+5
| | | | | | since it can trigger a UnicodeEncodeError in python-2.x. svn path=/main/trunk/; revision=14172
* Bug #283223 - Don't call str() inside _db_escape_string(), since it'sZac Medico2009-08-301-1/+1
| | | | | | redundant and it can trigger a UnicodeEncodeError in python-2.x. svn path=/main/trunk/; revision=14171
* Many packages use setuptools at run-time, so remove it from list of ↵Arfrever Frehtes Taifersar Arahesis2009-08-291-1/+0
| | | | | | suspected run-time dependencies. svn path=/main/trunk/; revision=14170
* Use KeyValuePairFileLoader intead on getconfig(), since getconfig() is tooZac Medico2009-08-291-5/+9
| | | | | | strict about variable names now. svn path=/main/trunk/; revision=14169
* Use KeyValuePairFileLoader instead of getconfig() for /etc/portage/modules,Zac Medico2009-08-291-2/+5
| | | | | | | since getconfig() is too strict about variable names now. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=14168
* Bug #281834 - In getconfig(), do not allow definition of variables that haveZac Medico2009-08-281-0/+13
| | | | | | invalid names according to shell standards (such as names containing hyphens). svn path=/main/trunk/; revision=14167
* Improve logic for bug #278729.Zac Medico2009-08-271-7/+15
| | | | svn path=/main/trunk/; revision=14166
* Bug #278729 - Inside dep_zapdeps(), account for USE dependencies in someZac Medico2009-08-271-20/+51
| | | | | | | | | | cases where USE settings can adversely affect || preference evaluation. This requires invalid atoms to be dropped inside _expand_new_virtuals() since we only want real Atom instances inside dep_zapdeps(). Unlike previous attempts to solve this bug, cases such as || ( foo[a] foo[b] ) should now be correctly handled. svn path=/main/trunk/; revision=14165
* Fix the code from bug #275796 to ensure that choices always go into theZac Medico2009-08-271-2/+8
| | | | | | preferred_in_graph slot when appropriate. svn path=/main/trunk/; revision=14164
* Fix tar_contents() to handle UnicodeEncodeError by falling back to utf_8 ifZac Medico2009-08-271-1/+22
| | | | | | appropriate. svn path=/main/trunk/; revision=14163
* Use plain ascii encoding for this file, in order to avoid error messages likeZac Medico2009-08-271-2/+1
| | | | | | | | | | | this which building stages (happens when python is built with USE=build): * Byte compiling python modules for python-2.6 .. ... Compiling //usr/lib64/portage/pym/portage/cache/ebuild_xattr.py ... SyntaxError: ('unknown encoding: UTF8', ('//usr/lib64/portage/pym/portage/cache/ ebuild_xattr.py', 0, 0, None)) svn path=/main/trunk/; revision=14162
* Fix mkdir() to call the local setfscreate() with strict returncode checking.Zac Medico2009-08-261-2/+2
| | | | | | Thanks to Chris PeBenito <pebenito@gentoo.org> for this patch. svn path=/main/trunk/; revision=14161
* Inside depgraph._show_unsatisfied_dep(), show reasons for packages masked dueZac Medico2009-08-251-3/+7
| | | | | | to backtracking. svn path=/main/trunk/; revision=14155
* Show log paths when displaying the list of failed packages for --keep-going.Zac Medico2009-08-241-11/+14
| | | | svn path=/main/trunk/; revision=14154
* make sure we can deal with arches like x86-fbsd, like is done in ↵Fabian Groffen2009-08-241-1/+1
| | | | | | bin/ebuild-helpers/prepstrip svn path=/main/trunk/; revision=14151
* remove FIXME, since zmedico fixed itFabian Groffen2009-08-241-5/+0
| | | | svn path=/main/trunk/; revision=14140
* Bug #282505 - Fix unicode handling for package moves in binary packages.v2.2_rc40Zac Medico2009-08-243-8/+33
| | | | svn path=/main/trunk/; revision=14134
* Bug #282306 - Inside dblink._match_contents(), fall back to utf_8 encoding ifZac Medico2009-08-241-7/+71
| | | | | | | a path cannot be encoded under the user's chosen encoding. This should fix the traceback shown in bug #281199, comment #26. svn path=/main/trunk/; revision=14133