Summary
chicken-install's -keep-installed and -prefix/-deploy options don't play nicely together
Metadata
- Id: 9de71bf18abe3804e2237500ce0cba8b881764e1
- Trac id: 1144
- Type: enhancement
- Reporter: evhan
- Owner:
- Cc:
- Status: closed
- Component: core tools
- Estimated difficulty: medium
- Resolution: fixed
- Priority: minor
- Milestone: 4.12.0
- Version: 4.9.x
- Changetime: 2017-01-17 04:47:15 UTC
- Created: 2014-07-30 21:19:27 UTC
- Keywords: chicken-install, extensions
Description
It would be ideal if the -keep-installed option to chicken-install respected -prefix/-deploy.
Currently, -keep-installed only considers eggs in the "normal" repository to be installed, regardless of whether it's given a -prefix argument. So, any eggs already installed there will be skipped (incorrectly) on chicken-install -deploy -prefix foo ..., and any eggs not installed there will be fetched and reinstalled under foo/ on each invocation.
I think the options should respect one another, so that the following commands should result in the egg foo being downloaded and installed once, whether or not it's already installed in the normal repository:
$ chicken-install -deploy -prefix bar -keep-installed foo # ... should download and install foo $ chicken-install -deploy -prefix bar -keep-installed foo # ... should do nothing
Changes and comments
[2014-07-30 21:20:07 UTC] evhan changed priority from major to minor
[2016-02-20 13:28:43 UTC] sjamaan changed milestone from someday to 4.12.0
[2016-02-20 13:28:43 UTC] sjamaan wrote:
Strangely this wasn't addressed by 24b0ce85ca5cb8881155d4a9834a4b036d1701da / c24fcb6f525fa795afeaaf0a94f587518c0ae2e1 but the fix should look a lot like those.
[2016-08-25 21:46:51 UTC] sjamaan set difficulty to medium
[2017-01-17 04:47:15 UTC] evhan changed status from new to closed
[2017-01-17 04:47:15 UTC] evhan set resolution to fixed
[2017-01-17 04:47:15 UTC] evhan wrote:
Fixed for 4.11.2 by 936b17f9.