Monticello+Suggestion

karl karl.ramberg at chello.se
Sun Dec 18 11:51:48 UTC 2005


karl wrote:

> karl wrote:
>
>> Cees De Groot wrote:
>>
>>> On 12/16/05, nicolas cellier <ncellier at ifrance.com> wrote:
>>>  
>>>
>>>> I suggest one can search for keywords in project descriptions 
>>>> rather than just
>>>> in project names.
>>>>
>>>>   
>>>
>>>
>>> Monticello is a versioning system. What you want, would be best
>>> implemented in SqueakMap. Which is of course already possible (Google
>>> 'foo site:map.squeak.org' ;-)) but maybe a search box on SM could help
>>> a bit there.
>>>
>>>
>>>  
>>>
>> I would like this feature on SqueakSource.
>>
>> karl
>>
> I added searching the project description. See attachment.
> Could something like this be added to SqueakSource ? Please ? :-)
>
> Karl

Ugh! This was the changed method :

> !SSProjects methodsFor: 'actions' stamp: 'kfr 12/18/2005 12:40'!
>
>search
>	self searchText isEmptyOrNil ifTrue: [
>		self searchText: '*' ].
>	(self searchText includes: $*) ifFalse: [
>		self searchText: '*' , self searchText , '*'].
>	report rows: (self model projects select: [ :each |
>		self searchText match: each title.
>		self searchText match: each description]).! !
>
>  
>

Karl




More information about the Squeak-dev mailing list