Changes between Version 8 and Version 9 of ModuleEcosystem

Show
Ignore:
Timestamp:
09/28/09 06:00:08 (5 years ago)
Author:
japhb
Comment:

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

Legend:

Unmodified
Added
Removed
Modified
  • ModuleEcosystem

    v8 v9  
    182182   * abstract 
    183183   * instructions 
    184      * fetch 
     184     * fetch ''(mandatory)'' 
    185185       * type     ''(mandatory, short name of a VCS or protocol, such as ''svn'', ''git'', or ''http''; or ''custom'')'' 
    186186       * revision ''(optional, defaults to ''HEAD'' equivalent)'' 
     
    188188       * command  ''(only if ''type'' is ''custom'')'' 
    189189       * include_externals ''(fetch externals/submodules; defaults to ''false'')'' 
    190      * patch 
    191        * patches ''list of:'' 
     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       * ''list of:'' 
    192195         * type     ''(''unified'', ''git'', etc.)'' 
    193196         * uri      ''(location of patch file)'' 
    194197         * command  ''(only if ''type'' is ''custom'')'' 
    195198         * reversed ''(defaults to ''false'')'' 
    196      * configure 
     199     * configure ''(optional)'' 
    197200       * type       ''(''sh'', ''perl5-mm'', ''perl5-build'', ''perl5-configure'', ''nqp'', ''custom'', ...)''  
    198201       * command    ''(only if ''type'' is ''custom'')'' 
    199202       * extra_args ''(extra arguments for configure script)'' 
    200      * build 
    201      * test 
    202      * install 
     203     * build ''(optional)'' 
     204       * type       ''(''make'', ''perl5-build'', ''custom'', ...)''  
     205       * command    ''(only if ''type'' is ''custom'')'' 
     206       * extra_args ''(extra arguments for build tool)'' 
     207     * test ''(optional)'' 
     208       * type       ''(''make'', ''perl5-build'', ''custom'', ...)''  
     209       * command    ''(only if ''type'' is ''custom'')'' 
     210       * extra_args ''(extra arguments for test harness)'' 
     211     * install ''(mandatory)'' 
     212       * type       ''(''make'', ''perl5-build'', ''custom'', ...)''  
     213       * command    ''(only if ''type'' is ''custom'')'' 
     214       * extra_args ''(extra arguments for installer)'' 
    203215     * runtime ''(here for completeness; necessary?)'' 
    204216 * Manifest fields ''(still under discussion; for scriptless installs)'': 
     
    217229   * conflicts 
    218230   * requires 
    219      * ''Note: even 'basic' tools such as `make` must be declared as dependencies here -- anything not provided by Parrot and the ecosystem tools directly.'' 
     231     * ''Note: even 'basic' tools such as `make` must be declared as dependencies here -- anything not provided by Parrot and the ecosystem tools directly.  However, you can assume anything installed by Parrot's `make install-dev` is Just There.'' 
     232     * ''All values are arrays of virtual package names, such as `make` (satisfiable with `make`, `gmake`, `nmake`, ...) and `git` (satisfiable with `git`, `git-core`, etc.)'' 
    220233     * fetch 
    221234     * configure