aboutsummaryrefslogtreecommitdiff
path: root/README
blob: 51f6e21e478aaf03ed88fbfbd89326752aafe520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
This is a really hacky plugin for spiffy that allows you to serve
automatically-generated release-info files and files-list files
(the latter of which serves as the files section of a meta-file)
for an SVN repository.

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/")

(vhost-map `((".*" 
              . ,(uri-match/spiffy
                  `(((/ "release-info") (GET ,release-info))
                    ((/ "files-list")   (GET ,files-list)))))))
(start-server)