[Koha-devel] How about a different way of handling database updates

Chris Nighswonger cnighswonger at foundations.edu
Thu Jan 28 19:20:40 CET 2010


On Thu, Jan 28, 2010 at 1:04 PM, Kyle Hall <kyle.m.hall at gmail.com> wrote:
>> create a syspref (with TEXT, we have a lot of space).
>> Separate each patch applied with a comma :
>>
>> BibLibre-1,mhafenA,someoneElse,anotherone,BibLibre-2, ...
>>
>> need to check that a patch has been applied ? just =~ /BibLibre-1,/ if not
>> applied, apply it, and add BibLibre-1, at the end of applied patches. The
>> order doesn't matter.
>>
>> (well, in fact, the order may matter, and that may be the limit of this
>> idea...)
>
> An interesting idea, but wouldn't that cause the db updater to slow
> down as the syspref grows in size?

Probably not as regexp's are one of perl's strong points.

Chris



More information about the Koha-devel mailing list