]> source.dussan.org Git - gitea.git/commit
Add basic repository lfs management (#7199)
authorzeripath <art27@cantab.net>
Mon, 28 Oct 2019 18:31:55 +0000 (18:31 +0000)
committerGitHub <noreply@github.com>
Mon, 28 Oct 2019 18:31:55 +0000 (18:31 +0000)
commit5e6a008fba9a85c9a5319d93c1e52e183211a342
tree1da9197537ea37a338838b52e479697f44a046ea
parentaf8957bc4ce78613fe03cb1abc6c961dd67ff344
Add basic repository lfs management (#7199)

This PR adds basic repository LFS management UI including the ability to find all possible pointers within the repository. Locks are not managed at present but would be addable through some simple additions.

* Add basic repository lfs management
* add auto-associate function
* Add functionality to find commits with this lfs file
* Add link to find commits on the lfs file view
* Adjust commit view to state the likely branch causing the commit
* Only read Oid from database
20 files changed:
models/lfs.go
models/repo_list.go
modules/git/pipeline/catfile.go [new file with mode: 0644]
modules/git/pipeline/namerev.go [new file with mode: 0644]
modules/git/pipeline/revlist.go [new file with mode: 0644]
modules/git/repo.go
modules/lfs/server.go
modules/repofiles/update.go
modules/repofiles/upload.go
options/locale/locale_en-US.ini
public/css/index.css
public/less/_base.less
routers/repo/lfs.go [new file with mode: 0644]
routers/routes/routes.go
services/pull/lfs.go
templates/repo/settings/lfs.tmpl [new file with mode: 0644]
templates/repo/settings/lfs_file.tmpl [new file with mode: 0644]
templates/repo/settings/lfs_file_find.tmpl [new file with mode: 0644]
templates/repo/settings/lfs_pointers.tmpl [new file with mode: 0644]
templates/repo/settings/navbar.tmpl