Patch #1393

FileSystem adapter

Added by Paul Rivier about 14 years ago. Updated over 9 years ago.

Status:ClosedStart date:2008-06-06
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:


Target version:0.8


In some cases, one might want to use Redmine to manage a project that has no SCM repository associated with, but a simple directory in the filesystem (can be a shared directory for example).
The FileSystem adapter simply reflects a directory in the filesystem. No author, no revision, no diff etc., only raw files and directories.

Please find attached patch for that.

filesystem-adapter.patch Magnifier - patch to apply against current stable (11.3 KB) Paul Rivier, 2008-06-06 11:34

filesystem_repository.tar.gz - test repository (265 Bytes) Paul Rivier, 2008-06-06 11:34

Associated revisions

Revision 1508
Added by Jean-Philippe Lang about 14 years ago

Adds Filesystem adapter (patch #1393 by Paul R).


#1 Updated by Jean-Philippe Lang about 14 years ago

I've just tested your patch. It looks to work fine and can be pretty useful indeed.

But some admins may not want users to be able to browse the whole filesystem of the remote host (a user allowed to manage repositories could create a FS repository that points to /).
I think we should provide a way for the admin to disable some of the "scm adapters".

#2 Updated by Jean-Philippe Lang about 14 years ago

  • Status changed from New to Closed

Patch committed in r1508 with slight changes in tests due to r1507.

#3 Updated by Thomas Lecavelier about 14 years ago

Very useful feature. Never seen it before. Thank you.

#4 Updated by Youssef Boujraf over 9 years ago


I tried to enable filesystem and it works fine.
Just what about user rights.
Do you thing you can add this features?
It will be great.

Best Regards,

Also available in: Atom PDF