chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] chicken-status: add -eggs command line opt


From: Felix
Subject: Re: [Chicken-hackers] [PATCH] chicken-status: add -eggs command line option
Date: Sat, 15 Dec 2012 20:43:02 +0100 (CET)

>>
>> I think I'm probably missing something.
> 
> Maybe _I_ am missing something. :-)

Perhaps we both are.

> 
> The thing is that chicken-status currently list extensions, not eggs.

Right. 

> 
> Here's an example:
> 
>   $ chicken-install utf8
>   $ chicken-status utf
>   utf8 .................................................. version: 3.3.6
>   utf8-case-map ..........................................version: 3.3.6
>   utf8-lolevel .......................................... version: 3.3.6
>   utf8-srfi-13 ...........................................version: 3.3.6
>   utf8-srfi-14 .......................................... version: 3.3.6
> 
> The only egg in that list is utf8.  All the other utf8-* things are
> _extensions_ installed by the utf8 egg.

Right. I think the "-list" option should be changed - it is incorrect.
Therefore "-list" and "-eggs" are equivalent, only the "-list"
produces output in "override" format and "-eggs" just gives a simple
list, without versions. Reinstallation of all eggs would then be:

  chicken-install `chicken-status -eggs`   # probably with alternate prefix

(This is of course equivalent to "chicken-install -reinstall")

And reinstallation with exactly the same versions:

  chicken-status -list >override.out
  chicken-install `chicken-status -eggs` -override override.out

A mouthful... Or is there a better way?


cheers,
felix



reply via email to

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