[racket] planet question

From: Jos Koot (jos.koot at gmail.com)
Date: Fri Mar 1 14:04:54 EST 2013

Found a solution:
(parameterize ((current-directory "example"))
 (make-planet-archive "../example")
Weird though that make-planet-archive does not look in the specified
directory. It seems to look in the current directory. The plt-file is stored
in directory "example". In this directory two other directories are made as
well: "compiled" and "planet-docs/examples". Is this expected and correct?
Forgive me my ignorance.
Thanks for the help,


From: Jos Koot [mailto:jos.koot at gmail.com] 
Sent: viernes, 01 de marzo de 2013 19:15
To: 'Robby Findler'
Cc: 'Racket mailing list'
Subject: RE: [racket] planet question

Thanks for attention to my question. I tried your advice and some variations
on this theme, but without luck.


From: Robby Findler [mailto:robby at eecs.northwestern.edu] 
Sent: viernes, 01 de marzo de 2013 14:05
To: Jos Koot
Cc: Racket mailing list
Subject: Re: [racket] planet question

I think you need your info.rkt file to be in the top-level directory (and
then use a relative path to point to your scribble files). 


On Fri, Mar 1, 2013 at 2:53 AM, Jos Koot <jos.koot at gmail.com> wrote:

I finally made scribble doc for my planet-fmt package. However, when trying
to build the package I receive a warning like:

Welcome to DrRacket, version [3m].
Language: racket [custom]; memory limit: 2000 MB.
(#<path:example.rkt> #<path:example.scrbl> #<path:info.rkt>)
MzTarring .\...

Package has no info.rkt file. This means it will not have a description or
documentation on the PLaneT web site.

The following is a very stripped example that gives me this warning:

In directory example:
file make-package.rkt
subdirectory example
In the subdirectory:
file example.rkt
file example.scrbl
file info.rkt

#lang racket
(require planet/util)
(force-package-building? #t)
(build-scribble-docs? #t)
(directory-list "example") ; gives correct list of files.
(make-planet-archive (string->path "example"))
#lang racket
(provide example)
(define (example) 'example)
#lang scribble/manual
@(require "example.rkt" scribble/eval (for-label "example.rkt" racket))
@title{A simple example}
@author{Jacob J. A. Koot}
@(defmodule "example.rkt")
This is @code{example}.
@defproc[(example) 'example]

#lang setup/infotab
(define scribblings (list (list "example.scrbl")))
(define name "example")
(define blurb (list "A simple example"))
(define primary-file "example.rkt")
(define categories (list 'misc))

I run make-package.rkt from DrRacket. File example.plt is prepared, but the
warning appears. What do I wrong? Furthermore, when trying to update my
planet-fmt package after logging in into planet, I get an error message,
something like
Oops, something went wrong ...
No new version is installed.

Help please.
Thanks, Jos

  Racket Users list:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130301/01a4d73e/attachment-0001.html>

Posted on the users mailing list.