mantisbt-plugins / source-integration

Source control integration plugin framework for MantisBT, including support for Github, Gitlab, Bitbucket, Gitea, Gitweb, Cgit, Subversion, Mercurial and more
http://noswap.com/projects/source-integration/
MIT License
181 stars 130 forks source link

How to enter an SSH based URL? #394

Closed fkis6902 closed 2 years ago

fkis6902 commented 2 years ago

Hello,

We have a Synology-based GIT server that we want to connect to Mantis. There is no HTTP availability for this solution, only SSH. For example, to add a repository URL in a Visual Studio: ssh://user@company.synology.me/volume1/git/repository.git Can I specify the Source Control generic URL, and if so, how? How is authentication done in this case?

Thank you very much for your reply in advance because I can't find any solution.

Ferenc

dregad commented 2 years ago

The Source Integration plugin is currently not able to deal with a raw Git repository, it only works with some server front-end such as GitHub, Gitlab, etc.

It may be possible to write a VCS plugin that would be able to work with a Git repo over SSH, but I have never considered or analyzed that, and no plans to write one. If you have the resources to develop that, then by all means submit a pull request if you wish to contribute.

Alternatively, you may want to install Gitlab on your Synology - googling gitlab synology yields quite a few results so you may find some answers there