bgilbert / gcsannex Goto Github PK
View Code? Open in Web Editor NEWgit-annex external special remote for Google Cloud Storage
Home Page: https://pypi.python.org/pypi/gcsannex/
License: GNU General Public License v3.0
git-annex external special remote for Google Cloud Storage
Home Page: https://pypi.python.org/pypi/gcsannex/
License: GNU General Public License v3.0
SignedJwtAssertionCredentials is no longer available from oauth2client
use:
from oauth2client.service_account import ServiceAccountCredentials
get credentials using:
credentials = ServiceAccountCredentials.from_json_keyfile_name( '/path/to/keyfile.json', scopes)
googleapiclient.* is now apiclient.* when installed from pip.
They would need to be split into multiple objects.
Newer versions of google-api-python-client allow you to only pass auth
or http
arguments to the build
function [0]. However gcsannex passes both [1]. This causes git annex enableremote foo
to give an error:
enableremote foo git-annex: Arguments http and credentials are mutually exclusive.
CallStack (from HasCallStack):
error, called at ./Remote/External.hs:127:69 in main:Remote.External
[0] https://github.com/google/google-api-python-client/blob/master/googleapiclient/discovery.py#L335
[1] https://github.com/bgilbert/gcsannex/blob/master/gcsannex.py#L256
Would it be possible to support also the Coldline storage class? This storage class is a good fit for git-annex, being a cheaper version of Nearline (the tradeoff is that object recovery is more expensive, but that is not a big deal when git-annex is used as a write-mostly archive).
The API docs are at https://cloud.google.com/storage/docs/storage-classes#coldline.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.