From: Chris W. <la...@us...> - 2005-02-26 04:18:05
|
Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Manage/Website In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6212 Modified Files: InstallPackageStructure.pm InstallPackageSql.pm Log Message: OIN-134: add a 'file' parameter to the structure and overall installers; value(s) get passed to the structure install execution Index: InstallPackageStructure.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Manage/Website/InstallPackageStructure.pm,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** InstallPackageStructure.pm 13 Jun 2004 18:19:54 -0000 1.12 --- InstallPackageStructure.pm 26 Feb 2005 04:17:54 -0000 1.13 *************** *** 23,26 **** --- 23,31 ---- website_dir => $self->_get_website_dir_param, package => $self->_get_package_param, + file => { + description => 'Process only the listed structure file(s); if unspecified all are processed', + is_required => 'no', + is_multivalued => 'yes', + }, }; } *************** *** 41,45 **** $action, $repository, $package_name ); next PACKAGE unless ( $installer ); ! $installer->install_structure; my @install_status = $installer->get_status; for ( @install_status ) { --- 46,50 ---- $action, $repository, $package_name ); next PACKAGE unless ( $installer ); ! $installer->install_structure( $self->param( 'file' ) ); my @install_status = $installer->get_status; for ( @install_status ) { *************** *** 87,90 **** --- 92,109 ---- Installs SQL data structures for one or more packages. + =head1 PARAMETERS + + =over 4 + + =item B<website_dir> + + =item B<package> + + =item B<file> ($ or @; optional) + + Tell the installer to restrict itself to the listed files. + + =back + =head1 STATUS MESSAGES Index: InstallPackageSql.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Manage/Website/InstallPackageSql.pm,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** InstallPackageSql.pm 14 Feb 2005 18:11:20 -0000 1.14 --- InstallPackageSql.pm 26 Feb 2005 04:17:54 -0000 1.15 *************** *** 25,28 **** --- 25,33 ---- website_dir => $self->_get_website_dir_param, package => $self->_get_package_param, + file => { + description => 'Process only the listed structure file(s); if unspecified all are processed', + is_required => 'no', + is_multivalued => 'yes', + }, }; } |