使用Google Cloud Storage的Git大文件存储 [英] Git Large File Storage with Google Cloud Storage

查看:114
本文介绍了使用Google Cloud Storage的Git大文件存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是该项目的一部分,在这里我们使用托管在 Google云源存储库.现在,我们使用 Google云存储来存储原始数据和处理后的数据.

I am part of the project, where we use git repository hosted on google cloud source repository. Right now we use google cloud storage to store raw and processed data.

项目中涉及的每个人都下载数据并将其本地放置在./data -ed版本的./data文件夹中.

Everyone involved in the project downloads the data and places it locally in the ./data folder, which is .gitignore-ed.

我宁愿使用 git LFS ,但是如果数据必须存储在外部某个地方,可能只有GCS.

I would prefer to use git LFS instead, but it is required that if the data has to be stored somewhere externally, it may only be GCS.

是否可以通过git LFS使用指向GCS数据文件的指针(而不是某些其他外部服务器)来配置git LFS,Google Cloud Source Repository和Google Cloud Storage,同时通过帐户身份验证保持Google提供的全面安全性, SSH等?

Is it possible to configure git LFS, Google Cloud Source Repository and Google Cloud Storage, with git LFS using pointers to GCS data files (instead of some other external server), while keeping full security provided by Google, with account authentication, SSH etc.?

推荐答案

我不知道用于GCS的git LFS实现,但是对于S3有一些实现,并且GCS在许多设计用于S3的应用程序中都可以正常工作.可能值得尝试git LFS的S3实现之一,以查看它们是否与GCS一起使用.如果没有,他们可能会被修改为可以相当快地工作.

I don't know of a git LFS implementation for GCS, but there are a few for S3, and GCS works fine with many applications designed for use with S3. It might be worth trying out one of the S3 implementations of git LFS to see if they work with GCS. If not, they could probably be modified to work reasonably quickly.

这篇关于使用Google Cloud Storage的Git大文件存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆