Move sample library data from seed data into sample data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
* Evergreen master
Ever since the beginning, we have loaded a stock set of actor.org_unit systems, branches, and bookmobiles for demonstration purposes as part of the stock "seed data".
And ever since the beginning, that data has been a pain for anyone who wants to move from the "try out Evergreen" stage to the "deploy Evergreen more seriously" stage, due to foreign key relationships, etc.
We evolved the "concerto" sample data set over the past few releases to support test driving Evergreen; it is easily loadable via the --load-all or --load-concerto flags on the eg_db_config script. So, it's time to move the sample actor.org_unit data over to the sample data set, too.
In addition, we can add other useful sample library data, such as different addresses, contact information such as email addresses and phone numbers, and library settings... all of which can be useful for testing and development purposes as well.
Thus, I offer up http://
Commit 1: simply moves the existing seed library data over to the sample library data instead. *NOTE*: Consortium remains, as we have to have an owner for many of the rows in the database (such as the admin user), and I have not touched the actor.org_unit_type entries.
Commit 2: Gives the branches their own addresses and hours of operation
Commit 3: Gives the branches telephone numbers, email addresses, and external URLs via the library.info_url AOUS.
This branch is the basis of another branch that establishes per-AOU pages to expose this information. In that branch, the library.info_url setting becomes less annoying in record details than in the current implementation.
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Tested load and basic functionality without loading the sample data. Ditto with loading the sample data. Verified presence of orgs, addresses, hours of operation, and settings. Pushed signed-off branch to:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ library_ sample_ data
I'll wait to merge since this was just opened, giving others a chance to poke.