Hi datalads,
Another datalad question. Currently there is no good way to add google cloud as a special remote to git annex. If you want to use this service, you must utilize their CLI (gsutil/gcloud).
I wrote a wrapper for their CLI that allows a user to specify a remote bucket/project; i.e)
git push -o GCS_BUCKET=‘gs://BUCKETNAME’ origin master
Where the origin is a central bare repository with hooks for synchronizing to google cloud buckets.
Is there any way to pass this option to datalad publish? I noticed it only takes git-annex opts, which do not support push opts (as far as I am aware of in my limited understanding).
More info on hooks here: https://github.com/seldamat/gcp-hooks