Skip to content

git lfs file locking support? #1372

Open
@TomaszSzt

Description

@TomaszSzt

Hi,

First, this is a great product. I was able to set up two instance of server within 1 hour is. It is a great experience compared to a failed attempt to set-up two instances of GitLab. The GitBlit is also so simple to admin!

But...

Can we have git-lfs lock support? Currently it is not supported, I think (v1.8.0). I am getting something like:

D:\x\lfs\lfs>git lfs lock kanji.uni
Lock failed: Repository or object not found: http://---------------:8090/r/lfs.git/info/lfs/locks
Check that it exists and that you have proper access to it

Can we have it done?

I know that locking is not a well viewed for source code edition and I agree with that. But I do currently try to extend the intended use of GIT to store the mechanical drawings and etc and those are non-mergable. So ideally I would be glad to be able to lock files for editing and ensure, that anyone who:

  • checks them out is getting the "read-only-files";
  • attempts to push them is stopped;
  • can inspect the lock status through web interface.

Without this I will be, sadly, forced to start admining the GitLab what would be a pain.

Best regards, Tomasz Sztejka.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions