Closed spalger closed 4 years ago
Sure thing, I'll send another PR
I reorganized the project by splitting off the artifact caching utilities to their own repositories. See 1.15.3. Please verify if this change works for you and didn't break anything.
Nice, I'll give it a shot tomorrow
Thanks again, works great :)
In our CI the re2 download failed for a while last night, which is a phenomenon we observe on a fairly regular basis with packages that download assets in their post install step from public urls. We prevent this from failing our CI by mirroring downloads within our CI environment. To do this we override download URLs for a number of packages which support this using environment variables:
These URLs are static and point to a prefix where the different packages will request the assets they seek to download, and we don't experience the same random failures we do when using public urls.
It would be great if node-re2 supported this as well, so I've added a check for the
RE2_DOWNLOAD_MIRROR
environment variable, and when it's defined it will override thehttps://github.com
part of the download URL.