I need to write a .NET/C# component that monitors a remote GIT stash repository/project for updates since the last pull so that I can perform some actions relating to modified/added/removed files from the resultant pull. I have done this before with perforce using its .NET API (P4API.NET) for example.
The API in the link below has certain functionality using JSON restful API - but it doe not appear to have functionality for cloning/push/pull etc.
https://github.com/jlouros/StashApiCSharp
Has anyone out there come across this problem and any idea what is the best way forward
Community moderators have prevented the ability to post new answers.
For the Git functionality, you will need a Git library, e.g. this one.
(Your best option in general would probably be to write a post-receive hook plugin for Stash in Java instead.)
I downloaded that API last week but have not looked at it in detail - may be able to use libgit2Sharp
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.