New URLs for S3 hosted catalogs
This commit is contained in:
parent
17315f5737
commit
acedb0e02a
|
@ -65,9 +65,8 @@
|
||||||
(url->string
|
(url->string
|
||||||
(struct-copy url (request-uri req)
|
(struct-copy url (request-uri req)
|
||||||
[scheme "http"]
|
[scheme "http"]
|
||||||
;; XXX change these to the real static site
|
[host "pkgs.racket-lang.org"]
|
||||||
[host "localhost"]
|
[port 80]))))
|
||||||
[port 8001]))))
|
|
||||||
|
|
||||||
(define-syntax-rule (define-jsonp/auth (f . pat) . body)
|
(define-syntax-rule (define-jsonp/auth (f . pat) . body)
|
||||||
(define-jsonp
|
(define-jsonp
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
var dynamic_host = "pkg-dyn.racket-lang.org";
|
var dynamic_host = "pkgd.racket-lang.org";
|
||||||
var dynamic_port = 9004;
|
var dynamic_port = 443;
|
||||||
|
|
||||||
function dynamic_url ( u ) {
|
function dynamic_url ( u ) {
|
||||||
return "https://" + dynamic_host + ":" + dynamic_port + u + "?callback=?"; }
|
return "https://" + dynamic_host + ":" + dynamic_port + u + "?callback=?"; }
|
||||||
|
|
|
@ -131,7 +131,7 @@ treated as a explicitly installed package.
|
||||||
|
|
||||||
The PLT @tech{package catalog} at
|
The PLT @tech{package catalog} at
|
||||||
|
|
||||||
@centerline{@url{https://pkg.racket-lang.org}}
|
@centerline{@url{http://pkgs.racket-lang.org}}
|
||||||
|
|
||||||
provides a centralized listing of available Racket packages. The PLT
|
provides a centralized listing of available Racket packages. The PLT
|
||||||
@tech{package catalog} normally will be the first place you check when
|
@tech{package catalog} normally will be the first place you check when
|
||||||
|
@ -423,7 +423,7 @@ by a simple name until it is listed on a @tech{package catalog}.
|
||||||
|
|
||||||
If you'd like to use the PLT @tech{package catalog}, browse
|
If you'd like to use the PLT @tech{package catalog}, browse
|
||||||
to
|
to
|
||||||
@link["https://pkg.racket-lang.org/manage/upload"]{https://pkg.racket-lang.org/manage/upload}
|
@link["http://pkgs.racket-lang.org/manage/upload"]{http://pkgs.racket-lang.org/manage/upload}
|
||||||
and upload a new package. You will need to create an account and log
|
and upload a new package. You will need to create an account and log
|
||||||
in first.
|
in first.
|
||||||
|
|
||||||
|
|
|
@ -239,8 +239,8 @@ URL indicates a remote server, and a @litchar{file://} URL indicates a
|
||||||
local catalog in the form of an SQLite database or a directory tree.
|
local catalog in the form of an SQLite database or a directory tree.
|
||||||
|
|
||||||
PLT supports two @tech{package catalog} servers that are enabled by
|
PLT supports two @tech{package catalog} servers that are enabled by
|
||||||
default: @url{https://pkg.racket-lang.org} for new packages and
|
default: @url{http://pkgs.racket-lang.org} for new packages and
|
||||||
@url{http://planet-compat.racket-lang.org} for automatically
|
@url{http://planet-compats.racket-lang.org} for automatically
|
||||||
generated packages for old @|PLaneT| packages. Anyone may host a
|
generated packages for old @|PLaneT| packages. Anyone may host a
|
||||||
@tech{package catalog}, and any file-serving HTTP host can act
|
@tech{package catalog}, and any file-serving HTTP host can act
|
||||||
as a basic @tech{package catalog} server. See @secref["catalog-protocol"]
|
as a basic @tech{package catalog} server. See @secref["catalog-protocol"]
|
||||||
|
@ -796,7 +796,7 @@ PLT maintains a @tech{package catalog} to serve packages that
|
||||||
were developed using the original @seclink[#:doc '(lib
|
were developed using the original @seclink[#:doc '(lib
|
||||||
"planet/planet.scrbl") "top"]{@|Planet1|} package system. This
|
"planet/planet.scrbl") "top"]{@|Planet1|} package system. This
|
||||||
compatibility catalog is at
|
compatibility catalog is at
|
||||||
@link["http://planet-compat.racket-lang.org/"]{http://planet-compat.racket-lang.org/},
|
@link["http://planet-compats.racket-lang.org/"]{http://planet-compats.racket-lang.org/},
|
||||||
which is included by default in the package-server search path.
|
which is included by default in the package-server search path.
|
||||||
|
|
||||||
Copies of @|Planet1| packages are automatically created by the
|
Copies of @|Planet1| packages are automatically created by the
|
||||||
|
|
|
@ -558,8 +558,8 @@
|
||||||
(define (get-default)
|
(define (get-default)
|
||||||
(match k
|
(match k
|
||||||
['catalogs
|
['catalogs
|
||||||
(list "https://pkg.racket-lang.org"
|
(list "http://pkgs.racket-lang.org"
|
||||||
"http://planet-compat.racket-lang.org")]
|
"http://planet-compats.racket-lang.org")]
|
||||||
['default-scope "user"]
|
['default-scope "user"]
|
||||||
['installation-name (version)]
|
['installation-name (version)]
|
||||||
[_ #f]))
|
[_ #f]))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user