Open njh opened 10 months ago
@per1234 do you think there is any chance of getting Arduino team to add the Git commit Ids to library_index.json.
So that they don't all need to be looked up again?
Few ideas which are working for me are
etag
, last-updated-at
header, the requests made won't be counted in API quota$tags[key] = []
before fetching. So that if github returns no tag or error (repo not found?), then we won't make request for other versions of same repoI'll push a draft in a day or two to get reviews.
One of the slowest parts / most requests to GitHub is looking up all the Git commit ids for the library versions.