summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug #257660 - Handle directories that are unlisted in Entries, which is normalZac Medico2009-09-121-1/+5
| | | | | | | when checked out without -P. Thanks to Christian Ruppert <idl0r@gentoo.org> for this patch. svn path=/main/trunk/; revision=14222
* Add test cases for operators with missing version component.Zac Medico2009-09-081-2/+7
| | | | svn path=/main/trunk/; revision=14221
* Add test case for * operator with missing =.Zac Medico2009-09-081-0/+1
| | | | svn path=/main/trunk/; revision=14220
* simplify atom regex (winning even more performance) and turns it in verboseZac Medico2009-09-082-8/+19
| | | | | | | mode with comments. Added more corner case tests. Thanks to Marat Radchenko <marat@slonopotamus.org> for this patch from bug #276813. svn path=/main/trunk/; revision=14219
* Fix false positives in gcc QA with debug mode some more. Thanks again toZac Medico2009-09-081-3/+3
| | | | | | Amit Dor-Shifer <amitds@oversi.com> for reporting. svn path=/main/trunk/; revision=14218
* Reimplement isspecific() using a single regular expression match. Thanks toZac Medico2009-09-081-11/+9
| | | | | | Marat Radchenko <marat@slonopotamus.org> for this patch. svn path=/main/trunk/; revision=14217
* Fix isvalidatom() to check the 'must not end in' clause from PMS 2.1.2.Zac Medico2009-09-082-6/+16
| | | | | | Thanks to Marat Radchenko <marat@slonopotamus.org> for this patch. svn path=/main/trunk/; revision=14216
* Fix code from previous commit so it's guaranteed to always properly resetZac Medico2009-09-081-2/+6
| | | | | | debug state. svn path=/main/trunk/; revision=14215
* 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