Catalogue of Ships

"now will I tell the purpose of the sifbuilder functions and the functions in their order": the automatic generation of sites from a XML site definition specifying constituting modules, blocks, themes and content, and based on various core CMS -the specification files are located in the sibs folder in the sifbuilder distribution-; association of modules and themes to specific site profiles; management of dependencies and conflicts between modules and site components; structure the actions constituting the creation of a site; access to the functions of the cores and modules from the command line; comparison of the version of installed packages against that of the most recent releases; update of modules in a site with those most recently released aiming to the automatic update of web sites; backup and restore of web sites; cloning of sites using site backup, restore and site configuration; generation of a module based on the XML representation of the relational schema as a means to automate the development of a Web application building of the functions offered by the CMS cores; installation of sites on remote hosts through SSH connections; creation or removal of multiple sites using use cases.

These examples assume the configuration of target hosts and sites in ../sifbuilder_local/sifnet_config.php. Examples of those definitions can be found here. Omitting -v and adding --expandsiteparams option, the command is shown in simulated mode. Without -f, specification of the target site can be done interactively through the command line.

Using sifbuilder is risky and can result is substantial data loss. Never use sifbuilder without a backup in place. Once said that, the sifbuilder site is regularly updated and maintained using sifbuilder.

Domain Action Instruction Result instance
program configure php sifcmd.php sip_configure_site
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnethost=devhost --sifnetsite=sbpn_at_localhost
PostNuke08_core_postnuke -f -v
Configure the distribution
create php sifcmd.php build_program
--sifnethost=devhost --sifnetconfigfile=../sifbuilder_local/sifnet_config.php -v
Create the sifbuilder program
in siftmp/tmpUpload/ from the development environment
tar php sifcmd.php
sifnet_create_program_zip --sifnethost=devhost -v
Create the sifbuilder
program tar
upload php sifcmd.php sifnet_upload_program
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php --sifnethost=localhost -v
Upload the program
tar to the nethost sifdir
explode php sifcmd.php sifnet_explode_package
--sifnethost=localhost --sifnetconfigfile=../sifbuilder_local/sifnet_config.php -v
Explode the program
tar in the nethost sifdir
local dir php sifcmd.php a ac001i
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php --sifnethost=localhost -v
Create the sifbuilder_local file tree
local config php sifcmd.php a ac023
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php --sifnethost=localhost -v
Upload the local sifnet config file
packages php sifcmd.php sifnet_upload_packages
--sifnethost=sfhost --sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifpacksdir=../sifbuilder_local/packages
Upload site packages if necessary
site php sifcmd.php b
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbd501_at_localhost --sifnethost=localhost
--siburi=./sibs/sib_drupal5_sif_sif.xml -x -f -v
Build the target site
release create php sifcmd.php build_release
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnethost=devhost -f -v
Create a new sif packages release
upload php sifcmd.php sifnet_upload_release
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnethost=devhost -f -v
Upload a sip release to the sif host
create old site php sifcmd.php b
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnethost=localhost
--sifnetsite=sbpn501_at_localhost --siburi=./sibs/sib_PostNuke07_sif_old.xml
--dev -x -f -v
Create a site with old site packages
check new versions php sifcmd.php rlist
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnethost=localhost
--sifnetsite=sbpn501_at_localhost --dev -f -v
Update site with most recent packages
update php sifcmd.php b
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnethost=localhost --sifnetsite=sbpn501_at_localhost
--siburi=./sibs/sib_PostNuke07_sif_sif.xml
--dev --doupdate -f -v
Update site with most recent packages
drupal create php sifcmd.php b
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbd501_at_localhost
--siburi=./sibs/sib_drupal47_sif_sif.xml -f -x
Creates in force mode the
http://localhost/sifbuilder/d501 site
Pre empties the d501 database and pre removes the
d:/webroot/sifbuilder/d501/ folder
backup php sifcmd.php backup_pod
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbd501_at_localhost -f
backup the d501 site into the
autodefined bck_pod_200707220010_sifbuilder_d501.zip tar at
./siftmp/tmpUpload/

restore php sifcmd.php restore_pod
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbd502_at_localhost drupal47_core_drupal -x -f
Restores in force mode the
database and file system from the latest backup tar with the backuped
siteParms :into the  sbd502_at_localhost pre-cleaned site
Configures the site with the drupal47_core_drupal core with the new
siteParmas
clone php sifcmd.php clone_pod
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetbcksite=sbd501_at_localhost --sifnetsite=sbd502_at_localhost
drupal47_core_drupal -f -x
Backup the sbd501_at_localhost
site and restore it into sbd502_at_localhost with post configuration by
the core sip
clean php sifcmd.php clean_pod
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbd501_at_localhost -f
Clean sbd501_at_localhost site
and test sbd502_at_localhost at  http://localhost/sifbuilder/d502
restore with uri php sifcmd.php b
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbd501_at_localhost
--siburi=./sibs/sib_drupal47_sif_sif.xml -f -x
Build the site
php sifcmd.php backup_pod
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbd501_at_localhost
--siburi=bck_pod__sbd501_at_localhost.zip -f
Backup the site into the
bck_pod__sbd501_at_localhost.zip tar
php sifcmd.php restore_pod
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbd502_at_localhost
--siburi=bck_pod__sbd501_at_localhost.zip drupal47_core_drupal -x -f
Restore with pre-cleaning (ie.
create from new) the sbd502_at_localhost from the
bck_pod__sbd501_at_localhost.zip backup with post configuration by the
core
php sifcmd.php clean_pod
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbd501_at_localhost -f
Clean sbd501_at_localhost site
and test sbd502_at_localhost at  http://localhost/sifbuilder/d502
postnuke create php sifcmd.php b
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbpn501_at_localhost
--siburi=./sibs/sib_PostNuke08_sif_sif.xml --dev -x -f
Creates in force mode the
http://localhost/sifbuilder/pn501 site
Pre empties the pn501 database and pre removes the
d:/webroot/sifbuilder/pn501/ folder
backup php sifcmd.php backup_pod
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbpn501_at_localhost -f
backup the pn501 site into the
autodefined bck_pod_200707220010_sifbuilder_pn501.zip tar at
./siftmp/tmpUpload/
restore php sifcmd.php restore_pod
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbpn502_at_localhost PostNuke08_core_postnuke --dev -f -x
Restores in force mode the
database and file system from the latest backup tar with the backuped
siteParms :into the  sbpn502_at_localhost pre-cleaned site
Configures the site with the PostNuke08_core_postnukecore with the new
siteParmas
clone php sifcmd.php clone_pod
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetbcksite=sbpn501_at_localhost --sifnetsite=sbpn502_at_localhost
PostNuke08_core_postnuke --dev -x -v -f
Backup the sbpn501_at_localhost
site and restore it into sbpn502_at_localhost with post configuration
by the core sip
clean php sifcmd.php clean_pod
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbpn501_at_localhost -f
Clean sbpn501_at_localhost site
and test sbpn502_at_localhost at  http://localhost/sifbuilder/pn502
install this news php sifcmd.php b
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnethost=devhost
--sifnetsite=sbpn501_at_localhost
--siburi=./sibs/sib_PostNuke08_sif_delta.xml --dev -f -v
publish this news in a clean
site with all the required modules
create module php sifcmd.php b
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnethost=devhost
--sifnetsite=sbpn501_at_localhost
--siburi=./sibs/sib_PostNuke07_modgen_xlite.xml --dev -f -v
Create a module based on the
relational data model specified in the sib file
xoops create php sifcmd.php b
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbx501_at_localhost
--siburi=./sibs/sib_XOOPS20_sif_sif.xml --dev -x -f
Creates in force mode the
http://localhost/sifbuilder/x501 site
Pre empties the x501 database and pre removes the
d:/webroot/sifbuilder/x501/ folder
backup php sifcmd.php backup_pod
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbx501_at_localhost -f
backup the x501 site into the
autodefined bck_pod_200707220010_sifbuilder_x501.zip tar at
./siftmp/tmpUpload/
restore php sifcmd.php restore_pod
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbx502_at_localhost XOOPS20_core_xoops --dev -f -x
Restores in force mode the
database and file system from the latest backup tar with the backuped
siteParms :into the  sbx502_at_localhost pre-cleaned site
Configures the site with the XOOPS20_core_xoops core with the new
siteParmas
clone php sifcmd.php clone_pod
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetbcksite=sbx501_at_localhost --sifnetsite=sbx502_at_localhost
XOOPS20_core_xoops --dev -x -v -f
Backup the sbx501_at_localhost
site and restore it into sbx502_at_localhost with post configuration by
the core sip
clean php sifcmd.php clean_pod
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbx501_at_localhost -f
Clean sbx501_at_localhost site
and test sbx502_at_localhost at  http://localhost/sifbuilder/x502
joomla create php sifcmd.php b
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbj501_at_localhost
--siburi=./sibs/sib_joomla1_sif_sif.xml --dev -x -f
Creates in force mode the
http://localhost/sifbuilder/j501 site
Pre empties the j501 database and pre removes the
d:/webroot/sifbuilder/j501/ folder
backup php sifcmd.php backup_pod
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbj501_at_localhost -f
backup the j501 site into the
autodefined bck_pod_200707220010_sifbuilder_j501.zip tar at
./siftmp/tmpUpload/
restore php sifcmd.php restore_pod
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbj502_at_localhost joomla1_core_joomla --dev -f -x
Restores in force mode the
database and file system from the latest backup tar with the backuped
siteParms :into the  sbj502_at_localhost pre-cleaned site
Configures the site with the joomla1_core_joomla core with the new
siteParmas
clone php sifcmd.php clone_pod
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetbcksite=sbj501_at_localhost --sifnetsite=sbj502_at_localhost
joomla1_core_joomla --dev -x -v -f
Backup the sbj501_at_localhost
site and restore it into sbj502_at_localhost with post configuration by
the core sip
clean php sifcmd.php clean_pod
--sifpacksdir=../sifbuilder_local/packages
--sifnetconfigfile=../sifbuilder_local/sifnet_config.php
--sifnetsite=sbj501_at_localhost -f
Clean sbj501_at_localhost site
and test sbj502_at_localhost at  http://localhost/sifbuilder/j502

posted by admin at 2007-08-18 00:00:00 0 comments read more