Jump to content

I want to synchronize only the pointer files in the Git LFS.


strvert

Recommended Posts

Hi all,

I am using Gitsync to synchronize my Plastic repositories with Bitbucket's Git remote repositories.

My purpose is to use DevOps infrastructure such as JIRA and Bitbucket pipelines through Bitbucket's Git repositories.
This has generally worked well.
However, the project I am dealing with is huge (Unreal Engine 5 stuff) and Gitsync when there are massive changes is lengthy. Also, of course, LFS puts a strain on Bitbucket and other storage.

My purpose is to work with DevOps infrastructure, so I don't actually need to keep non-code assets on the Git side that are handled by LFS. I only need to be able to manage issues and branches tied to changesets, and the only questions and reviews on Bitbucket are text code files.

When building, Pipeline can order the build server to clone all data, including binary files, from the Plastic repository. The Git repository is a "view" for development.

So, we would like to use Gitsync, but not synchronize LFS binary object files, and hope to send only pointer files tied to the binary files in the Plastic repository to Git. This "pointer file" is supposed to be something like a Git LFS pointer file, but it can be anything as long as it can be mapped.

This would be a one-way sync from Plastic to Git, but I think there are many cases where it would be useful for the Git repository to act as a simple view of the Plastic repository.
 

Is this currently possible?
If not possible, could it be implemented?

Thanks!

Link to comment
Share on other sites

  • 1 month later...

Hi,

 

Right now, the GitSync tool goes through the mapping file for GitLFS and downloads the content from there too to bring it to Plastic and vice versa. But there is a flag to avoid syncing that part. Can you try running the GitSync command from the command line and adding the "--skipgitlfs" flag? Would that be an option?

 

Best,

Héber.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...