Changeset 31434 in project


Ignore:
Timestamp:
09/15/14 20:54:42 (5 years ago)
Author:
sjamaan
Message:

Update "releasing your egg" page to include major chicken release version (not yet required, but it is already accepted now)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/releasing-your-egg

    r31126 r31434  
    4141(repo git "git://example.com/{egg-name}.git")   ; optional
    4242
    43 (uri targz "http://example.com/{egg-name}/releases/{egg-name}-{egg-release}.tar.gz")
     43(uri targz "http://example.com/{egg-name}/releases/{chicken-release}/{egg-name}-{egg-release}.tar.gz")
    4444(release "0.1")
    4545(release "0.2")
     
    5151official releases; 0.1, 0.2 and 1.0.
    5252
    53 The patterns in the URI enclosed in curly braces are seen as substitution
    54 patterns to be replaced by values. egg-name expands to the current egg's name
    55 (which is already known when the release-info file is being fetched) and
    56 egg-release is replaced by the string in each {{release}} declaration.
     53The patterns in the URI enclosed in curly braces are seen as
     54substitution patterns to be replaced by values.  {{egg-name}} expands
     55to the current egg's name (which is already known when the
     56release-info file is being fetched), {{egg-release}} is replaced by
     57the string in each {{release}} declaration.  {{chicken-release}} is
     58replaced by the major CHICKEN version for which the egg is being
     59fetched.  This allows you to supply different packages for each major
     60CHICKEN release.
    5761
    5862The supported types for {{uri}} are currently {{targz}}, {{tarbz2}}, {{zip}},
     
    114118
    115119<enscript highlight="scheme">
    116 (uri meta-file "http://anonymous@code.call-cc.org/svn/chicken-eggs/release/4/{egg-name}/tags/{egg-release}/{egg-name}.meta")
     120(uri meta-file "http://anonymous@code.call-cc.org/svn/chicken-eggs/release/{chicken-release}/{egg-name}/tags/{egg-release}/{egg-name}.meta")
    117121</enscript>
    118122
     
    127131an egg.  It's mostly useful when automatically generating lists of files.
    128132It starts with a base URI and then lists all the files in the egg.
    129 Here's the [[http://code.call-cc.org/files-list?egg=uri-generic;release=1.0|files-list for version 1.0 of the uri-generic egg]]:
     133Here's the [[http://code.call-cc.org/files-list?egg=uri-generic;egg-release=1.0;chicken-release=4|files-list for version 1.0 of the uri-generic egg for CHICKEN 4]]:
    130134
    131135  http://anonymous:@code.call-cc.org/svn/chicken-eggs/release/4/uri-generic/tags/1.0
     
    148152which starts like this:
    149153
    150   (uri files-list "http://code.call-cc.org/files-list?egg={egg-name};release={egg-release}")
     154  (uri files-list "http://code.call-cc.org/files-list?egg={egg-name};egg-release={egg-release};chicken-release={chicken-release}")
    151155  (release "1.0")
    152156  (release "1.1")
     
    544548;; Old repo, using "old-svn-repo" alias
    545549(repo svn "http://anonymous:@code.call-cc.org/svn/chicken-eggs/release/4/{egg-name}")
    546 (uri files-list "http://code.call-cc.org/files-list?egg={egg-name};release={egg-release}" old-svn-repo)
     550(uri files-list "http://code.call-cc.org/files-list?egg={egg-name};egg-release={egg-release};chicken-release={chicken-release}" old-svn-repo)
    547551(release "1.3" old-svn-repo)
    548552(release "1.2" old-svn-repo)
Note: See TracChangeset for help on using the changeset viewer.