Patch #1393

FileSystem adapter

Added by Paul Rivier over 9 years ago. Updated almost 5 years ago.

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

0%

Category:SCM
Target version:0.8

Description

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 over 9 years ago

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

History

#1 Updated by Jean-Philippe Lang over 9 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 over 9 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 over 9 years ago

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

#4 Updated by Youssef Boujraf almost 5 years ago

Dear,

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,
Youssef

Also available in: Atom PDF