Project

General

Profile

Actions

Patch #1393

closed

FileSystem adapter

Added by Paul Rivier over 16 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
SCM
Target version:
Start date:
2008-06-06
Due date:
% Done:

0%

Estimated time:

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.


Files

filesystem-adapter.patch (11.3 KB) filesystem-adapter.patch patch to apply against current stable Paul Rivier, 2008-06-06 11:34
filesystem_repository.tar.gz (265 Bytes) filesystem_repository.tar.gz test repository Paul Rivier, 2008-06-06 11:34
Actions #1

Updated by Jean-Philippe Lang over 16 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".

Actions #2

Updated by Jean-Philippe Lang over 16 years ago

  • Status changed from New to Closed

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

Actions #3

Updated by Thomas Lecavelier over 16 years ago

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

Actions #4

Updated by Youssef Boujraf over 11 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

Actions

Also available in: Atom PDF