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: Fri, 14 Dec 2012 22:07:13 +0100 (CET)

> 
> 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?

> 
> Attached is a patch to add a -eggs (or -e) command line option to
> chicken-status.

I think you forgot to attach it.

> 
> It is possible (although not usual and probably not recommended) to make
> eggs install multiple extensions with different versions.

Not recommended. Very bad, actually.

> 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.


cheers,
felix



reply via email to

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