Open adilGhaffarDev opened 7 months ago
@adilGhaffarDev: This request has been marked as suitable for new contributors.
Please ensure the request meets the requirements listed here.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue
command.
/triage accepted
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues will close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
/remove-lifecycle stale
/remove-lifecycle stale
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues will close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
/remove-lifecycle stale
/assign @peppi-lotta
Problem
Here: https://github.com/metal3-io/metal3-dev-env/blob/04b45cd49bf52e81f1db8d241ff51a5791c6f344/lib/releases.sh#L3 We are using git api to get the latest releases, if git API is used multiple times without
GITHUB_TOKEN
we start getting following error:rate limit for github api has been reached. Please wait one hour or get a personal API token and assign it to the GITHUB_TOKEN environment variable
Solution
Instead of using git APIs we should use GOPROXY. In this way we will not need
GITHUB_TOKEN
and we will also get rid of rate limit error.Below are GOPROXY links that list out all releases:
Write a function that get latest release from GOPROXY links and use that to get latest releases
/good-first-issue