Getting started with Eclipse CARE
Install
Basic usage
Authentication
Some checks require an authentication token on GitHub or on Eclipse's GitLab.
Obtaining a token:
On GitHub, go to your personal Settings > Developer Settings > Personal access tokens > Tokens (classic). Click on Generate new token. Select All public repositories.
On GitLab, go to your personal Settings >
Authentication data can be provided in different ways, in order of precedence:
- From environment variables:
GH_AUTH_TOKENorGL_AUTH_TOKEN. - From a custom configuration file provided on command line, with the
-c|--confoption.
The format expected for the configuration file is a classic .ini syntax, e.g.
[GitHub]
gh_token = ghp_xxxxxxxxxxxxxxxxxxxxx
If no authentication is provided, the script will use unauthenticated access. This should work, but rate-limiting constraints will be applied, especially with GitHub.