[Koha-devel] sample databases for sandboxes

Paul Poulain paul.poulain at biblibre.com
Mon Jan 2 17:55:29 CET 2012


Hello,

In my RM application, I spoke of sandboxes that could be used for
non-techies to test and signoff patches.
I've started to work on this system, something should be visible this month.
The system will work that way:
* you reach a dedicated page
* on this page, you enter 3 things (maybe some more to come) :
  - the bugzilla patch number you want to test
  - your email-address (to have a mail once your sandbox is set)
  - the database you want to setup, from a list of available sample
databases
* you hit the "OK" button
* a few minuts later, you get a mail in your mailbox saying it's done
* you connect to the sandbox, and, on the main page, you see if
everything went well and you can work on this sandbox.

QUESTION/REQUEST: if you have a sample database you'd like to see in the
list, just send it to me by email, with some details about the content
of this example database, that will be seen by ppl that want to test
patches.
For example : "this database has 1000 records, 100 patrons, with
IndependantBranches=ON, and holds are not enabled anywhere. login with
test/test to be superlibrarian from library A, and libB/libB to be a
non-superlibrarian from library B"

FAQ about this system:

Q: how will we manage concurrency ?
A: there won't be any automatic checking. But the timestamp of the
creation of every sandbox will be visible on mainpage. So if the sandbox
is very young, use another one ! If you've any doubt, go

Q: what if something went wrong when applying the patch ?
A: just add a comment on bugzilla to say "tried to test this patch with
sandbox system, it does not work, you get the following message:
<copy here the message you saw on mainpage>>". It will mean this patch
must be tested by a developer with larger skills than this basic sandbox
system has.

Q: I want to setup my own sandboxes, how can I do that ?
A: go to http://git.biblibre.com, and you'll see a project here with all
the code (ie: still to be done)

Q: I've tested the patch, and everything went well, what's next ?
A: just go to bugzilla, change the status to "signed-off" and add a
comment to say "i've tested, works well, signed-off". The RM or the QA
team will take care of officially adding your signature to the patch.

Q: how long will last a given sandbox setup ?
A: Every night, everything will be reseted, Koha will be updated against
an uptodate master.

-- 
Paul POULAIN
http://www.biblibre.com
Expert en Logiciels Libres pour l'info-doc
Tel : (33) 4 91 81 35 08


More information about the Koha-devel mailing list