[Koha-devel] Database updates

Jared Camins-Esakov jcamins at cpbibliography.com
Wed Jan 2 19:16:33 CET 2013


Chris,

> Also, I have a correction to Chris's response: we will not need two
> separate sets of DB changes because I will be copying every non-linear
> update into updatedatabase.pl. That was the reason for the CheckVersion()
> routine.
> >
>
> Hi
>
> While that is a good idea, and will mean the packages aren't totally
> busted on master. A commit that has both the old safe updatedatabase and
> the new system is no use for cherry-picking to stable.  It won't apply. So
> we will need a commit with just the bug fix, then another 2 commits, one
> doing old db update, one doing new, and I will just cherry pick the old
> one.
>
> IE if something is needed for 3.10.x or 3.8.x it can't combine the db
> update part of the patch with the rest, for it to be able to apply.
>

Sure it can. The DB update for 3.12+ will be a new file (which will be
ignored by every version up until 3.12), every time. Any patches that make
changes to the update system itself will have to be on different bugs, of
course, but I was going to require that anyway.

Regards,
Jared

-- 
Jared Camins-Esakov
Bibliographer, C & P Bibliography Services, LLC
(phone) +1 (917) 727-3445
(e-mail) jcamins at cpbibliography.com
(web) http://www.cpbibliography.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20130102/2481bd1f/attachment-0001.html>


More information about the Koha-devel mailing list