SRombauts / UEGitPlugin

Unreal Engine 5 Git LFS 2 Source Control Plugin (beta)
http://srombauts.github.io/UEGitPlugin
MIT License
810 stars 165 forks source link

Support git annex #1

Closed fire closed 8 years ago

fire commented 10 years ago

Please look into support for git annex.

SRombauts commented 10 years ago

Hi @fire,

I will probably try to support git-annex and git-media that are designed to help solve the problem of big files.

Not sure how well this would integrate with the built-in Editor diff viewer though... I will have to learn those tools, so this will take some time, and it will only come after stabilizing/polishing the git support and the Editor workflow.

Cheers!

saim80 commented 9 years ago

I just want to leave a note regarding this feature. I tried both git-annex and git-media to see how they are get along with Unreal Editor.

git-annex creates a lot of symlinks. This resulted in crash when opening UE4 project after setting up git-annex. My best guess is that UE4 is not really resolving symlink when they access files.

So far, git-media works without making UE4 editor crash. The only downside I found is that, once 'uasset', 'umap' files are added into the project, they aren't really tracked by standard git index. I always had to check media type status with 'git media sync' command. Note that I just tried local disk sync'ing, nothing else, e.g.,. Amazon S3, etc.

Hope this helps.

SRombauts commented 9 years ago

Hi, thank you for your feedback!

Le mar. 17 févr. 2015 07:59, Sangwoo Im notifications@github.com a écrit :

I just want to leave a note regarding this feature. I tried both git-annex and git-media to see how they are get along with Unreal Editor.

git-annex creates a lot of symlinks. This resulted in crash when opening UE4 project after setting up git-annex. My best guess is that UE4 is not really resolving symlink when they access files.

So far, git-media works without making UE4 editor crash. The only downside I found is that, once 'uasset', 'umap' files are added into the project, they aren't really tracked by standard git index. I always had to check media type status with 'git media sync' command. Note that I just tried local disk sync'ing, nothing else, e.g.,. Amazon S3, etc.

Hope this helps.

— Reply to this email directly or view it on GitHub https://github.com/SRombauts/UE4GitPlugin/issues/1#issuecomment-74625318 .

fire commented 9 years ago

On Windows, git-annex creates direct files as far as I know. Are you testing on Linux?

saim80 commented 9 years ago

@fire I'm using a Mac. I think that git-annex works this way for all unix-variant, e.g., linux, BSD, mac, etc.

fire commented 9 years ago

I will bring this to the attention of Epic Games. Perhaps the problem with not resolving symlinks will be resolved in future release of UE4.

fire commented 9 years ago

@saim80 Can you create a stacktrace or a callstack?

saim80 commented 9 years ago

@fire Here's a screenshot of the crash. I could reproduce the issue from 4.7.1.

http://d.pr/i/11ZCc

Reproduce Step:

saim80 commented 9 years ago

@fire I happened to come across this git annex documentation. So, I think this page explains why things didn't crash on Windows. http://git-annex.branchable.com/direct_mode/ I assume using direct mode in Mac environment also will resolve issues with Unreal Editor. I haven't tried because I decided to use Windows for Unreal.

SRombauts commented 8 years ago

Just wanting to report here that Github "LFS" is working flawlessly under Windows :)