pseudo-meta-egg-info /

Filename Size Date modified Message
186 B
1.1 KB
423 B
167 B
4.1 KB
100 B
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.

It assumes the svn repository location contains subdirectories
matching the names of eggs and those subdirectories contain a
directory called "tags" with underneath it a directory for each
revision, with the revision number as its name:

 /MY-EGG
   /tags
     /1.0
     /1.1
 /ANOTHER-EGG
   /tags
     /0.1
     /0.2
     /1.0


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)


This makes the release-info for egg MY-EGG available under
http://localhost:8080/release-info?egg=MY-EGG

and the files-list for release 1.0 under
http://localhost:8080/files-list?egg=MY-EGG;release=1.0
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.