From a42c5901d9e2ac85a29fba59d63977bcf9115772 Mon Sep 17 00:00:00 2001 From: Peter Bex Date: Mon, 15 Sep 2014 20:07:30 +0200 Subject: Update pseudo-meta-egg-info to allow for multiple major CHICKEN versions --- README | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'README') diff --git a/README b/README index cc14d53..8343e92 100644 --- a/README +++ b/README @@ -24,8 +24,9 @@ You can use it like this: (use spiffy spiffy-uri-match pseudo-meta-egg-info) ;; Trailing slash is mandatory here! -;; By default this uses the Chicken repo -(egg-repo "http://example.com/your-egg-repo/eggs/release/4/") +;; The {chicken-release} placeholder gets replaced by the major CHICKEN version. +;; By default this uses the Chicken repo. +(egg-repo "http://example.com/your-egg-repo/eggs/release/{chicken-release}/") (vhost-map `((".*" . ,(uri-match/spiffy @@ -34,8 +35,8 @@ You can use it like this: (start-server) -This makes the release-info for egg MY-EGG available under -http://localhost:8080/release-info?egg=MY-EGG +This makes the release-info for the CHICKEN 4 version of egg MY-EGG, available under +http://localhost:8080/release-info?egg=MY-EGG;release=4 -and the files-list for release 1.0 under -http://localhost:8080/files-list?egg=MY-EGG;release=1.0 +and the files-list for release 1.0 for the CHICKEN 5 version of MY-EGG under +http://localhost:8080/files-list?egg=MY-EGG;release=1.0;release=5 -- cgit v1.2.3