Edgewall Software

Opened 7 years ago

Last modified 5 years ago

#12413 new enhancement

support for git-lfs and git-annex

Reported by: tracuser@… 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:



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.



Attachments (0)

Change History (5)

comment:1 by Jun Omae, 7 years ago

Component: generalplugin/git
Keywords: git-lfs git-annex added; git source browser removed

comment:2 by Jun Omae, 7 years ago

Priority: normallow

comment:3 by Jun Omae, 7 years ago

Summary: support for git-lfssupport for git-lfs and git-annex

comment:4 by Jun Omae, 7 years ago

Milestone: unscheduled

comment:5 by Jun Omae, 5 years ago

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}.

Last edited 5 years ago by Ryan J Ollos (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.