summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add tests for the Atom class.Zac Medico2009-09-121-0/+42
| | | | svn path=/main/trunk/; revision=14238
* Fix bug in _expand_new_virtuals() reported by Arfrever:Zac Medico2009-09-121-1/+1
| | | | | | TypeError: coercing to Unicode: need string or buffer, Atom found svn path=/main/trunk/; revision=14237
* Use isjustname() where appropriate.Zac Medico2009-09-124-6/+8
| | | | svn path=/main/trunk/; revision=14236
* Fix isjustname docstring to have a valid atom in the example.Zac Medico2009-09-121-1/+1
| | | | svn path=/main/trunk/; revision=14235
* Reimplement isjustname() using the Atom class. Thanks to Marat RadchenkoZac Medico2009-09-121-13/+8
| | | | | | <marat@slonopotamus.org> for the suggestion. svn path=/main/trunk/; revision=14234
* In config.getvirtuals(), save Atom instances in order to avoid revalidation.Zac Medico2009-09-121-17/+38
| | | | | | Also, fix cpv_expand() to handle Atom instances from config.getvirtuals(). svn path=/main/trunk/; revision=14233
* Make dbapi.move_ent() take advantage of Atom instances when validatingZac Medico2009-09-122-9/+8
| | | | | | arguments. svn path=/main/trunk/; revision=14232
* Add missing InvalidAtom import.Zac Medico2009-09-121-1/+1
| | | | svn path=/main/trunk/; revision=14231
* Make parse_updates() and update_dbentry() use Atom instances.Zac Medico2009-09-121-9/+27
| | | | svn path=/main/trunk/; revision=14230
* Fix bad assumptions.Zac Medico2009-09-121-20/+15
| | | | svn path=/main/trunk/; revision=14229
* Fix poor assumptions.Zac Medico2009-09-121-6/+9
| | | | svn path=/main/trunk/; revision=14228
* Fix bugs and poor assumptions.Zac Medico2009-09-121-7/+5
| | | | svn path=/main/trunk/; revision=14227
* Update grabdict_package and grabfile_package calling code to take advantageZac Medico2009-09-121-35/+18
| | | | | | | of Atom instances, and convert *atom from 'packages' to a normal Atom instance when it's stored in prevmaskdict. svn path=/main/trunk/; revision=14226
* Make grabfile_package() accept *atom only for files named 'packages' sinceZac Medico2009-09-121-1/+2
| | | | | | they are not valid in any other files. svn path=/main/trunk/; revision=14225
* Make grabdict_package() and grabfile_package() return Atom instances whenZac Medico2009-09-121-12/+25
| | | | | | possible, in order to avoid revalidation. svn path=/main/trunk/; revision=14224
* Implement Atom.__copy__ and __deepcopy__ to return self, since instances areZac Medico2009-09-121-0/+9
| | | | | | immutable. svn path=/main/trunk/; revision=14223
* 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