After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 593537 - Upgrade Documents service to version 3.0
Upgrade Documents service to version 3.0
Status: RESOLVED FIXED
Product: libgdata
Classification: Platform
Component: Google Documents service
git master
Other All
: Normal normal
: Drive API
Assigned To: libgdata-maint
libgdata-maint
Depends on: 607270 607272 607616
Blocks: 656970 656971
 
 
Reported: 2009-08-30 10:48 UTC by Philip Withnall
Modified: 2012-04-02 14:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Comment 1 Philip Withnall 2011-12-21 00:04:21 UTC
Also, error handling and exponential backoff is covered here: http://googleappsdeveloper.blogspot.com/2011/12/documents-list-api-best-practices.html
Comment 2 Philip Withnall 2012-04-02 14:35:56 UTC
Finally fixed in master. There are a load of workarounds for bugs in Google's API, but it all seems to work, and without the need for any API breaks! I'm sure there will be some bugs to shake out, though.

Error handling didn't need any changes. Exponential backoff has been punted to bug #673367.

commit 1f847d3e53e4c1a326f7920e1651e5a4573a990f
Author: Philip Withnall <philip@tecnocode.co.uk>
Date:   Mon Apr 2 15:18:21 2012 +0100

    documents: Fix batch operation tests for v3 of the API
    
    Closes: https://bugzilla.gnome.org/show_bug.cgi?id=593537

 gdata/tests/documents.c |   26 ++++++++++++++------------
 1 files changed, 14 insertions(+), 12 deletions(-)

commit c0358261b2c897c8daacab1be58d63a63b9f4394
Author: Philip Withnall <philip@tecnocode.co.uk>
Date:   Mon Apr 2 15:17:42 2012 +0100

    documents: Fix adding to/removing from folders with v3 of the API
    
    Helps: https://bugzilla.gnome.org/show_bug.cgi?id=593537

 gdata/services/documents/gdata-documents-service.c |   21 +++++++++++--------
 1 files changed, 12 insertions(+), 9 deletions(-)

commit c472db8b6cd12c02d4182e4d2f36aa2ae8dcdac2
Author: Philip Withnall <philip@tecnocode.co.uk>
Date:   Fri Oct 28 09:31:24 2011 +0100

    documents: Add basic support for version 3 of the Google Documents API
    
    Support for v3 of the API will replace support for v2, given that v3 is now
    stable and v2 is no longer recommended.
    
    Helps: https://bugzilla.gnome.org/show_bug.cgi?id=593537

 gdata/services/documents/gdata-documents-service.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

commit 3ff70e3824980996b8c0e3b0f1917144783945d0
Author: Philip Withnall <philip@tecnocode.co.uk>
Date:   Sun Nov 6 23:27:43 2011 +0000

    documents: Changes to IDs for v3 support
    
    Helps: https://bugzilla.gnome.org/show_bug.cgi?id=593537

 gdata/services/documents/gdata-documents-entry.c   |   72 ++++++++++++++------
 gdata/services/documents/gdata-documents-service.c |   28 +++-----
 2 files changed, 63 insertions(+), 37 deletions(-)

commit 6c4a2b36627a5ceec91d6979eca61ef27ee3ea1f
Author: Philip Withnall <philip@tecnocode.co.uk>
Date:   Mon Apr 2 15:06:41 2012 +0100

    documents: Update links in the documentation
    
    Google have helpfully moved the GData documentation and not put any redirects
    in place, so we have to update all the links for v3 of the Documents API.
    
    Helps: https://bugzilla.gnome.org/show_bug.cgi?id=593537

 .../services/documents/gdata-documents-document.c  |   10 +++++-----
 gdata/services/documents/gdata-documents-entry.c   |    2 +-
 gdata/services/documents/gdata-documents-folder.c  |    2 +-
 .../documents/gdata-documents-presentation.c       |    2 +-
 .../documents/gdata-documents-presentation.h       |   10 +++++-----
 gdata/services/documents/gdata-documents-query.c   |    2 +-
 gdata/services/documents/gdata-documents-service.c |    2 +-
 .../documents/gdata-documents-spreadsheet.c        |    2 +-
 .../documents/gdata-documents-spreadsheet.h        |   12 ++++++------
 gdata/services/documents/gdata-documents-text.c    |    2 +-
 gdata/services/documents/gdata-documents-text.h    |   16 ++++++++--------
 11 files changed, 31 insertions(+), 31 deletions(-)