How to package the SBE/SETI installer

What

From any preexistant version of the Installer, from CVS, another tarball or other, there is a way to package the current version into a well formed pacakge suitable for distribution.

This package will be created with a full rebuild of the python and pacman scripts derivated from the xml sources, thus avoiding the package user the need to rebuild them. Building the python and pacman script from the xml sources requires libxml2 and libxslt (and their respective python binding) which are not available on every platform (notably not on a default SLC3 installation).

Note that the packager must have acces to a machine where libxml2-python and libxslt-python are available.

How

  • First get a release of the Installer. For example, using CVS:
    cvs -d :pserver:anonymous@spi.cvs.cern.ch:/cvs/spi co SpiInfrastructure/Scripts/installer
  • Then move to the installer root:
    cd SpiInfrastructure/Scripts/installer
  • Run the packaging script. The version argument will be used to name the generated archive. Here we use test as version name:
    xmlTools/bin/sbepackager.py --version test
    The whole project is rebuild and packaged.
  • Archive is available at cwd under the name **.

-- YannickPatois - 06 Dec 2005

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2005-12-15 - YannickPatois
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    SPI All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback