Summary
chicken-install cache does not know if an egg has tests
Metadata
- Id: d1a518b5f2cc04d8784f77340c925db7df4e4041
- Trac id: 1477
- Type: defect
- Reporter: sjamaan
- Owner:
- Cc:
- Status: closed
- Component: core tools
- Estimated difficulty: easy
- Resolution: fixed
- Priority: major
- Milestone: 5.0
- Version: 5.0.0
- Changetime: 2018-06-21 21:50:08 UTC
- Created: 2018-06-21 10:00:21 UTC
- Keywords: chicken-install, cache
Description
If an egg is already in cache, it will not be downloaded again even if you run `chicken-install -test` later. This means the tests won't be run if you fetched it without tests before (as chicken-install thinks there are no tests).
Example:
$ chicken-install -retrieve bind bind located at /home/peter/.chicken-install/cache/bind $ chicken-install -test bind .... <installs, but no tests are run> ....
Actually, this also happens when retrieving an egg implicitly when you install it for the first time without `-test` and then re-install it with `-test`.
Either we need to somehow record if the egg was retrieved with or without tests, and re-retrieve it if the tests are missing, or simply make `-test` implied when fetching the egg.
Changes and comments
[2018-06-21 21:50:08 UTC] sjamaan changed status from new to closed
[2018-06-21 21:50:08 UTC] sjamaan set resolution to fixed
[2018-06-21 21:50:08 UTC] sjamaan wrote:
Fixed by c571cff