Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As title suggests. Support Google Storage, preferably via API 2.0
Comment | File | Size | Author |
---|---|---|---|
#16 | remove-version-requirement-1170110-16.patch | 485 bytes | kaa4ever |
#12 | storage_api-added-google-storage-support-1170110-12.patch | 8.09 KB | kaa4ever |
Comments
Comment #1
jbrown CreditAttribution: jbrown commentedGreat idea!
Comment #2
Rosamunda CreditAttribution: Rosamunda commented+1
Comment #3
jbrown CreditAttribution: jbrown commentedIs there a PHP library?
Comment #4
rodych CreditAttribution: rodych commentedhttp://code.google.com/p/php-google-storage-class/
Comment #5
mr.moses CreditAttribution: mr.moses commentedGoogle Cloud Storage module.
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commented@mr.moses -- Google Cloud Storage would be great, BUT there is no feedback it seems from the developer, it's still in beta, and there's very few sites reporting usage. Not to mention it doesn't seem to work at all, or at least nobody seems to be able to show it as working on a site.
I'm going to be working on adding Google Cloud Storage as an additional service using the PHP class. If I get something working, then I'll definitely post back here.
IF ANYONE has already started working on the above using the google storage class for this module, then PLEASE post progress here. Thanks!
Comment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedShameless bump... ANYone worked on this? I'm starting now. I got pulled into multiple other website projects so this had been pushed back multiple times....
Comment #8
emmonsaz CreditAttribution: emmonsaz commentedShameless bump #2 ... any progress?
Comment #9
Perignon CreditAttribution: Perignon commentedIf this is still valid, let me know and reopen this issue.
Comment #10
shandman CreditAttribution: shandman commentedDefinitely interested in this, we are testing GAE now that it has PHP support and would definitely love to implement with the same storage api functionality that we have now. Especially as Google's Cloud Storage Bucket offers a 5 GB free tier in perpetuity unlike Amazon S3 where the free tier is only for 12 months.
Comment #11
Perignon CreditAttribution: Perignon commentedAlways welcome patches!
Comment #12
kaa4ever CreditAttribution: kaa4ever as a volunteer commentedI've created a patch with basic support for Google Cloud Storage.
Wanting a more dynamic setup at my work, we decided to use Google to store files and DB. I couldn't really get any other modules to work 100%, so i decided to create this patch, 'cause storage API seems nice :-)
The patch is very basic, but is in production, and we havn't had any issues. Then again - we are not having that many user/admin generated files.
Comment #13
Perignon CreditAttribution: Perignon commentedAwesome! Thanks for the patch. I will get it worked in.
Comment #15
Perignon CreditAttribution: Perignon commentedCommitted to dev!
Get some eyeballs on it then we can get to RTBC.
Comment #16
kaa4ever CreditAttribution: kaa4ever as a volunteer commentedI've patched the library hook, to not require any specific version of the library.
When trying to update the Google Storage container, it kept saying wrong library version. Doing the same trick (version => whatever) as the php-cloudfiles library fixed the issue.
Comment #18
Perignon CreditAttribution: Perignon commentedCommitted!
Thanks for following up and the patch/fix. We rely a lot on other people for certain storage services.
Comment #19
shawnrosspeters CreditAttribution: shawnrosspeters at Odin Creative commentedSo does the dev version have support for Google Cloud storage per #17?
https://www.drupal.org/node/1170110#comment-10864340
Comment #20
Perignon CreditAttribution: Perignon commentedYes
Comment #21
Perignon CreditAttribution: Perignon commentedComment #23
Perignon CreditAttribution: Perignon commentedQuick update for followers.
Google has changed their API that requires updates to Storage API service for Google.
I am in the process of doing this.
See:
#2700249: Google Cloud Services no longer uses Google_Auth_AssertionCredentials() uses Google_Client::setAuthConfig instead
This is to eliminate the reliance upon Libraries module:
#2700007: Google Cloud Storage should load API with libraries or another method
Comment #24
Perignon CreditAttribution: Perignon commented