Adding modules to GalleryServer

Topics: Customizing Orchard, General
Jun 20, 2013 at 7:19 AM
I realise it's not currently under development, but I downloaded the source, got it hosted on IIS, can browse to http://localhost:85/FeedService.svc and all looks good. Problem is I can't find much documentation on how to push modules into it.

I tried using nuget:
C:\inetpub\wwwroot\Gallery>nuget push Orchard.Module.Contrib.Profile-1.1.nupkg -s http://localhost:85/FeedService.svc

WARNING: No API Key was provided and no API Key could be found for 'http://local
host:85/FeedService.svc'. To save an API Key for a source use the 'setApiKey' co
mmand.
Pushing Orchard.Module.Contrib.Profile 1.1 to 'http://localhost:85/FeedService.s
vc'...
Please provide credentials for: http://localhost:85/FeedService.svc/
UserName:
Username? I've got Anonymous Authentication enabled!

Clues anyone?
Jun 21, 2013 at 12:48 AM
Edited Jun 21, 2013 at 12:49 AM
Would I be better off just setting up my own custom nuget feed instead of trying to get this to work? I'd hoped to use the Gallery functionality in the admin page.
Jun 21, 2013 at 3:01 AM
OK, I set up my own nuget feed like this:

http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds

This is working just fine and I can add modules via the VS Library Package Manager, but it's not a proper gallery feed. Is there a way I can simply point Orchard to this feed?
Jun 21, 2013 at 7:50 AM
Oh I see, the Orchard schema is:
<service xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns="http://www.w3.org/2007/app" xml:base="http://localhost:85/FeedService.svc/">
<workspace>
<atom:title>Default</atom:title>
<collection href="Packages">
<atom:title>Packages</atom:title>
</collection>
<collection href="Screenshots">
<atom:title>Screenshots</atom:title>
</collection>
</workspace>
</service>
But the Nuget one doesn't have Screenshots and causes Orchard to fall over in GetExtensionListFromSource.PackagingSourceManager when it goes looking for them.