Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simlify the Atom regex. Thanks to Marat Radchenko <marat@slonopotamus.org> | Zac Medico | 2009-09-14 | 1 | -9/+4 |
| | | | | | | for this patch. svn path=/main/trunk/; revision=14249 | ||||
* | Use cpv_getkey() instead of dep_getkey() where appropriate. | Zac Medico | 2009-09-13 | 2 | -4/+4 |
| | | | | svn path=/main/trunk/; revision=14242 | ||||
* | Make the Atom constructor use regular expression match groups for | Zac Medico | 2009-09-13 | 1 | -22/+41 |
| | | | | | | | initialization. Thanks to Marat Radchenko <marat@slonopotamus.org> for this patch. svn path=/main/trunk/; revision=14241 | ||||
* | Fix docs for isjustname() since it doesn't raise InvalidAtom now. | Zac Medico | 2009-09-12 | 1 | -1/+0 |
| | | | | svn path=/main/trunk/; revision=14240 | ||||
* | Add backward compatibility to isjustname(), so the tests don't fail. | Zac Medico | 2009-09-12 | 1 | -1/+10 |
| | | | | svn path=/main/trunk/; revision=14239 | ||||
* | Add tests for the Atom class. | Zac Medico | 2009-09-12 | 1 | -0/+42 |
| | | | | svn path=/main/trunk/; revision=14238 | ||||
* | Fix bug in _expand_new_virtuals() reported by Arfrever: | Zac Medico | 2009-09-12 | 1 | -1/+1 |
| | | | | | | TypeError: coercing to Unicode: need string or buffer, Atom found svn path=/main/trunk/; revision=14237 | ||||
* | Use isjustname() where appropriate. | Zac Medico | 2009-09-12 | 4 | -6/+8 |
| | | | | svn path=/main/trunk/; revision=14236 | ||||
* | Fix isjustname docstring to have a valid atom in the example. | Zac Medico | 2009-09-12 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14235 | ||||
* | Reimplement isjustname() using the Atom class. Thanks to Marat Radchenko | Zac Medico | 2009-09-12 | 1 | -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 Medico | 2009-09-12 | 1 | -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 validating | Zac Medico | 2009-09-12 | 2 | -9/+8 |
| | | | | | | arguments. svn path=/main/trunk/; revision=14232 | ||||
* | Add missing InvalidAtom import. | Zac Medico | 2009-09-12 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14231 | ||||
* | Make parse_updates() and update_dbentry() use Atom instances. | Zac Medico | 2009-09-12 | 1 | -9/+27 |
| | | | | svn path=/main/trunk/; revision=14230 | ||||
* | Fix bad assumptions. | Zac Medico | 2009-09-12 | 1 | -20/+15 |
| | | | | svn path=/main/trunk/; revision=14229 | ||||
* | Fix poor assumptions. | Zac Medico | 2009-09-12 | 1 | -6/+9 |
| | | | | svn path=/main/trunk/; revision=14228 | ||||
* | Fix bugs and poor assumptions. | Zac Medico | 2009-09-12 | 1 | -7/+5 |
| | | | | svn path=/main/trunk/; revision=14227 | ||||
* | Update grabdict_package and grabfile_package calling code to take advantage | Zac Medico | 2009-09-12 | 1 | -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' since | Zac Medico | 2009-09-12 | 1 | -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 when | Zac Medico | 2009-09-12 | 1 | -12/+25 |
| | | | | | | possible, in order to avoid revalidation. svn path=/main/trunk/; revision=14224 | ||||
* | Implement Atom.__copy__ and __deepcopy__ to return self, since instances are | Zac Medico | 2009-09-12 | 1 | -0/+9 |
| | | | | | | immutable. svn path=/main/trunk/; revision=14223 | ||||
* | Bug #257660 - Handle directories that are unlisted in Entries, which is normal | Zac Medico | 2009-09-12 | 1 | -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 Medico | 2009-09-08 | 1 | -2/+7 |
| | | | | svn path=/main/trunk/; revision=14221 | ||||
* | Add test case for * operator with missing =. | Zac Medico | 2009-09-08 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=14220 | ||||
* | simplify atom regex (winning even more performance) and turns it in verbose | Zac Medico | 2009-09-08 | 2 | -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 to | Zac Medico | 2009-09-08 | 1 | -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 to | Zac Medico | 2009-09-08 | 1 | -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 Medico | 2009-09-08 | 2 | -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 reset | Zac Medico | 2009-09-08 | 1 | -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't | Zac Medico | 2009-09-08 | 1 | -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. Thanks | Zac Medico | 2009-09-07 | 2 | -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 after | Zac Medico | 2009-09-07 | 1 | -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 it | Zac Medico | 2009-09-07 | 1 | -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 on | Zac Medico | 2009-09-07 | 1 | -1/+1 |
| | | | | | | slash to split. svn path=/main/trunk/; revision=14210 | ||||
* | Handle AttributeError instead of using getattr. Thanks to Marat Radchenko | Zac Medico | 2009-09-07 | 1 | -3/+3 |
| | | | | | | <slonopotamusorama@gmail.com> for reporting. svn path=/main/trunk/; revision=14209 | ||||
* | In display_news_notification(), use the exising vartree instance to populate | Zac Medico | 2009-09-06 | 1 | -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 Medico | 2009-09-06 | 1 | -19/+0 |
| | | | | svn path=/main/trunk/; revision=14207 | ||||
* | Document ACCEPT_PROPERTIES and package.properties. | Zac Medico | 2009-09-06 | 3 | -0/+24 |
| | | | | svn path=/main/trunk/; revision=14206 | ||||
* | Document ACCEPT_LICENSE and package.license. | Zac Medico | 2009-09-06 | 3 | -0/+23 |
| | | | | svn path=/main/trunk/; revision=14205 | ||||
* | Add ACCEPT_LICENSE and ACCEPT_PROPERTIES to the Packages file header. | Zac Medico | 2009-09-05 | 1 | -1/+3 |
| | | | | svn path=/main/trunk/; revision=14204 | ||||
* | Add a vardbapi._pkgs_changed attribute to use instead of PORTAGE_COUNTER_HASH | Zac Medico | 2009-09-05 | 3 | -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 of | Zac Medico | 2009-09-05 | 1 | -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 order | Zac Medico | 2009-09-05 | 5 | -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 Groffen | 2009-09-05 | 1 | -1/+1 |
| | | | | | | target_root variable group svn path=/main/trunk/; revision=14199 | ||||
* | pym/portage/sets/files.py: use WORLD_FILE instead of manual reconstruction | Fabian Groffen | 2009-09-05 | 3 | -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 usage | Fabian Groffen | 2009-09-05 | 1 | -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 slash | Fabian Groffen | 2009-09-05 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14191 | ||||
* | add note that this file does not seem to deal with ROOT at all | Fabian Groffen | 2009-09-05 | 1 | -0/+2 |
| | | | | svn path=/main/trunk/; revision=14190 | ||||
* | PRIVATE_PATH has no leading slash (like all other uses of this var assume) | Fabian Groffen | 2009-09-05 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=14189 | ||||
* | consistently use CACHE_PATH with target_root, this commit needs a separate ↵ | Fabian Groffen | 2009-09-05 | 6 | -14/+14 |
| | | | | | | soon to be done commit of pym/portage/const.py to work correctly svn path=/main/trunk/; revision=14188 |