Supported Nested Tags

  • fileset

  • option

    Table 118. Available options

    Name Type Description Default Required
    summary String   n/a Yes
    description String   n/a Yes
    license String   n/a Yes
    channel String Channel name (not alias!). Must be registered (pear channel-discover channel) on the machine, where the build will be. n/a Yes
    apiversion String   n/a Yes
    releaseversion String   n/a Yes
    releasestability String One from: snapshot, devel, alpha, beta or stable. n/a Yes
    apistability String One from: devel, alpha, beta or stable. n/a Yes
    note String   n/a Yes
    packagetype String   n/a Yes
    phpdep String   n/a Yes
    pearinstallerdep String   n/a Yes

  • mapping

    The <mapping> tag represents a complex data type. You can use nested <mapping> (and nested <element> with <element> tags) to represent the full complexity of the structure. Bear in mind that what you are creating will be mapped to an associative array that will be passed in via PEAR_PackageFileMaintainer::setOptions() .

    <mapping name="option_name">
        <element key="key_name" value="key_val"/>
        <element key="key_name" value="key_val"/>
    </mapping>

    Available mappings and they structures:

    • deps (optional) see PEAR_PackageFileManager::addDependency() for more info

      Table 119. Parameters

      Name Type Description Default Required
      channel String Channel name, from package is. n/a Yes
      name String Package name in channel. n/a Yes
      version String Minimal version. n/a Yes
      max String Maximum version. Same as version. No
      recommended String Recommended version. Same as version. No


    • extdeps (optional) see PEAR_PackageFileManager::addDependency() for more info

      Table 120. Parameters

      Name Type Description Default Required
      name String Package name. n/a Yes
      version String Minimal version. n/a Yes
      max String Maximum version. Same as version. No
      recommended String Recommended version. Same as version. No


    • maintainers (required at least one) see PEAR_PackageFileManager::addMaintainer() for more info

      Table 121. Parameters

      Name Type Description Default Required
      handle String User identifier in channel. n/a Yes
      name String Real name. n/a Yes
      email String   n/a Yes
      role String One from: lead, developer, contributor or helper. n/a Yes


    • replacements (optional) see PEAR_PackageFileManager::addReplacement() for more info

      Table 122. Parameters

      Name Type Description Default Required
      path String Relative path of file. n/a Yes
      type String Variable type, either php-const, pear-config or package-info. n/a Yes
      from String Text to replace in the source file. n/a Yes
      to String Variable name to use for replacement. n/a Yes


  • role See PEAR_PackageFileManager::addRole for more information.

    Available options:

    Table 123. Parameters

    Name Type Description Default Required
    extension String The file extension n/a Yes
    role String The file extension n/a Yes