CodeConnect / SourceBrowser

C# in. HTML out.
http://sourcebrowser.io
MIT License
91 stars 22 forks source link

Update existing repo: #122

Closed tommasobertoni closed 3 years ago

tommasobertoni commented 7 years ago

When a user submits a repository that already exists, a page is returned where he can choose if he wants to go to the existing source or force the update.

sourcebrowser_update

Added a new action "Update" (and a View) in the UploadController. Refactored some of the ProcessSolution logic into the UploadRepository class. As suggested in the comments (by Amadeus Wieczorek), added support for multi-solution repository and parallel solution processing.

(Also proposed in issue #114)

JoshVarty commented 7 years ago

Thanks for the contribution!

It's been a long time since we've done anything here, but I'll try to jog my memory and take a look this weekend.

/cc @AmadeusW

tommasobertoni commented 7 years ago

Yes, I noticed the repo's inactivity. Thank you for your time.

I'm actually using SourceBrowser for a project of mine, and I came across the inability to update the previous version that I uploaded, so this is the main functionality that I'd like to see in production.

There is one problem with the multi-solution repository support, though: references of types defined in another solution are not recognized during the processing, therefore you're not able to "click" on a type that is defined in another solution.

Let me know if this PR requires some refactoring to be ready to be merged.