[racket-dev] experiment reorganizing the repo into packages

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu May 30 11:01:56 EDT 2013

At Thu, 30 May 2013 10:02:29 -0400, Sam Tobin-Hochstadt wrote:
> One question, though: how does this work with the package manager.
> Right now, only repositories can be specified as the source when
> creating a package at pkg.racket-lang.org.  There must be something
> I'm missing about how this will work.

A repository spec is

 github://github.com/<user>/<repository>/<branch-or-tag>/<optional-subpath>

where the <optional-subpath> can be a subdirectory name.

So, if the Scribble repo is github://github.com/plt/scribble, then

 scribble-lib
   => github://github.com/plt/scribble/master/scribble-lib
 scribble-docs
   => github://github.com/plt/scribble/master/scribble-docs
 scribble
   => github://github.com/plt/scribble/master/scribble

should work.

That does add yet another directory layer if we try to make the
"scribble" repo a submodule of another repo, though.


Posted on the dev mailing list.