Changes between Version 9 and Version 10 of ModuleEcosystem

Show
Ignore:
Timestamp:
09/28/09 06:11:59 (12 years ago)
Author:
japhb
Comment:

WIP: Updating metadata instructions section to new design, part 3

Legend:

Unmodified
Added
Removed
Modified
  • ModuleEcosystem

    v9 v10  
    182182   * abstract 
    183183   * instructions 
     184     * ''General rules:'' 
     185       * ''only ''fetch'' and ''install'' stages are mandatory always; all others must exist iff the project requires it'' 
     186       * type'' field is always mandatory if the stage exists at all'' 
     187       * command'' field is always available for non-standard techniques, but only allowed if ''type'' is ''custom 
     188       * ''most other fields are optional'' 
    184189     * fetch ''(mandatory)'' 
    185        * type     ''(mandatory, short name of a VCS or protocol, such as ''svn'', ''git'', or ''http''; or ''custom'')'' 
    186        * revision ''(optional, defaults to ''HEAD'' equivalent)'' 
    187        * branch   ''(optional, defaults to ''trunk''/''master'' equivalent)'' 
    188        * command  ''(only if ''type'' is ''custom'')'' 
     190       * type     ''(short name of a VCS or protocol, such as ''svn'', ''git'', or ''http''; or ''custom'')'' 
     191       * revision ''(defaults to ''HEAD'' equivalent)'' 
     192       * branch   ''(defaults to ''trunk''/''master'' equivalent)'' 
    189193       * include_externals ''(fetch externals/submodules; defaults to ''false'')'' 
    190      * unpack ''(optional)'' 
    191        * type ''(mandatory, archive type, such as ''tar'', ''zip'', etc.)'' 
    192        * compression ''(''gzip'', ''bzip2'', etc.  optional, defaults to autodetection)'' 
    193      * patch ''(optional)'' 
     194       * command 
     195     * unpack 
     196       * type        ''(archive type, such as ''tar'', ''zip'', etc.)'' 
     197       * compression ''(''gzip'', ''bzip2'', ...; defaults to autodetection)'' 
     198       * command 
     199     * patch 
    194200       * ''list of:'' 
    195201         * type     ''(''unified'', ''git'', etc.)'' 
    196202         * uri      ''(location of patch file)'' 
    197          * command  ''(only if ''type'' is ''custom'')'' 
    198203         * reversed ''(defaults to ''false'')'' 
    199      * configure ''(optional)'' 
     204         * command 
     205     * configure 
    200206       * type       ''(''sh'', ''perl5-mm'', ''perl5-build'', ''perl5-configure'', ''nqp'', ''custom'', ...)''  
    201        * command    ''(only if ''type'' is ''custom'')'' 
    202207       * extra_args ''(extra arguments for configure script)'' 
    203      * build ''(optional)'' 
     208       * command 
     209     * build 
    204210       * type       ''(''make'', ''perl5-build'', ''custom'', ...)''  
    205        * command    ''(only if ''type'' is ''custom'')'' 
    206211       * extra_args ''(extra arguments for build tool)'' 
    207      * test ''(optional)'' 
     212       * command 
     213     * test 
    208214       * type       ''(''make'', ''perl5-build'', ''custom'', ...)''  
    209        * command    ''(only if ''type'' is ''custom'')'' 
    210215       * extra_args ''(extra arguments for test harness)'' 
     216       * command 
    211217     * install ''(mandatory)'' 
    212218       * type       ''(''make'', ''perl5-build'', ''custom'', ...)''  
    213        * command    ''(only if ''type'' is ''custom'')'' 
    214219       * extra_args ''(extra arguments for installer)'' 
     220       * command 
    215221     * runtime ''(here for completeness; necessary?)'' 
    216222 * Manifest fields ''(still under discussion; for scriptless installs)'':