Skip to content

Commit

Permalink
Namespaces and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sverrirs committed May 20, 2017
1 parent 90711d5 commit 1a74708
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 24 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Ultra simple self-hosted extension gallery for Visual Studio 2010 and newer.

Offering a single click deployment and super easy configuration this solution offers a fully featured solution for the Extension Gallery feature available in Visual Studio.

<p align="center">
<img src="https://raw.githubusercontent.com/sverrirs/vsgallery/master/img/extension-manager-01.png" />
</p
## Features
* Single self-contained executable. Execute it and you're up and running in seconds!
Expand All @@ -28,12 +32,12 @@ The `.vsix` files, download and ratings data are stored in a subfolder of the ma
## End-points
### GET **/feeds/atom.xml**
### [GET] /feeds/atom.xml
This is the main entry point for the feed and serves up the Syndicate-Feed compatible Atom file containing all available extensions on the server. This URL should be used in Visual Studio.
See [How to install into Visual Studio](#howtoinstall) for more information.
### GET **/ratings/{vsix_id}**
### [GET] /ratings/{vsix_id}
Retrieves the rating value and vote count for a particular VSIX package by its ID. The return type is JSON.
Example return
Expand All @@ -45,13 +49,13 @@ Example return
}
```
### POST/PUT **/ratings/{vsix_id}**
### [POST/PUT] /ratings/{vsix_id}
Submitting rating values for a particular VSIX package by its ID. The post payload should be just raw string and contain a single floating point number on the range between [0,5].
### GET **/json**
### [GET] /json
JSON feed for the entire package catalog. Same data that is being fed through the atom feed but just in a handier JSON format.
### POST/PUT **/upload***
### [POST/PUT] /upload
_Not currently implemented_
This endpoint will handle uploads of .vsix files to the hosting service.
Expand Down
Binary file added img/extension-manager-01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 4 additions & 5 deletions vsgallery/VsixFeed/VsixFeedBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
using System.ServiceModel.Syndication;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
using VISXPrivateGallery.FileHelpers;
using VISXPrivateGallery.Threading;
using VISXPrivateGallery.Vsix;
using vsgallery.FileHelpers;
using vsgallery.Threading;
using vsgallery.Vsix;

namespace VISXPrivateGallery.VsixFeed
namespace vsgallery.VsixFeed
{
public class VsixFeedBuilderResults
{
Expand Down
7 changes: 1 addition & 6 deletions vsgallery/VsixFeed/VsixStorageWatcher.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VISXPrivateGallery.VsixFeed
namespace vsgallery.VsixFeed
{
/// <summary>
/// Responsible for watching the VSIX storage directory for changes and re-generating the feed file
Expand Down
10 changes: 2 additions & 8 deletions vsgallery/Webserver/SelfHost.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IniParser.Model;
using Nancy.Hosting.Self;
using VISXPrivateGallery.Vsix;
using VISXPrivateGallery.VsixFeed;
using vsgallery.VsixFeed;

namespace VISXPrivateGallery.Webserver
namespace vsgallery.Webserver
{
public class SelfHost
{
Expand Down

0 comments on commit 1a74708

Please sign in to comment.