Git Product home page Git Product logo

Comments (4)

aiuto avatar aiuto commented on May 5, 2024

The opinions expressed here are my own, not necessarily Google's

The project is not quite dead, but it is in ultra-low support mode. Almost concurrently with the release of the C++ libraries for Google APIs, the team supporting libraries for Google APIs was retasked to some next generation goodness. Since there were very few users of the C++ libraries at that time, official support was destaffed (Java and Objective-C more or less continue). Thus no one has really been maintaining this repo.

That said, there are some internal users in Google who have an investment in this library and have been maintaining it for the last year. I am one of those users and have been doing minor corrections as needed. Not all of the changes have been pushed back to this repository. Now that I recently see more activity, it may become the charitable thing to do.

But bear in mind that my day job involves shipping product that uses the SDK, not developing the SDK itself, so any changes will be constrained in a few ways.

  • I treat our internal code base as truth and push out. That means before I approve a change request in this repository I must verify the corresponding change in our internal copy. I don't have a lot of cycles for that, so I will tend to batch up a bunch of fixes and do them at once.
  • I assume the users of this SDK are professionals. They don't need a great instant demo experience. Thus I am devoting no cycles to cleaning up the install scripts like prepare_dependencies.py. A list of prerequisites should be sufficient. How you get those and build them should be your choice.
  • There is no support in this list for individual APIs. Find the right support list on developers.google.com and ask there. Before asking make sure you are using a fresh library generated for the most current revision of the API.

Pro Tip: You can see a rough guide of all the APIs available on this page.
http://google.github.io/google-api-cpp-client/latest/available_service_apis.html
But the list is statically maintained and might not reflect what is truly available. For a full list of all versions of all public Google APIs, see https://www.googleapis.com/discovery/v1/apis
That will get you a blob of JSON, but it is pretty easy to read. Once you pick a version, you can always get the freshest library from the generation service. For example, the available_service_apis page has a link for taskqueue:
https://developers.google.com/resources/api-libraries/download/taskqueue/v1beta2/cpp
The astute developer might notice that they could substitute any API and version into the penultimate two parts of the URL and have a download link for APIs (or versions) not mentioned on that page. Since an API may add new methods or data members without changing a major version, it is good practice to periodically pull a new version to see if anything new got added.

  • Likewise, there is no budget for improving the doc set. The pages at http://google.github.io/google-api-cpp-client/latest are probably at the last state they will ever be in. If the community of external users wants to improve or maintain them, then send changes.

I have talked about the minimal level of undead-ness we are operating in right now. I'll discuss potential futures in another thread.

from google-api-cpp-client.

aiuto avatar aiuto commented on May 5, 2024

Update on deadness of the project. I just pushed up two years worth of fixes. The summary is:

  • all work is now done in the master branch. tags and other branches are for historical use
  • aggressive moving to C++ 11 features (e.g. std::unique_ptr rather than scoped_ptr)

The next major changes you are likely to see are efforts to eliminate any arbitrary differences between the code Google uses internally and the public version. That will mostly be in the file tree layout and the namespaces used for methods. When namespace changes happen, they will be coordinated with library generator changes.

from google-api-cpp-client.

hemantbhatnagar avatar hemantbhatnagar commented on May 5, 2024

Hi All,

I am able to prepare the dependency successful after making some changes but i am stuck at following error on ubuntu / gcc 4.8
hemant@Hemant-D:~/oauth/google-api-cpp-client-master/build$ make all
[ 7%] Built target googleapis_internal
Scanning dependencies of target googleapis_gtest_main
[ 8%] Building CXX object src/googleapis/client/CMakeFiles/googleapis_gtest_main.dir/util/test/googleapis_gtest_main.cc.o
In file included from /home/hemant/oauth/google-api-cpp-client-master/src/googleapis/client/util/test/googleapis_gtest_main.cc:31:0:
/home/hemant/oauth/google-api-cpp-client-master/src/googleapis/client/util/test/googleapis_gtest.h:28:25: fatal error: gtest/gtest.h: No such file or directory
#include <gtest/gtest.h>
^
compilation terminated.
make[2]: *** [src/googleapis/client/CMakeFiles/googleapis_gtest_main.dir/util/test/googleapis_gtest_main.cc.o] Error 1
make[1]: *** [src/googleapis/client/CMakeFiles/googleapis_gtest_main.dir/all] Error 2

Any help is appreciated.

Also can this project can be used as generic oauth client for any other service like facebook twitter etc.

Regards,
Hemant

from google-api-cpp-client.

aiuto avatar aiuto commented on May 5, 2024

That looks like you have not installed googletest or don't have your CMake files pointing to it. https://code.google.com/p/googletest/

from google-api-cpp-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.