Changeset 31431 in project


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

Update henrietta manual

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/henrietta

    r29455 r31431  
    1919         -remote REMOTEADDR       supply remote address on the command-line
    2020    -l   -location LOCATION       install from given location (default: current directory)
    21     -t   -transport TRANSPORT     use given transport instead of default (#{*default-transport*})
    22          -username USER           set username for transports that require this
    23          -password PASS           set password for transports that require this
    2421
    2522{{henrietta}} is intended to be used as a CGI program and takes a query string and
     
    3229; name : specifies the name of the requested extension
    3330; version : specifies what version should be retrieved
     31; release : specifies for what major CHICKEN release we want the extension
    3432; tests : if non-empty, also include test-files in the retrieved data
    3533; list : just list all available extensions
    3634; listversions : list available versions for the extension given in {{name}}
    37 ; mode : run in special mode, which may be {{meta}} or {{default}}.
    38 
    39 {{meta}} mode will only retrieve the {{.meta}} (specification) file,
    40 {{default}} mode will retrieve the complete extension code.
    4135
    4236=== Example CGI Script
     
    4539#!/bin/sh
    4640
    47 # change these to suitable values on your machine:
    48 export HENRIETTA=/home/chicken/henrietta
    49 export EGG_REPOSITORY=https://localhost/svn/chicken-eggs/release/4
    50 export LOGFILE=/home/chicken/henrietta.log
    51 export USERNAME=anonymous
    52 export PASSWORD=
     41# Change these to suitable values for your machine.
     42# The egg repository should be populated by henrietta-cache or something similar
     43export HENRIETTA=/home/chickens/use-this/henrietta/bin/henrietta
     44export EGG_REPOSITORY=/var/cache/henrietta
     45export LOGFILE=/tmp/henrietta-cache.log
    5346
    54 exec "$HENRIETTA" -l "$EGG_REPOSITORY" -t svn -username "$USERNAME" \
    55   -password "$PASSWORD" 2>>"$LOGFILE"
     47exec "$HENRIETTA" -l "$EGG_REPOSITORY" 2>>"$LOGFILE"
    5648</enscript>
    5749
     
    6254=== License
    6355
    64   Copyright (c) 2010, Felix L. Winkelmann
     56  Copyright (c) 2008-2014, The CHICKEN Team
    6557  All rights reserved.
    6658 
     
    8981
    9082=== Version History
     83
     84; 1.0 : Support multiple major releases.  Remove transport support in favor of simpler code to read from local directory by removing dependency on setup-download.  Remove {{mode}} support.
    9185; 0.6 : better egg name checking
    9286; 0.5 : handle {{;}} as query-arg separator
Note: See TracChangeset for help on using the changeset viewer.