[Koha-devel] Any secret for updatedatabase.pl?

Chris Cormack chris at bigballofwax.co.nz
Tue Nov 18 22:51:35 CET 2014


On 19 November 2014 10:48, Philippe Blouin <philippe.blouin at inlibro.com>
wrote:

> Holà Koha!
> After so many rebasing nightmares only caused by updatedatabase.pl, I was
> wondering how you are doing your insertions in that file to make things
> easier.
> Git is a bit dumb by default regarding that file, so I was wondering if
> you knew of any way to write the insertion to always show at the right
> place in a rebase.
>
> Of course, maybe it's just hopeless, in which case may I ask why we are
> doing it this way?
>
> Locally, I moved from that file and instead create a different file for
> each update (update_XXXX_long_description), and have my script run them
> all in sorted order.  I could see that used in the community, with a
> subdirectory for each version.  I can imagine it would have a very small
> impact on performance, but it'd be sooo much easier to rebase.
>
> There's a patch to do just that,
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13068  you could
test and sign off

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20141119/145a6b49/attachment.html>


More information about the Koha-devel mailing list