RepoSense
RepoSense copied to clipboard
User trying to run RepoSense with private repos
A user is trying to run RepoSense with private repos. He has tried running it against GitHub and against a local copy of the private repo, but failing in both. I'm waiting for more info from the user. Meanwhile, should the above be possible with the current release version? Can do a trial to confirm?
@reposense/21-22-active-developer @reposense/stage-1-active-reviewer any ideas?
Private repos on github is currently impossible since no option to give github personal access token with correct permissions.
Local private repos are ok (tested to work on windows), there's already an example here:
However since the path shown is windows so not sure if it works on mac or linux, and I can't test.
Thanks for checking @gerhean Will update here if I receive further info.
I'm running RepoSense locally from the Java executable, so even if the repo is private, as long as git on my CLI can access the repo it should be fine yah? I'm using SSH key for Github authentication which is transparent to git.
(Windows) Confirmed that it can analyze online private repo if you can already access them from command line with git commands (or that running git ls-remote https://github.com/username/reponame
shows that the repo can be accessed).
This specific problem (with the local repos) could be due to #1546 Waiting for confirmation from @leongwaikay
I believe we can close this issue as the investigation some time back. Reposense works if users already have access to the repo via their own git commands.