Less output

This commit is contained in:
Jay McCarthy 2013-10-07 09:16:46 -06:00
parent 1d8be6c9f0
commit 1e5ade627b
3 changed files with 8 additions and 6 deletions

View File

@ -5,4 +5,4 @@ PATH=~/local/new-plt/racket/bin:$PATH
cd ~/local/new-plt/pkgs/plt-services/meta/pkg-index/planet-compat
racket update.rkt
racket static.rkt
s3cmd -c ~/.s3cfg-plt sync --recursive --delete-removed root/cache/ s3://planet-compat/
s3cmd -c ~/.s3cfg-plt sync --recursive --delete-removed root/cache/ s3://planet-compat.racket-lang.org/

View File

@ -41,9 +41,10 @@
(define (cache url file)
(define p (build-path cache-dir file))
(make-directory* (path-only p))
(with-output-to-file p
#:exists 'replace
(λ () ((response-output (dispatch (url->request url))) (current-output-port)))))
(void
(with-output-to-file p
#:exists 'replace
(λ () ((response-output (dispatch (url->request url))) (current-output-port))))))
(cache "/" "index.html")
(cache "/pkgs" "pkgs")

View File

@ -227,8 +227,9 @@
(when-delete?
(delete-file dest))
(unless (file-exists? dest)
(printf "Downloading ~a\n"
pkg-short)
(when #f
(printf "Downloading ~a\n"
pkg-short))
(define pkg-bs
(call/input-url dl-url get-impure-port
(λ (in)