On Tue, 19 Mar 2013 07:33:29 +0100, Sönke Ludwig wrote:

That connection basically exists only in the registry implementation.
Dub just downloads a zip file from there with the contents of the
package. From where that file comes is, as far as Dub is concerned,
completely irrelevant. So uploading of custom zip packages would be an
option, or adding support for (public) sub-packages in a repository one
way or another.

Also, a valid registry can just be a public folder of files (one index
file with a list of all packages and a JSON description + a zip file per
package and per version).

Ok, I see.