php-code-analysis icon indicating copy to clipboard operation
php-code-analysis copied to clipboard

Wrong suggestions when addign a new repo

Open stof opened this issue 13 years ago • 2 comments

When adding a new repo on http://jmsyst.com/automated-code-reviews/repositories/new the autocompletion suggests all repos where I have write access. However, when selecting a repo where I don't have admin rights, it shows an error message and fails to enable the review. The autocompletion should already filter them out instead of suggesting repos which don't work.

stof avatar Oct 21 '12 21:10 stof

I don't think that we can change this for now due to limitations of the GitHub API, but we can keep this open in case they extend their API.

schmittjoh avatar Oct 23 '12 09:10 schmittjoh

Well, AFAIK, travis is able to list only the repositories with admin access.

But anyway, the UI of the review seems to imply that the hook is optional (as you display whether it is activated or no) so it should not fail when it is unable to activate it.

stof avatar Oct 23 '12 12:10 stof