Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a c# library for wrapping multiple SCM provider's APIs?

The project I'm working on requires access to the users source control. To do this we are wrapping the Perforce API and the Subversion API ( using P4.NET and SubversionSharp respectively ).

We would like to support as many as we can depending on user requirements and I've tried googling for an existing library but no luck. Does a C# library that wraps multiple SCM applications exist?

like image 946
dave Avatar asked Oct 14 '22 17:10

dave


2 Answers

You propably search for Microsoft Source Code Control Provider ( MSSCCI ). I know, the Source Safe, Team Foundation Server, Subversion, Evolution, ( and some next others ) source control products has this interface implemented.

like image 188
TcKs Avatar answered Oct 18 '22 13:10

TcKs


MSSCCI would help many source control products to be directly accessible from Visual Studio, but not necessarily usable from .NET code. To my knowledge, there is no .NET library that abstracts access to all the source control products, not even to more than one.

It would be interesting if you could wrap a MSSCCI provider (probably you have to implement some C++ headers) as a .NET assembly.

like image 26
Sergiu Damian Avatar answered Oct 18 '22 14:10

Sergiu Damian