UEGitPlugin
UEGitPlugin copied to clipboard
Additional Window listing all locks with Unlock Button
Hey there,
our team has a lot of annoying little issues with Locks. For example:
- Whenever a user doesn't use UE to commit etc., files aren't being unlocked. Most of us (company) use the Plugin mainly for locking/reverting, but not for committing. The lock then stays and can't be undone in UE anymore, requiring the command line "git lfs unlock
" or even scripts to unlock the files again. - Often reverting assets such as Levels doesn't work at all, as the Levels seem to be permanently loaded (even if changing to a different one) and UE simply doesn't allow reverting them. Discarding changes in Git GUIs like Source Tree won't unlock the lock either.
So all in all, we have a few ways to get stuck on locks that have to be manually unlocked via command line.
There are some third-party programs that list all locks and one could provide scripts to everyone, but overall I wondered if we can't just have a little extra SWidget (maybe even spawned from a button at the bottom right) that shows all Locks, which locked them and a button to unlock them (one by one or even all). With that, one wouldn't need to hope for a Git GUI that finally implements locks correctly, as well as not having to download yet another software.
The Git Plugin already has logic to Get All Locks and to Unlock on Commit, so I assume this is mostly a matter of creating a SWidget that runs those functions. I can have a look at it myself, but it might be a lot faster if someone who already knows the code adds this.
We have been using PBSync to auto unlock unmodified files, I can add this functionality to the plugin too.
Ah, I'm trying not to use too many different programs and scripts, especially for those team members that aren't that good with all the git stuff. Would definitely be awesome to have a list of locks and some unlock feature for it exposed visually in UE (:
I understand, PBSync though is specifically designed to make git easy for artists, it's a workflow tool to support the whole team.
But, I didn't mention it as a recommendation, just providing information. I'll be adding it either way since it'll be necessary for a smooth Unreal native workflow!
I'll have a look at PBSync for our artists, thanks for mentioning it (:
Also, when you do end up adding this, I would be interested in seeing the commit to try and understand how to utilize the Provider stuff for this. Because I have all the knowledge to add Editor Customizations, just not when and how to use the Provider for this.
Same problem( wanted to use plugin in our teams