[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] chicken-status: add -eggs command line option
From: |
Mario Domenech Goulart |
Subject: |
[Chicken-hackers] [PATCH] chicken-status: add -eggs command line option |
Date: |
Fri, 14 Dec 2012 12:26:15 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Hi,
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`
Attached is a patch to add a -eggs (or -e) command line option to
chicken-status.
It is possible (although not usual and probably not recommended) to make
eggs install multiple extensions with different versions.
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?)
Best wishes.
Mario
--
http://parenteses.org/mario
0001-chicken-status-add-eggs-command-line-option.patch
Description: Text Data
- [Chicken-hackers] [PATCH] chicken-status: add -eggs command line option,
Mario Domenech Goulart <=
- Re: [Chicken-hackers] [PATCH] chicken-status: add -eggs command line option, Felix, 2012/12/14
- Re: [Chicken-hackers] [PATCH] chicken-status: add -eggs command line option, Felix, 2012/12/14
- Re: [Chicken-hackers] [PATCH] chicken-status: add -eggs command line option, Mario Domenech Goulart, 2012/12/14
- Re: [Chicken-hackers] [PATCH] chicken-status: add -eggs command line option, Felix, 2012/12/15
- Re: [Chicken-hackers] [PATCH] chicken-status: add -eggs command line option, Mario Domenech Goulart, 2012/12/15
- Re: [Chicken-hackers] [PATCH] chicken-status: add -eggs command line option, Felix, 2012/12/15
- Re: [Chicken-hackers] [PATCH] chicken-status: add -eggs command line option, Felix, 2012/12/18
- Re: [Chicken-hackers] [PATCH] chicken-status: add -eggs command line option, Peter Bex, 2012/12/19
- Re: [Chicken-hackers] [PATCH] chicken-status: add -eggs command line option, Felix, 2012/12/19
- Re: [Chicken-hackers] [PATCH] chicken-status: add -eggs command line option, Felix, 2012/12/22