chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Packaging eggs


From: Mario Domenech Goulart
Subject: Re: [Chicken-users] Packaging eggs
Date: Mon, 30 Aug 2010 16:33:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

Hi Jim

On Mon, 30 Aug 2010 16:28:11 -0400 Jim Pryor <address@hidden> wrote:

> Re using salmonella / chicken-install to extract the source or metadata:
> I'm only vaguely aware of what's possible here, since as I said I only
> use chicken occasionally. I will look into it more closely when I can.

Extracting information from the .meta files is not very hard.  Here's an
example:

$ chicken-install -r awful
retrieving ...
connecting to host "chicken.kitten-technologies.co.uk", port 80 ...
requesting "/henrietta.cgi?name=awful" ...
reading response ...
HTTP/1.1 200 OK
Date: Mon, 30 Aug 2010 20:33:39 GMT
Server: Apache
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain
reading chunks ...
reading files ...
  ./awful.scm
  ./awful.wiki
  ./awful-server.scm
  ./awful.meta
  ./extra/
  ./extra/awful-debian-init
  ./awful.setup
 awful located at /home/mario/awful

$ csi -p '(alist-ref (quote depends) (with-input-from-file "awful/awful.meta" 
read))'
((spiffy 4.2) (spiffy-request-vars 0.8) html-tags html-utils (http-session 2.0) 
json spiffy-cookies)

Best wishes.
Mario
-- 
http://parenteses.org/mario



reply via email to

[Prev in Thread] Current Thread [Next in Thread]