Edgewall Software
Modify

Opened 8 years ago

Last modified 6 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:

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 Jun Omae, 8 years ago

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

comment:2 by Jun Omae, 8 years ago

Priority: normallow

comment:3 by Jun Omae, 8 years ago

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

comment:4 by Jun Omae, 8 years ago

Milestone: unscheduled

comment:5 by Jun Omae, 6 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 6 years ago by Ryan J Ollos (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.