PowerTools Documentation: Index | Examples


Table of contents


1 Creating a DSP

This topic describes the most common tasks that are required to create a DSP.

1.1 Manual installation of a tool

  • Ascertain the optimal procedure for installing a tool onto a site. The installation steps are automated in dAPI.py.
  • The list of installation parameters from the SA that will be required at the time of installing the DSP onto a site, for example, the path where a DSP must be installed.

1.2 Configure the build environment

The build machine must meet the following build requirements.

  • Log in as a non-root user (recommended).
  • Download and uncompress the powertools.tar.bz2 archive.
tar jxvf powertools.tar.bz2
  • Make sure that the operating system installed is Fedora Core 1, Fedora Core 2 or RHEL 3ES.
  • Ensure that you have the RPM rpm-build package installed.
yum install rpm-build
  • If you are running Fedora Core 1 or RHEL 3ES, install the RPM python-devel
yum install python-devel

1.3 Creating a DSP

  1. Create DSP initial source structure.
    1. Create DSP source directories.
    2. Copy source templates (optional).
    3. Write (Modify if you have copied templates) include.mk.
    4. Download/Copy the tool source archive and logo file.
    5. Copy msgs.list and default.xsl.
  2. Write/Modify dsp.xml .
  3. Write/Modify dAPI.py.
  4. Build the DSP.
  5. Test the DSP.

1.4 Examples

1.4.1 MediaWiki

Creating a mediawiki DSP.

Retrieved from "wiki/index.php/Examples"