racket/collects/planet/config.ss
Jacob Matthews d5ded0000d Added environment variable PLTPLANETDIR to control where planet saves stuff
in order to support multiple installations with different planet caches
(as per dherman's request)

svn: r735
2005-09-01 19:20:57 +00:00

21 lines
873 B
Scheme

(module config mzscheme
(require "private/planet-shared.ss")
(define-parameters
(PLANET-SERVER-NAME "planet.plt-scheme.org")
(PLANET-SERVER-PORT 270)
(PLANET-CODE-VERSION "300")
(PLANET-DIR (if (getenv "PLTPLANETDIR")
(string->path (getenv "PLTPLANETDIR"))
(build-path (find-system-path 'addon-dir) "planet" (PLANET-CODE-VERSION))))
(CACHE-DIR (build-path (PLANET-DIR) "cache"))
(LINKAGE-FILE (build-path (PLANET-DIR) "LINKAGE"))
(LOGGING-ENABLED? #t)
(LOG-FILE (build-path (PLANET-DIR) "INSTALL-LOG"))
(DEFAULT-PACKAGE-LANGUAGE (version))
(USE-HTTP-DOWNLOADS? #t)
(HTTP-DOWNLOAD-SERVLET-URL "http://planet.plt-scheme.org/servlets/planet-servlet.ss")))