Koha/misc
Galen Charlton e0b0ae2053 bug 8798: (follow-up) pass DB connection params to DBIC schema updater explicitly
This patch changes update_dbix_class_files.pl so that the connection
parameters to the reference database must be passed explicitly via
command-line switches, rather than grabbing them from the current Koha
context.

The purpose of this is to intentionally put up a roadblock to reduce
the chance that a developer (or release manager) accidentally updates
the schema files to include local testing cruft such as temporary
tables.

Usage is now as follows:

[1] Create an empty database
[2] Load the schema creation script into it, e.g.,

mysql -u dbic -pdbic dbic < installer/data/mysql/kohastructure.sql

[3] Run the schema updater:

./misc/devel/update_dbix_class_files.pl --db_user=dbic --db_name=dbic --db_passwd=dbic

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-10-14 21:08:03 +00:00
..
admin
bin Revert "Bug 7167: New version for updatedatabase" 2012-12-27 14:02:56 -05:00
cronjobs bug 10419: (follow-up) improvements to the usage text 2013-10-03 22:13:40 +00:00
devel bug 8798: (follow-up) pass DB connection params to DBIC schema updater explicitly 2013-10-14 21:08:03 +00:00
interface_customization Bug 9615 - Combine staff home page images into single sprite 2013-02-20 08:29:22 -05:00
load_testing Bug 10806: make the staff benchmark script check authentication failure. 2013-10-02 15:30:49 +00:00
maintenance bug 9998: (follow-up) use Modern::Perl as per coding guidelines 2013-07-02 07:09:22 -07:00
migration_tools Bug 10326: bulkmarcimport.pl doesn't restore value of CataloguingLog syspref 2013-05-31 07:30:25 -07:00
release_notes Update release notes for final 3.12.00 release 2013-05-19 17:57:26 -04:00
translator Bug 9161: Followup: the -f param does not work correctly 2013-05-24 09:08:27 -07:00
batchCompareMARCvsFrameworks.pl
batchdeletebiblios.pl Bug 8674 follow-up Fix perlcritic error 2012-10-02 17:48:03 +02:00
batchDeleteUnusedSubfields.pl
batchImportMARCWithBiblionumbers.pl Bug 8576: Software error on authority edition when using merge 2012-08-28 17:55:33 +02:00
batchRebuildBiblioTables.pl
batchRepairMissingBiblionumbers.pl
batchupdateISBNs.pl
check_sysprefs.pl
commit_file.pl Bug 2060: Update command line MARC import scripts 2012-09-19 17:16:18 +02:00
export_borrowers.pl Bug 9045 - Adding some parameters to export_borrowers.pl 2013-03-21 10:47:42 -04:00
exportauth.pl
koha-install-log Bug 10712: Save missing config variables to install log 2013-08-13 14:14:30 +00:00
kohalib.pl
link_bibs_to_authorities.pl Bug 8818: make sure we load modules before using them 2012-10-01 19:01:50 +02:00
mod_zebraqueue.pl Bug 9286 - Add script to add a bib to the zebra queue from the command line 2013-05-28 08:00:15 -07:00
perlmodule_ls.pl
perlmodule_rm.pl
recreateIssueStatistics.pl
sax_parser_print.pl
sax_parser_test.pl
stage_file.pl Bug 2060: Update command line MARC import scripts 2012-09-19 17:16:18 +02:00