You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
Describe the bug
Precaution currently only supports scanning Python and Go, with JavaScript coming soon. However, Precaution has no reason to be installed to repos that use only languages Precaution doesn't support. For example, if the repo uses only Java, there currently is no point to installing Precaution.
We need some kind of compatibility check prior to adding our App to a repo. There is a way to determine the languages for a repo using this API.
Describe the bug
Precaution currently only supports scanning Python and Go, with JavaScript coming soon. However, Precaution has no reason to be installed to repos that use only languages Precaution doesn't support. For example, if the repo uses only Java, there currently is no point to installing Precaution.
We need some kind of compatibility check prior to adding our App to a repo. There is a way to determine the languages for a repo using this API.
https://developer.github.com/v3/repos/#list-languages
But I don't know whether we can tell GitHub to abort installation if the repo doesn't meet our requirements.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Shouldn't install Precaution on repos unsupported by it.
Screenshots
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered: