Description
- Gitea version (or commit ref): master (c0a7899)
- Git version: 2.11.0
- Operating system: Ubuntu 17.06 / Debian 9
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes, but it is not exactly the same bug... https://try.gitea.io/testzzx464c/lfs-lock-test
- No
- Not relevant
Description
Hello,
I am testing the new git LFS lock feature and I have some issues.
When I try it on my own machine and server, I have the following error:
$ git push
Username for 'http://localhost:3000': test
Password for 'http://test@localhost:3000':
WARNING: Authentication error: Authentication required: You must have push access to verify locks : User undefined doesn't have rigth to verify for lfs lock [rid: 1]
[...]
$ git lfs locks
Error while retrieving locks: You must have pull access to list locks : User undefined doesn't have rigth to list for lfs lock [rid: 1]
When I try on try.gitea.io, I have no error on push but I cannot get lock info:
$ git lfs lock foo.yy
Lock failed: Repository or object not found: https://try.gitea.io/testzzx464c/lfs-lock-test.git/info/lfs/locks
Check that it exists and that you have proper access to it
I am probably doing it wrong, if someone can tell me where... :)
cc @sapk