Summary

henrietta does not obey (files...) from meta

Metadata

Description

Along with the yelp egg source, I checked in three PDFs, just for reference. They are not listed in the egg's meta and yet henrietta is handing them down on egg install:

((egg "yelp.egg")

(synopsis "An interface to the Yelp developer API")
(category web)
(author "[[[derrell|piper]]]")
(license "BSD")
(doc-from-wiki)
(needs json)
(test-depends test)
(files
 "yelp.scm"
 "yelp.setup"
 "tests"))
 .
 .
 .

reading files ...

 ./api-phone.pdf
 ./yelp.scm
 ./api-review-search.pdf
 ./api-neighborhood.pdf
 ./yelp.meta
 ./yelp.setup

I was expecting that henrietta would only download what's listed in the (files...) clause.

Changes and comments

[2009-12-29 17:31:49 UTC] felix wrote:

Henrietta checks out the files directly from svn, the `files` property is currently ignored.

[2010-03-11 10:33:12 UTC] Milestone 4.4.0 deleted

[2010-07-02 12:27:05 UTC] felix changed status from new to closed

[2010-07-02 12:27:05 UTC] felix set resolution to wontfix

[2010-07-02 12:27:05 UTC] felix set milestone to 4.6.0

[2010-07-02 12:27:05 UTC] felix wrote:

I thought some sore about this and I have no good solution in the moment. Since henrietta has to run fast, the operations performed should be absolutely minimal: it already has to access the svn repo twice for each request (in the default case of accessing via subversion) and incorrect or missing files listed in the .meta file would create yet another error-situation to handle (currently there is only "egg missing").

To keep things simple I recommend the following: put additional files and extra documentation into a separate directory, say:

 :
 release/
   :
   4/
     :
     yelp/
       trunk/
       tags/
       doc/      <-- docs
     :

Since only the `trunk` and `tags` directories are processed by tools that access the repository (like henrietta), you are free to add as many extra directories you like.

This is not a perfect solution - in the event of reorganizing the repository layout (see ticket #91) we will be able to put additional material into the `dev` (development) part of the repository, which could hopefully make things somewhat cleaner.

[2011-04-04 08:31:00 UTC] felix removed milestone 4.6.0

[2011-04-04 08:31:00 UTC] felix wrote:

Milestone 4.6.0 deleted