chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] 'version' file not being bundled in eggs in Chicken


From: Alejandro Forero Cuervo
Subject: Re: [Chicken-users] 'version' file not being bundled in eggs in Chicken 4?
Date: Thu, 8 Jul 2010 11:39:42 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

> From: Alejandro Forero Cuervo <address@hidden>
> Subject: [Chicken-users] 'version' file not being bundled in eggs in Chicken 
> 4?
> Date: Thu, 8 Jul 2010 01:22:54 +0200
> 
> > I seem to recall that in Chicken 3, when an egg did not contain a
> > 'version' file, one would be created automatically with the current
> > version (based on the name of the subdirectory of the tags directory).
> > Is this functionality gone from Chicken 4?  I just looked at my recent
> > eggs (format-compiler, format-compiler-base and embedded-test) and
> > they don't seem to have this file.  It was convenient to save egg
> > authors from having to redundantly specify the name of the version.
> > Maybe we could reinstante this?
> > 
> 
> Use
> 
>   `(extension-name-and-version)' ==> (<name> <version>)

This wouldn't work.  I'm talking about the setup script, where I used
to do:

  (install-extension 'foo
    ...
    `(...
      (version ,(if (file-exists? "version")
                  (with-input-from-file "version" read)
                  "unknown"))))

This worked in Chicken 3 but in Chicken 4 all my eggs now have version
"unknown".  The advantage of automatically bundling the 'version' file
with the name of the sub-directory of tags was that it removed the
burden of redundantly maintaining this information from the eggs'
authors.

Alejo.
http://azul.freaks-unidos.net/



reply via email to

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