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: Mario Domenech Goulart
Subject: Re: [Chicken-hackers] [PATCH] chicken-status: add -eggs command line option
Date: Fri, 14 Dec 2012 16:39:22 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Hi Felix,

On Fri, 14 Dec 2012 22:07:13 +0100 (CET) Felix <address@hidden> wrote:

>> Currently, chicken-status lists information about extensions. As far as
>> I understand, eggs can contain one or more programs/extensions.  It
>> would be handy if chicken-status could list eggs only, so we could use
>> its output to feed chicken-install, for example.  It can be useful when
>> you update Chicken and want to install all eggs installed for the old
>> Chicken.
>> 
>> Example:
>> 
>>   $ <new-prefix>/bin/chicken-install `<old-prefix>/bin/chicken-status -eggs`
>
> Shouldn't "chicken-install -reinstall" do this?

Actually that was just a use case.  Its main purpose is to list eggs,
AFAIK, we don't have a tool to do that.

Is it possible (and easy) to use -reinstall to install eggs on another
chicken's prefix?  Note that the example above we have different
installation prefixes (<new-prefix> and <old-prefix>).


>> chicken-install only stores versions of extensions in the local repo.
>> It does not store information about egg versions. Thus, this patch does
>> not address egg versions, since chicken-status is unable to determine
>> them.  It simply lists egg names.  Making it list names and versions
>> would be much better, but I don't know an easy way to do that (maybe
>> chicken-install should add an egg-version tag to .setup-info files? Or
>> maybe eggs that install different extension versions should be
>> considered broken?)
>
> Yes, I think they should.

Hmmm. Salmonella could check that.


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



reply via email to

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