Summary
The retrieve option for chicken-install doesn't work for local transport
Metadata
- Id: b3310f6d3dc3740eb6ee5b9be5ddb388208ce447
- Trac id: 399
- Type: defect
- Reporter: mario
- Owner: felix
- Cc:
- Status: closed
- Component: core tools
- Estimated difficulty:
- Resolution: fixed
- Priority: minor
- Milestone: 4.9.0
- Version: 4.6.x
- Changetime: 2012-09-24 21:47:48 UTC
- Created: 2010-09-25 03:45:18 UTC
- Keywords: chicken-install, retrieve, transport, local
Description
Example:
$ chicken-install -r -t local -l /home/mario/src/chicken-eggs/release/4 html-utils retrieving ... Warning: destination for transport `local' ignored html-utils located at /home/mario/src/chicken-eggs/release/4/html-utils/tags/0.6
This command doesn't actually retrieve the egg code, although
$ chicken-install -r -t svn -l https://code.call-cc.org/svn/chicken-eggs/release/4 html-utils
and
$ chicken-install -r -t http -l http://code.call-cc.org/cgi-bin/henrietta.cgi html-utils
do.
Changes and comments
[2010-09-27 09:22:11 UTC] felix wrote:
This is actually intentional: -r is only defined for network access, on the local file-system, this would be just a glorified `cp -r`. Is there a pressing reason to support this, or is the inconsistency a problem?
[2010-09-28 12:31:12 UTC] mario wrote:
No pressing reason, absolutely.
Let me try to explain what I'm trying to do. I want to make salmonella execute eggs tests (i.e., tests/run.scm). As far as I know, chicken-install doesn't separate the installation and testing steps. That is, if I install an egg and the installation is successful, but tests fail, I suppose chicken-install will report a failure. It would be nice if salmonella could report that the installation step is ok and one or more tests failed.
I was thinking about implementing installation/tests separation by making salmonella install eggs like it currently does, then just retrieve eggs sources, install the test-depends dependencies and run tests/run.scm if it exists (reinstalling eggs wouldn't be necessary).
The retrieve option for local transport would be handy for people who have a checkout of the eggs repo and don't want extra network traffic. salmonella currently requires a local copy of the eggs repo.
[2010-09-29 08:50:05 UTC] felix changed status from new to assigned
[2010-09-29 08:50:05 UTC] felix set owner to felix
[2010-09-30 14:40:50 UTC] felix wrote:
I checked in something in "experimental". Please give it a try and tell me whether it works for you (commit c155b54).
[2010-09-30 15:42:07 UTC] mario changed status from assigned to closed
[2010-09-30 15:42:07 UTC] mario set resolution to fixed
[2010-09-30 15:42:07 UTC] mario wrote:
Seems to work fine. Thank you. I'm closing this ticket.
[2011-06-01 09:00:41 UTC] felix wrote:
Milestone 4.7.0 deleted
[2011-06-01 09:00:41 UTC] felix changed milestone from 4.7.0 to 4.8.0
[2012-09-24 21:47:48 UTC] felix changed milestone from 4.8.0 to 4.9.0
[2012-09-24 21:47:48 UTC] felix wrote:
Milestone 4.8.0 deleted