msgpack / msgpack-c

MessagePack implementation for C and C++ / msgpack.org[C/C++]
Other
3.03k stars 883 forks source link

Deploy `msgpack-cxx` package to platform-independent package repository #1093

Open mgovers opened 1 year ago

mgovers commented 1 year ago

Issue

Platform- and environment-independently downloading the latest release in automation software is flaky.

Background

In our workflow, we would like to build a Python wrapper around a C library. If possible, we would like to do so within the Python package builder without having to care about any C++ package manager. The user should be able to install the Wheel of the Python package while only depending on other Python packages.

In our ecosystem, we enable the above, by downloading the latest released version of the msgpack-cxx package in automation and scripts via the GitHub API. However, the GitHub API has a rate limit that is very regularly exceeded, resulting in 403 errors (see for example this pipeline). A workaround could be to use the direct HTTPS URL instead of the API, but that also has a rate limit, albeit a bit higher. It would be no more than a temporary fix.

Proposed solution

Push the msgpack-cxx header-only package to multiple package managers for platform- and environment-independent usage.

Describe alternatives you have considered