Re: [Koha-devel] Coding patterns discussion

2016-09-12 Thread David Cook
I didn’t even know Koha::Exceptions was a thing! How does it work? Wasn’t Kyle going to work on some sort of developer handbook so there would be a central repository of guidelines/patterns? I read the Koha Coding Guidelines many moons ago, but it would be nice to know when there are

Re: [Koha-devel] Discussion of mysqldump / bug 12374

2016-09-12 Thread David Cook
I agree with Chris. It sounds like something desired as a provider/developer, which wouldn't necessarily be useful to most users of Koha. As a provider/developer/DBA, why not create a superuser account to do your database dumps of specific tables or groups of records? David Cook Systems

Re: [Koha-devel] Migrate/Upgrade from 2.2.3 to latest.

2016-09-12 Thread Michael Hafen
There's also update 61 which references the labels_templates table. You'd have to omit that one too. That table is gone, but I don't know when it gets dropped. I looked through updatedatabase.pl and didn't see it get dropped. So I don't know. If you are aiming for a recent release then it

[Koha-devel] Discussion of mysqldump / bug 12374

2016-09-12 Thread Barton Chittenden
I recently created a patch for bug 12374 'Add koha-mqsqldump script, analagous to koha-mysql'. This prompted discussion in the ticket, as well as in IRC; Katrin requested a wider discussion: I'd like to get some more opinions on this as both Magnus and Liz have left > notes that this might be

Re: [Koha-devel] Migrate/Upgrade from 2.2.3 to latest.

2016-09-12 Thread Rodrigo Santellan
Passing the conditions in true (1 == 1 ) on lines 2623 and 3418 I'm able to pass further on the updatedatabase.pl But the problems are on migrating to 3.00.00.053 the definitions that are needed on that table are on 3.00.00.059. My intuition says to change the order, but I have to be honest that

Re: [Koha-devel] Coding patterns discussion

2016-09-12 Thread Kamal Hossain
Hello, It's good opportunity to do coding jointly. Best, Kamal On Sep 13, 2016 12:32 AM, "Tomas Cohen Arazi" wrote: > I've been looking at our coding patterns, and noticed we haven't > discussed/agreed on some stuff. Which is a good oportunity to just do it, > now the

[Koha-devel] Coding patterns discussion

2016-09-12 Thread Tomas Cohen Arazi
I've been looking at our coding patterns, and noticed we haven't discussed/agreed on some stuff. Which is a good oportunity to just do it, now the Koha:: namespace is being filled with cool old-code rewrites with lots of test coverage. - Transactions on heavy business functions that should

Re: [Koha-devel] Migrate/Upgrade from 2.2.3 to latest.

2016-09-12 Thread Michael Hafen
Have you looked in the /installer/data/mysql directory at the labels_upgrade.pl and patroncards_upgrade.pl scripts. I think those where supposed to be run by the updatedatabase.pl script, but I seem to recall having trouble with that myself. On Mon, Sep 12, 2016 at 7:07 AM, Rodrigo Santellan

[Koha-devel] Migrate/Upgrade from 2.2.3 to latest.

2016-09-12 Thread Rodrigo Santellan
Hi, I'm trying to do a migration or upgrade from koha 2.2.3 to koha 3. I know is a daunting task that I have embarked but I'm trying to bring back a library to the latest updates of the community. So far this are the steps I have done: 1 - I dump an empty schema of the DB and create a new one

Re: [Koha-devel] Restart plack when needed

2016-09-12 Thread Tomas Cohen Arazi
The --reload option is plackup's/starman's option switch. Jonathan has been trying different ways of developing on a Plack enabled instance. This is only useful for developers. El lun., 12 sept. 2016 a las 8:53, Paul Poulain () escribió: > wow! impressive ! > > Is the