Bug 17534 - Press a button and get a fresh DB
Summary: Press a button and get a fresh DB
Status: RESOLVED MOVED
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Jonathan Druart
QA Contact: Testopia
URL:
Keywords:
Depends on: 17529
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-01 16:17 UTC by Jonathan Druart
Modified: 2016-11-11 11:04 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 17534: Add script to execute everything needed to get a fresh DB (1.49 KB, patch)
2016-11-01 16:19 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2016-11-01 16:17:06 UTC

    
Comment 1 Jonathan Druart 2016-11-01 16:19:33 UTC
Created attachment 57054 [details] [review]
Bug 17534: Add script to execute everything needed to get a fresh DB

Not sure it will be pushed, but at least it's shared.

It will populate the DB (with records), create a superlibrarian user and rebuild zebra
Comment 2 Josef Moravec 2016-11-02 15:18:25 UTC
I think it's useful for development and testing... When I am working with db changes I need new database relatively often :)
Comment 3 Jonathan Druart 2016-11-11 11:04:39 UTC
I have finally decided not to integrate these script into the Koha codebase but create a new project instead.

See https://github.com/joubu/koha-misc4dev