This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /projects/it-og/wiki/Project_setup_hints/annotate/3 at Thu, 03 Nov 2022 23:31:11 GMT IT - Open Grid Forum

Project setup hints

Version 3 (Redmine Admin, 07/09/2012 05:09 PM)

1 1 Redmine Admin
h1. Redmine project setup hints
2 1 Redmine Admin
3 1 Redmine Admin
h2. "Documents" Tab
4 1 Redmine Admin
5 1 Redmine Admin
The default 'Documents' tab in Redmine is somewhat limited.  I installed the DMSF module as a better version, which has most of the features we know from GridForge.  The tab has the same name -- so one needs to disable the original 'Documents' tab, and to enable the 'DMSF' tab, in the module settings for each project.
6 1 Redmine Admin
7 2 Redmine Admin
The project description should include a link to the old GridForge document area (and possibly other areas) for back reference...
8 1 Redmine Admin
9 1 Redmine Admin
h2. "Mailing List" and "Project Info" Tabs
10 1 Redmine Admin
11 1 Redmine Admin
The solution I found is not perfect, as it needs some manual setup, but it is relatively simple:
12 1 Redmine Admin
13 1 Redmine Admin
  * I installed the 'embedded' plugin for redmine, which allows to define a new project tab
14 1 Redmine Admin
  * in the plugin config, the tab name is set to 'Mailing List', and the tab content points to /var/www/redmine/doc/details/{PROJECT}/
15 1 Redmine Admin
  * for each project, one needs to create that directory, and in there have an index.html like this one for the saga-wg:
16 1 Redmine Admin
    <pre>
17 1 Redmine Admin
      root@ogfapp:/var/www/redmine/doc/details/saga-wg# cat index.html
18 1 Redmine Admin
      <iframe width="100%" height='2000' scrolling="no" frameborder='no' src="http://www.ogf.org/mailman/listinfo/saga-core-wg"></iframe></pre>
19 1 Redmine Admin
    which gets the respective mailman page displayed in an iframe on that tab.
20 1 Redmine Admin
21 1 Redmine Admin
22 1 Redmine Admin
I have a similar solution for the project info:  there is a 'tab' plugin which provides an additional tab per project.  For each project which enables that plugin, the project settings have an additional key 'ProjectInfo', which can be defined by the project.  For the saga-wg again, that is for example set to 
23 1 Redmine Admin
24 1 Redmine Admin
<pre>
25 1 Redmine Admin
  <iframe width="100%" height='2000' scrolling="no" frameborder='no' src="http://www.ogf.org/gf/group_info/view_bare.php?group=saga-wg"></iframe>
26 1 Redmine Admin
</pre>
27 1 Redmine Admin
28 1 Redmine Admin
and you can probably guess what that shows :-)
29 1 Redmine Admin
30 1 Redmine Admin
Projects which do not have a mailing list, or which do not want to show separate project info, should disable the respective modules in the project settings.
31 1 Redmine Admin
32 1 Redmine Admin
I did not find a way to do both tabs with a single module, but if the above scheme proves to be too limited, I'll try to expand the tab embedded plugin to serve our needs.
33 1 Redmine Admin
34 1 Redmine Admin
35 1 Redmine Admin
h2. Poject Join settings
36 1 Redmine Admin
37 1 Redmine Admin
On project 'Settings > Information > Non-Members request to join', the setting should be left on 'Self subscribe'.  Join request's are submitted to the site admin, not project admin, and are usually confirmed anyway (*OPEN* Grid Forum ;-) )
38 3 Redmine Admin
39 3 Redmine Admin
40 3 Redmine Admin
h2. git / svn setup
41 3 Redmine Admin
42 3 Redmine Admin
A git repository should get created for all projects: settings -> repository -> git, create.  A svn repository can be created with the following command:
43 3 Redmine Admin
44 3 Redmine Admin
<pre>
45 3 Redmine Admin
  cd /var/www/redmine/extra/svn
46 3 Redmine Admin
  reposman.rb --redmine my.redmine.host --svn-dir /var/svn --owner www-data --scm Subversion --url http://svn.server/svn-private/
47 3 Redmine Admin
</pre>
48 3 Redmine Admin
49 3 Redmine Admin
which will create SVN repos for all projects which do not have a repo whatsoever (so make sure git exists by default).  To delete a svn repo, make sure you delete the physical repo in /var/svn manually, too.
This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /projects/it-og/wiki/Project_setup_hints/annotate/3 at Thu, 03 Nov 2022 23:31:11 GMT