Conversation
Attempt to workaround recent, frequent failures of the MinGW jobs by installing an internalized Chocolatey package hosted on GitHub.
|
Yes. It requires either a Also, you can try to download the file in your browser. You'll be greeted by a login prompt.
I started with the Chocolatey guide for internalizing packages which uses both Chocolatey ( In case you want to be able to recreate these steps, you'd be in for quite a bit of work. Luckily, the package can in fact be created without these tools, and by using the official This is only relevant if you want to create and host these packages yourself. |
|
Thanks for clarifying. I currently don't plan to host them myself. |
Attempt to workaround recent, frequent failures of the MinGW jobs by installing an internalized Chocolatey package hosted on GitHub.
NuGet package hosted here: https://github.com/falbrechtskirchinger/json/packages/1564692
I've since figured out how to create and upload a package without using Chocolatey and NuGet.
https://community.chocolatey.org/packages/mingw/8.1.0
(Gray download button at the bottom of the left sidebar.)
mingw.8.1.0.nupkg.tools/chocolateyinstall.ps1in an editor.tools/folder.(Don't forget the line defining
$toolsDir.)6) Zip the directory and rename it to
*.nupkg. (Note that not all programs produce a ZIP file that Microsoft's implementation can read. I successfully used my command lineziptool from http://www.info-zip.org/.)7) Upload to nuget.org.
8) The package can now be downloaded from here: https://www.nuget.org/api/v2/package/mingw/8.1.0
Optionally, it might be a good idea to change the package ID.
mingw.nuspec.<id>element value as desired, e.g.nlohmann-json.mingw.*.nuspecfile name has to match. Maybe rename it to the ID, to be safe.