[Bug 17529] New: Add a --with-records option to populate_db.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17529 Bug ID: 17529 Summary: Add a --with-records option to populate_db.pl Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: ASSIGNED Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: jonathan.druart@bugs.koha-community.org Reporter: jonathan.druart@bugs.koha-community.org QA Contact: testopia@bugs.koha-community.org Depends on: 10337 This option will insert data into biblio, biblioitems, items and auth_header tables \o/ Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10337 [Bug 10337] Add a script to insert all sample data automatically -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17529 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17529 --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 57030 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57030&action=edit Bug 17529: Add a --with-records option to populate_db.pl It's so frustrating to have to insert data manually to test with a fresh install. This patch adds the data from the marc21 sandbox and let populate_db.pl inserts them Test plan: DROP DATABASE koha_kohadev; perl misc/devel/populate_db.pl --with-records -v Enjoy -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17529 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #57030|0 |1 is obsolete| | --- Comment #2 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 57031 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57031&action=edit Bug 17529: Add a --with-records option to populate_db.pl It's so frustrating to have to insert data manually to test with a fresh install. This patch adds the data from the marc21 sandbox and let populate_db.pl inserts them Test plan: DROP DATABASE koha_kohadev; perl misc/devel/populate_db.pl --with-records -v Enjoy -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17529 --- Comment #3 from Josef Moravec <josef.moravec@gmail.com> --- Created attachment 57032 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57032&action=edit [SIGNED-OFF] Bug 17529: Add a --with-records option to populate_db.pl It's so frustrating to have to insert data manually to test with a fresh install. This patch adds the data from the marc21 sandbox and let populate_db.pl inserts them Test plan: DROP DATABASE koha_kohadev; perl misc/devel/populate_db.pl --with-records -v Enjoy Signed-off-by: Josef Moravec <josef.moravec@gmail.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17529 --- Comment #4 from Josef Moravec <josef.moravec@gmail.com> --- Created attachment 57033 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57033&action=edit [SIGNED-OFF] Bug 17529: Follow-up - add with records to list of options in usage Signed-off-by: Josef Moravec <josef.moravec@gmail.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17529 Josef Moravec <josef.moravec@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |josef.moravec@gmail.com Attachment #57032|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17529 Josef Moravec <josef.moravec@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #57033|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17529 --- Comment #5 from Josef Moravec <josef.moravec@gmail.com> --- I was too fast and signed off the older (now obsoleted) patch, I'll do it again... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17529 Josef Moravec <josef.moravec@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #57031|0 |1 is obsolete| | --- Comment #6 from Josef Moravec <josef.moravec@gmail.com> --- Created attachment 57039 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57039&action=edit [SIGNED-OFF] Bug 17529: Add a --with-records option to populate_db.pl It's so frustrating to have to insert data manually to test with a fresh install. This patch adds the data from the marc21 sandbox and let populate_db.pl inserts them Test plan: DROP DATABASE koha_kohadev; perl misc/devel/populate_db.pl --with-records -v Enjoy Signed-off-by: Josef Moravec <josef.moravec@gmail.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17529 Josef Moravec <josef.moravec@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17529 --- Comment #7 from Josef Moravec <josef.moravec@gmail.com> --- Created attachment 57040 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57040&action=edit Bug 17529: Follow-up - add --with-records to list of options in usage -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17529 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |17534 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17534 [Bug 17534] Press a button and get a fresh DB -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17529 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com Version|unspecified |master -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17529 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |tomascohen@gmail.com |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17529 --- Comment #8 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 57452 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57452&action=edit Bug 17529: Remove items without homebranch In the previous data, there are 11 items without homebranch select distinct (homebranch), count(*) from items group by holdingbranch; This patch regenerates the sql file without these items. Feel free to squash with the first patch! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17529 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17529 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |MOVED --- Comment #9 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- 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 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org