Possible deprecation on othanc-object-storage plugin

Hi there,

I’ve spent a some time trying to build the Google cloud storage version of the cloud storage plugin, following this instructions. In the process I’ve notice two problems:

  • In the docs the use of vcpkg is recommended, to install the google-cloud-cpp library but the required version of the library to make the plugin works is not specified. And the plugin doesn’t work with the latest version of the library (2.1.0).

  • Through trial and error, I realized that the version of google-cloud-cpp supported by the plugin is 0.21.0, released on 04/2020, and I managed to successfully build the plugin. But according to the changelog of google-cloud-cpp, after 2023-07-01 they will drop all support to v1.42.0 and earlier versions.

After that I tried to adapt the plugin to use the version 2.1.0 of google-cloud-cpp but I got stuck on this error:

/usr/bin/ld: CMakeFiles/OrthancGoogleCloudStorage.dir/GoogleStoragePlugin.cpp.o: in function GoogleStoragePluginFactory::CreateStoragePlugin(OrthancPlugins::OrthancConfiguration const&)': GoogleStoragePlugin.cpp:(.text+0x7de): undefined reference to google::cloud::v2_1_0::Status::~Status()’

I tried to solve it, but my C++ skills aren’t enough to solve it.

There are future plans to update this dependency before his deprecation?

Best regards.

Hi,

I know I’ll have to update it some day but this is not currently in the short-term roadmap.

Since you’re spending money on Google when using this plugin, feel free to spend money on the plugin developers too if you want a new feature :wink:

Best regards,

Alain

Hi Alain,

Thanks for the quick reply. What would be the cost of developing this improvement? and how long would it take to develop?.

I need this information send it to my superiors and evaluate the possibility of fund the develop effort.

Best regards

Hi Alain,

Depending on the costs, our company is interested in contributing, paying for the development on your side or updating the plugin (hopefully with your help/guidance).

Best regards,
Rafik

Hi Rafik,

Good to know !

I’ve created this page on Open-Collective such that any company interested can contribute.

Best regards,

Alain.