Opened 9 years ago
Last modified 7 years ago
#12413 new enhancement
support for git-lfs and git-annex
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | unscheduled |
Component: | plugin/git | Version: | |
Severity: | normal | Keywords: | git-lfs git-annex |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Hi,
it would be great, if the source-browser of git could support git-lfs and/or git-annex (large file storage) by redirecting to the real file in the lfs-folder resp. annex-folder.
I want to you trac (especially trac-wiki) in combination with git-lfs for storing educational resources. git would be in charge for distributing the files to all teachers / students; with tracwiki I would organize all the "meta-data" like informations on lectures etc. It is one of the key-aspects (for teachers) to work on the files (worksheets etc.) at the local computer, therefore a dvcs (with large file support) is desperately needed.
For the repo-browser one could also use gitblit, since it supports git-lfs (see https://github.com/gitblit/gitblit/issues/1025 and the fix https://github.com/gitblit/gitblit/commit/77c38a1865564a4ea4544bfb1f52bedf4326d481), but it would be more helpfull if trac would support git-lfs.
And apart from that: git-annex has an equivalent approach for storing large-files and is even more flexible as git-lfs. gitlab is supporting both git-lfs and git-annex, but the wiki-system of gitlab is too limited.
I've been searching for a wiki-system with a dvcs-repo-browser with large-file-support during the last months, the only one with a good wiki-system I could found was trac. It would be great, if you could add support for git-lfs and/or git-annex.
Greetings
Tobias
Attachments (0)
Change History (5)
comment:1 by , 9 years ago
Component: | general → plugin/git |
---|---|
Keywords: | git-lfs git-annex added; git source browser removed |
comment:2 by , 9 years ago
Priority: | normal → low |
---|
comment:3 by , 9 years ago
Summary: | support for git-lfs → support for git-lfs and git-annex |
---|
comment:4 by , 9 years ago
Milestone: | → unscheduled |
---|
PoC: jomae.git@t12413.
Trac requires Git repository located in local file system. The LFS object files also must in the same local file system. It would be resolved to use
git lfs fetch --all
on post-receive hook to retrieve LFS object files at/path/to/gitrepos/lfs/objects/{oid[0:2]}/{oid[2:4]}/{oid}
.