Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make strip_empty() return a nedw list instead of working in-place. Thanks to | Zac Medico | 2008-03-28 | 1 | -4/+1 |
| | | | | | | René Neumann <rene.neumann@necoro.net> for the suggestion. (trunk r9460) svn path=/main/branches/2.1.2/; revision=9552 | ||||
* | Bug #203316 - Fix isvalidatom() to properly detect invalid operators | Zac Medico | 2008-01-11 | 1 | -1/+1 |
| | | | | | | | used together with slot atoms. Thanks to Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> for the patch. (trunk r9166) svn path=/main/branches/2.1.2/; revision=9174 | ||||
* | Don't cache results from match_from_list() since *dbapi.match() caches do ↵ | Zac Medico | 2007-09-06 | 1 | -10/+1 |
| | | | | | | the job. (trunk r7694) svn path=/main/branches/2.1.2/; revision=7730 | ||||
* | For bug #181355, detect parenthesis mismatch in paren_reduce(), raise an ↵ | Zac Medico | 2007-06-11 | 1 | -2/+9 |
| | | | | | | InvalidDependString exception, and make sure that all callers handle the exception properly. (trunk r6795:6797) svn path=/main/branches/2.1.2/; revision=6798 | ||||
* | Fix an IndexError in get_operator() that occurs when isvalidatom() passes it ↵v2.1.2.9 | Zac Medico | 2007-05-30 | 1 | -0/+2 |
| | | | | | | an empty string. (trunk r6680) svn path=/main/branches/2.1.2/; revision=6681 | ||||
* | For bug #180399, raise an appropriate InvalidDependString exception if there ↵ | Zac Medico | 2007-05-30 | 1 | -1/+12 |
| | | | | | | is no flag attached directly to a '?' token. (trunk r6678) svn path=/main/branches/2.1.2/; revision=6679 | ||||
* | Return a copy of the cached result from match_from_list(). (trunk r6673) | Zac Medico | 2007-05-30 | 1 | -1/+1 |
| | | | | svn path=/main/branches/2.1.2/; revision=6674 | ||||
* | Fix slot handling at the beginning of match_from_list(). (trunk r6669) | Zac Medico | 2007-05-30 | 1 | -2/+1 |
| | | | | svn path=/main/branches/2.1.2/; revision=6670 | ||||
* | Fix get_operator() and best_match_to_list() so that slot deps mesh properly ↵ | Zac Medico | 2007-05-29 | 1 | -1/+2 |
| | | | | | | with operators. (trunk r6663) svn path=/main/branches/2.1.2/; revision=6664 | ||||
* | Fix dep_getcpv() so that it always properly removes the slot regardless of ↵ | Zac Medico | 2007-05-29 | 1 | -3/+2 |
| | | | | | | which operator is present. (trunk r6661) svn path=/main/branches/2.1.2/; revision=6662 | ||||
* | Don't pass slotted packages into pkgsplit since it doesn't handle them. ↵ | Zac Medico | 2007-05-29 | 1 | -4/+11 |
| | | | | | | (trunk r6659) svn path=/main/branches/2.1.2/; revision=6660 | ||||
* | For bug #179870, add support for cpv:slot in match_from_list() and use it to ↵ | Zac Medico | 2007-05-29 | 1 | -13/+10 |
| | | | | | | make config.setcpv() distinguish slot atoms in package.use. (trunk r6657) svn path=/main/branches/2.1.2/; revision=6658 | ||||
* | For backward compatibility with api consumers, _dep_check_strict behavior ↵ | Zac Medico | 2007-02-07 | 1 | -2/+3 |
| | | | | | | will be explicitly enabled as necessary. Thanks to Brian <dol-sen@telus.net> for reporting issues with porthole and equery. (trunk r5907) svn path=/main/branches/2.1.2/; revision=5911 | ||||
* | Validate ebuild names in portdbapi.cp_list() and raise an raise an ↵ | Zac Medico | 2007-01-18 | 1 | -0/+2 |
| | | | | | | informative InvalidData exception from match_from_list when necessary. (trunk r5712:5714) svn path=/main/branches/2.1.2/; revision=5715 | ||||
* | another annoy space bug | Alec Warner | 2007-01-12 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=5602 | ||||
* | more string deprecation | Alec Warner | 2007-01-12 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=5595 | ||||
* | comment the excepts in a few places | Alec Warner | 2007-01-12 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=5584 | ||||
* | Change vercmp to use int() instead of string atoi, catch ValueError in pkgcmp | Alec Warner | 2007-01-12 | 1 | -3/+1 |
| | | | | svn path=/main/trunk/; revision=5581 | ||||
* | Handle the exception in isvalidatom, change it to use a portage exceptoin, ↵ | Alec Warner | 2007-01-11 | 1 | -1/+5 |
| | | | | | | thanks to Zac for pointing this out svn path=/main/trunk/; revision=5571 | ||||
* | elaborate a bit on isjustname() | Alec Warner | 2007-01-11 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=5563 | ||||
* | Use startwith to simplify =* matching. | Zac Medico | 2007-01-10 | 1 | -2/+1 |
| | | | | svn path=/main/trunk/; revision=5521 | ||||
* | Minor fixes for the =* operator (I hope we're done now :). | Zac Medico | 2007-01-10 | 1 | -3/+6 |
| | | | | svn path=/main/trunk/; revision=5520 | ||||
* | I hate this thing | Marius Mauch | 2007-01-10 | 1 | -1/+4 |
| | | | | svn path=/main/trunk/; revision=5519 | ||||
* | minor performance improvement | Marius Mauch | 2007-01-10 | 1 | -5/+5 |
| | | | | svn path=/main/trunk/; revision=5518 | ||||
* | also sanitize mycpv for =* handling | Marius Mauch | 2007-01-10 | 1 | -0/+2 |
| | | | | svn path=/main/trunk/; revision=5517 | ||||
* | =* operator sucks | Marius Mauch | 2007-01-10 | 1 | -8/+5 |
| | | | | svn path=/main/trunk/; revision=5516 | ||||
* | Documenting the loop a bit | Marius Mauch | 2007-01-10 | 1 | -0/+3 |
| | | | | svn path=/main/trunk/; revision=5515 | ||||
* | Make the =* operator more robust | Marius Mauch | 2007-01-10 | 1 | -2/+7 |
| | | | | svn path=/main/trunk/; revision=5514 | ||||
* | Attach the problematic data to the exception for debugging | Marius Mauch | 2007-01-10 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=5513 | ||||
* | Stupid me, shouldn't jsut move a part of the patch | Marius Mauch | 2007-01-10 | 1 | -0/+12 |
| | | | | svn path=/main/trunk/; revision=5512 | ||||
* | Always use vercmp for cpv comparisons | Marius Mauch | 2007-01-10 | 1 | -4/+3 |
| | | | | svn path=/main/trunk/; revision=5511 | ||||
* | Create a backward compatibility mode for dep_check() so that emerge can use ↵ | Zac Medico | 2006-12-21 | 1 | -0/+10 |
| | | | | | | it to gracefully deal with installed packages that have invalid atoms or dep syntax. svn path=/main/trunk/; revision=5345 | ||||
* | Make use_reduce raise an InvalidDependString exception for use? conditionals ↵ | Zac Medico | 2006-12-16 | 1 | -3/+5 |
| | | | | | | that aren't followed by parenthesis and add appropriate exception handling in dep_check. svn path=/main/trunk/; revision=5305 | ||||
* | Add an allow_blockers parameter to isvalidatom so that the behavior is ↵ | Zac Medico | 2006-12-10 | 1 | -2/+2 |
| | | | | | | optional. Thanks to Brian Harring for the suggestion. svn path=/main/trunk/; revision=5264 | ||||
* | For bug #157734, fix repoman isvalidatom() checks. Thanks to Brian Harring ↵ | Zac Medico | 2006-12-10 | 1 | -0/+2 |
| | | | | | | for the patch. svn path=/main/trunk/; revision=5263 | ||||
* | Don't collapse the tuple into a hash, since dict can use __eq__ to avoid ↵ | Zac Medico | 2006-12-10 | 1 | -3/+3 |
| | | | | | | problems with hash collisions. Thanks to Brian Harring for reporting. svn path=/main/trunk/; revision=5262 | ||||
* | To minimize memory consumption and maximize performance, use hash values for ↵ | Zac Medico | 2006-12-10 | 1 | -2/+3 |
| | | | | | | cache keys. svn path=/main/trunk/; revision=5260 | ||||
* | Cache results of dep_getcpv() calls. | Zac Medico | 2006-12-10 | 1 | -1/+9 |
| | | | | svn path=/main/trunk/; revision=5251 | ||||
* | Cache the results of match_from_list() calls. | Zac Medico | 2006-12-10 | 1 | -0/+8 |
| | | | | svn path=/main/trunk/; revision=5250 | ||||
* | Add ? to the invalid atom characters. | Zac Medico | 2006-12-09 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=5242 | ||||
* | Make isvalidatom() (and thus repoman) reject atoms containing |() ↵ | Zac Medico | 2006-12-09 | 1 | -1/+6 |
| | | | | | | characters. Thanks to Brian Harring for the suggestion. svn path=/main/trunk/; revision=5241 | ||||
* | Revert r5175 for bug #152127 since the original = behavior seems more ↵ | Zac Medico | 2006-12-07 | 1 | -11/+2 |
| | | | | | | desirable. We can change the >= and <= behavior instead. svn path=/main/trunk/; revision=5204 | ||||
* | Sync match_to_list >=, <=, etc.. code with the new = code. | Zac Medico | 2006-12-06 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=5176 | ||||
* | Make match_to_list = behavior consistent with >= and <= for bug #152127. | Zac Medico | 2006-12-06 | 1 | -2/+11 |
| | | | | svn path=/main/trunk/; revision=5175 | ||||
* | Thanks again to Chris White for these additional portage_dep docstrings. | Zac Medico | 2006-11-09 | 1 | -23/+162 |
| | | | | svn path=/main/trunk/; revision=4999 | ||||
* | Thanks to Chris White for these portage_dep docstrings. | Zac Medico | 2006-11-08 | 1 | -6/+50 |
| | | | | svn path=/main/trunk/; revision=4987 | ||||
* | Improve best_match_to_list() and include support for slot deps. | Zac Medico | 2006-10-05 | 1 | -6/+22 |
| | | | | svn path=/main/trunk/; revision=4598 | ||||
* | Add support for slot based dep matching in all dbapi derived classes. The ↵ | Zac Medico | 2006-10-05 | 1 | -1/+20 |
| | | | | | | supported syntax is ${CATEGORY}/${PN}:${SLOT} (identical to that used by paludis and pkgcore). svn path=/main/trunk/; revision=4594 | ||||
* | Share duplicate code between dep_getkey() and dep_getcpv(). | Zac Medico | 2006-10-04 | 1 | -10/+1 |
| | | | | svn path=/main/trunk/; revision=4593 | ||||
* | Move best_match_to_list, match_from_list, and match_to_list from the core ↵ | Zac Medico | 2006-07-22 | 1 | -1/+113 |
| | | | | | | portage module to portage_dep. svn path=/main/trunk/; revision=3991 |