RepoSense icon indicating copy to clipboard operation
RepoSense copied to clipboard

Implement a way for users to manually add support for other remote repo domains

Open chan-j-d opened this issue 2 years ago • 0 comments

What feature(s) would you like to see in RepoSense? Implement a way for users to manually add support for other remote repo host domains besides GitHub, GitLab, BitBucket.

Is the feature request related to a problem? Currently, only links from the above 3 domains are supported. If a user would like to generate a fully functioning report for a repo hosted on a different domain, there is currently no way to do it.

If possible, describe the solution Create a JSON file that users can specify the appropriate URL templates for domain, repo, commit, blame, etc. This JSON file can be added to the config folder and parsed at the start of execution. This adds the new supported domains to the generated report and will allow the links to be clickable.

Additional context I have set the priority to zero as I do not think there is currently a huge demand for a fully functioning report containing links to other types of domains. This issue is meant to document a possible way to support such a feature should RepoSense get more popular in the future. The idea comes from the discussion in https://github.com/reposense/RepoSense/pull/1644#pullrequestreview-915123782.

chan-j-d avatar Mar 31 '22 18:03 chan-j-d