summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Replace compat symlinks with a new compat module as the symlink solution ↵Marius Mauch2007-02-171-1/+1
| | | | | | prevents reuse of state information (requested by ferringb) svn path=/main/trunk/; revision=5981
* Namespace sanitizing, step 1Marius Mauch2007-01-251-646/+1
| | | | svn path=/main/trunk/; revision=5778
* Raise an informative InvalidData exception instead of 'TypeError: ↵Zac Medico2007-01-181-0/+2
| | | | | | unsubscriptable object' when pkgsplit returns None. svn path=/main/trunk/; revision=5714
* another annoy space bugAlec Warner2007-01-121-1/+1
| | | | svn path=/main/trunk/; revision=5602
* more string deprecationAlec Warner2007-01-121-2/+2
| | | | svn path=/main/trunk/; revision=5595
* comment the excepts in a few placesAlec Warner2007-01-121-1/+1
| | | | svn path=/main/trunk/; revision=5584
* Change vercmp to use int() instead of string atoi, catch ValueError in pkgcmpAlec Warner2007-01-121-3/+1
| | | | svn path=/main/trunk/; revision=5581
* Handle the exception in isvalidatom, change it to use a portage exceptoin, ↵Alec Warner2007-01-111-1/+5
| | | | | | thanks to Zac for pointing this out svn path=/main/trunk/; revision=5571
* elaborate a bit on isjustname()Alec Warner2007-01-111-1/+1
| | | | svn path=/main/trunk/; revision=5563
* Use startwith to simplify =* matching.Zac Medico2007-01-101-2/+1
| | | | svn path=/main/trunk/; revision=5521
* Minor fixes for the =* operator (I hope we're done now :).Zac Medico2007-01-101-3/+6
| | | | svn path=/main/trunk/; revision=5520
* I hate this thingMarius Mauch2007-01-101-1/+4
| | | | svn path=/main/trunk/; revision=5519
* minor performance improvementMarius Mauch2007-01-101-5/+5
| | | | svn path=/main/trunk/; revision=5518
* also sanitize mycpv for =* handlingMarius Mauch2007-01-101-0/+2
| | | | svn path=/main/trunk/; revision=5517
* =* operator sucksMarius Mauch2007-01-101-8/+5
| | | | svn path=/main/trunk/; revision=5516
* Documenting the loop a bitMarius Mauch2007-01-101-0/+3
| | | | svn path=/main/trunk/; revision=5515
* Make the =* operator more robustMarius Mauch2007-01-101-2/+7
| | | | svn path=/main/trunk/; revision=5514
* Attach the problematic data to the exception for debuggingMarius Mauch2007-01-101-1/+1
| | | | svn path=/main/trunk/; revision=5513
* Stupid me, shouldn't jsut move a part of the patchMarius Mauch2007-01-101-0/+12
| | | | svn path=/main/trunk/; revision=5512
* Always use vercmp for cpv comparisonsMarius Mauch2007-01-101-4/+3
| | | | svn path=/main/trunk/; revision=5511
* Create a backward compatibility mode for dep_check() so that emerge can use ↵Zac Medico2006-12-211-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 Medico2006-12-161-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 Medico2006-12-101-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 Medico2006-12-101-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 Medico2006-12-101-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 Medico2006-12-101-2/+3
| | | | | | cache keys. svn path=/main/trunk/; revision=5260
* Cache results of dep_getcpv() calls.Zac Medico2006-12-101-1/+9
| | | | svn path=/main/trunk/; revision=5251
* Cache the results of match_from_list() calls.Zac Medico2006-12-101-0/+8
| | | | svn path=/main/trunk/; revision=5250
* Add ? to the invalid atom characters.Zac Medico2006-12-091-1/+1
| | | | svn path=/main/trunk/; revision=5242
* Make isvalidatom() (and thus repoman) reject atoms containing |() ↵Zac Medico2006-12-091-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 Medico2006-12-071-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 Medico2006-12-061-1/+2
| | | | svn path=/main/trunk/; revision=5176
* Make match_to_list = behavior consistent with >= and <= for bug #152127.Zac Medico2006-12-061-2/+11
| | | | svn path=/main/trunk/; revision=5175
* Thanks again to Chris White for these additional portage_dep docstrings.Zac Medico2006-11-091-23/+162
| | | | svn path=/main/trunk/; revision=4999
* Thanks to Chris White for these portage_dep docstrings.Zac Medico2006-11-081-6/+50
| | | | svn path=/main/trunk/; revision=4987
* Improve best_match_to_list() and include support for slot deps.Zac Medico2006-10-051-6/+22
| | | | svn path=/main/trunk/; revision=4598
* Add support for slot based dep matching in all dbapi derived classes. The ↵Zac Medico2006-10-051-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 Medico2006-10-041-10/+1
| | | | svn path=/main/trunk/; revision=4593
* Move best_match_to_list, match_from_list, and match_to_list from the core ↵Zac Medico2006-07-221-1/+113
| | | | | | portage module to portage_dep. svn path=/main/trunk/; revision=3991
* Move dep_transform from the portage_dep module to portage_update.Zac Medico2006-07-211-22/+0
| | | | svn path=/main/trunk/; revision=3981
* Move isjustname, isspecific, dep_getkey, and dep_transform from the core ↵Zac Medico2006-07-211-1/+64
| | | | | | portage module to portage_dep. svn path=/main/trunk/; revision=3976
* Move dep_getcpv, get_operator, and isvalidatom from the core portage module ↵Zac Medico2006-07-211-0/+57
| | | | | | to portage_dep. svn path=/main/trunk/; revision=3974
* make elog mail module always set the 'From' header for rfc2822 complianceMarius Mauch2006-06-101-1/+1
| | | | svn path=/main/trunk/; revision=3483
* Allow || ( ) deps that have no default atoms (or turn out empty).Jason Stubbs2006-01-291-1/+3
| | | | | | Released in 2.1_pre4-r1. #120803 svn path=/main/trunk/; revision=2604
* Provide more information with DEPEND syntax exceptionsJason Stubbs2006-01-241-10/+14
| | | | svn path=/main/trunk/; revision=2579
* Move DEPEND empty sublist processing back into use_reduceJason Stubbs2006-01-241-2/+8
| | | | svn path=/main/trunk/; revision=2578
* 'k. reverted use_reduce filtering of empty lists (was resulting in ["||"] ↵Brian Harring2006-01-051-6/+2
| | | | | | | | | as elements, which are invalid), added a recursive filter of empty sets/resolved || and && nodes; in the process, keeps portage from using an empty bool as a satisfier in || () restriction sets. svn path=/main/trunk/; revision=2528
* el buggo pointed out via spyderous.Brian Harring2006-01-041-2/+6
| | | | | | | | | | | | | || ( a ( x? ( b ) y? ( c ) ) ) -x -y , was resulting in || ( a () ) the main consumer of this, portage.dep_check is stupid, and was assuming () was valid. It's not, obviously. Long term bug, around in at least .51 . Should correct dep_check handling of it also, but no reason to be handing () in the result lists also. svn path=/main/trunk/; revision=2522
* Remove the now unnecessary USE="*" hack.Jason Stubbs2005-12-251-4/+0
| | | | svn path=/main/trunk/; revision=2469
* Fix an incorrect positional check in *DEPEND parsing.Jason Stubbs2005-12-211-1/+1
| | | | svn path=/main/trunk/; revision=2418