Azure / azure-storage-cpp

Microsoft Azure Storage Client Library for C++
http://azure.github.io/azure-storage-cpp
Apache License 2.0
132 stars 147 forks source link

PPA for Ubuntu for azure-storage-cpp #316

Open gri6507 opened 4 years ago

gri6507 commented 4 years ago

Unless I am missing something, there currently isn't a PPA for installing azure-storage-cpp on Ubuntu. This would be ideal for ease of development against this library.

On a related note, the current v7.0.0 of azure-storage-cpp requires v2.10.14 of cpprestsdk. However, Ubuntu 18.04 bionic universe currently provides v2.10.2 of libcpprest which is not compatible. It would be great if Microsoft's PPA would also include the correct version of libcpprest

Jinming-Hu commented 4 years ago

Hi @gri6507 , since dependency cpprestsdk 2.10.14 isn't available via apt-get on ubuntu, we cannot release v7.0.0 either. So currently, you can install via vcpkg or build from source.

gri6507 commented 4 years ago

@JinmingHu-MSFT Thank you for the reply. Ubuntu 18.04 is an LTS (long term support) release. As such, once released, its packages only get bug fixes, not version updates. According to https://packages.ubuntu.com/search?keywords=libcpprest&searchon=names&suite=all&section=all Ubuntu 18.04 (aka Bionic) was released with libcpprest version 2.10.2. Since the development window for Ubuntu 18.04 is long gone, new versions of libcpprest will never make it into that version of Ubuntu. Another way of showing that, as you can see on the same page, the later eoan and focal versions of Ubuntu have libcpprest version 2.10.14

Since Microsoft chose to use Ubuntu 16.04 and 18.04 as their Linux development platforms of choice for IoT Edge, I am stuck using the older version of Ubuntu. However, this should not be a deterrent for either cpprestsdk developers nor azure-storage-cpp developers at Microsoft from creating their own PPA to house whichever version (or multiple versions if they so chose) on Microsoft's own server. In other words, these Microsoft teams can take back control of their Ubuntu destiny. This is, in fact, the approach that the IoT Edge Microsoft development team took (see https://docs.microsoft.com/en-us/azure/iot-edge/how-to-install-iot-edge-linux for example).

Would it be possible for cpprestsdk and azure-storage-cpp developers at Microsoft to contact IoT Edge developers at Microsoft and follow a similar package distribution scheme?