Opened 6 years ago
Closed 6 years ago
#1477 closed defect (fixed)
chicken-install cache does not know if an egg has tests
Reported by: | sjamaan | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 5.0 |
Component: | core tools | Version: | 5.0.0 |
Keywords: | chicken-install, cache | Cc: | |
Estimated difficulty: | easy |
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.
Note: See
TracTickets for help on using
tickets.
Fixed by c571cff