Project

General

Profile

PluginScmExtensions » History » Revision 3

Revision 2 (Arnaud Martel, 2010-08-02 19:58) → Revision 3/5 (Arnaud Martel, 2010-08-03 13:27)

h1. Introduction 

 Main features of the plugin: 
 * Add 3 actions in repository views: "upload files", "new folder" and "delete file/folder". Right now, only subversion and filesystem SCM are is supported... 
 * Add a new macro _scm_show_ to include repository inside a wiki page  

 Development was done using REDMINE trunk r3826 (=> 0.9.5 +) but any release after 0.9 should work 

 About subversion support: 
 To commit changes in Subversion, the plugin opens the repository with the file protocol. For this reason, you need the following: 
 * The repositories have to be installed on the REDMINE server. 
 * Plugin will replace the beginning of your repository location ([protocol]://[server]/" with "file:///svnroot/". You may need to create a symbolic link /svnroot for this to work...   

 About filesystem support: 
 if root path url ends with "files", the plugin will try to maintain an alternate folders tree for the files attributes. To do that, the plugin will look if an "attributes" folder exists at the same level as the "files" folder. For example, if your root path is "/repo/project/files", the plugin will look for "/repo/project/attributes". If this folder exists then files attributes (currently: author name, only) will be managed in this folder... 


 h1. Setup 

 h3. 1. Install plugin into vendor/plugins 

 Install redmine_scm_extensions with: 
 * ruby script/plugin install http://github.com/amartel/redmine_scm_extensions.git 

 No DB migration is required... 

 h3. 2. Restart your web server 


 h3. 3. Configure REDMINE with your web browser 

 If everything is OK, you should see "SCM extensions" in the plugin list (Administration -> Plugins) 

 A new permission is now available (SCM extensions -> Update repository) and you have to assign it to the roles you need 

 h1. History 

 0.0.2 : 2010-08-03 
 * new: support READ/WRITE operations for filesystem SCM 
 * new: send email to selected members if upload completes successfully 

 0.0.1 : 2010-07-23 
 Initial release