Summary

make-egg-index hides invalid eggs

Metadata

Attachments

Description

There are quite a few eggs (eleven!) which don't show up in the egg index because they either have a category which doesn't occur in the list (ten) or there's an invalid entry in the meta-file (one).

Hiding the problem allows it to go undetected and unfixed, so here's a patch for make-egg-index which makes the ones with an invalid category show up under "Uncategorized or invalid category" (previously just "Uncategorized") and invalid meta-properties are now marked as "Invalid meta-file property 'foo' — please contact this egg's author!".

Because the program didn't work in Chicken 4.7.0 I've updated the code to use the new Irregex API.

Also, IMO it's better to move this script to the chicken-infrastructure repo instead of keeping it bundled with Chicken itself (I don't see any reason to have this script bundled with Chicken; who would want to run it on a private tree?).

Changes and comments

[2011-06-04 17:41:09 UTC] sjamaan attached make-egg-index.patch (description=Don't hide invalid eggs but flag them as invalid in the HTML output)

[2011-06-06 13:08:13 UTC] felix set cc to mario

[2011-06-06 13:08:13 UTC] felix set keywords to make-egg-index

[2011-06-06 13:08:13 UTC] felix removed milestone 4.8.0

[2011-06-06 13:08:13 UTC] felix wrote:

Thanks for the patch. I ave applied it, removed dependencies on "tools.scm" and moved the script to the chicken-infrastructure repo (into `make-egg-index/`).

Mario, is this correct? I have not changed `make-egg-index.sh`, yet.

[2011-06-07 13:23:02 UTC] mario changed status from new to closed

[2011-06-07 13:23:02 UTC] mario set resolution to fixed

[2011-06-07 13:23:02 UTC] mario wrote:

Thanks, Felix and Peter. I've updated make-egg-index.sh and the repo copy at the chicken home. I've also installed 4.7.0 for make-egg-index. It seems to be working fine (I've just run it manually).