[#225] Template projects



Detailed description

Newly created projects in FusionForge always have the same structure, which is hardcoded (or stored in a configuration-like file such as artifacttypedefinitions.php). The "template" project that may or may not exist can only be used to clone the extra fields of one of its tracker into a tracker for another project.

I propose to implement a more comprehensive "template project" feature. It would 1. allow several projects to be marked as potential templates 2. provide a list of available templates to pick from during the project registration phase 3. copy as much of the structure of the chosen template into the new project: trackers, with their configuration and fields, forums, roles and permissions, plugin usage, and so on. In case no template is chosen, I propose to start the new project completely empty (with no tool enabled, and only one Admin role), which would allow us to get rid of the ugly hardcoded stuff. (Alternatively, we could force the use of a template). Local customisation would be a simple matter of editing the template project(s).

Actually, this is more than a proposal: I've already implemented most of it for the Coclico project (which requires a convergence between the Codendi template project system and the basically non-existent FusionForge one). A more detailed description (in French) is at https://forge.projet-coclico.org/plugins/mediawiki/wiki/wp3/index.php/Moteurdemod%C3%A8les#Codendi.E2.86.92FusionForge with a status report. Once I'm finished with that feature, which currently happens on a Bazaar branch on the Coclico forge, I'll probably rebase it and push it to our trunk. I'm just opening this item to keep tabs on it.

General Information
Submitted by:
Roland Mas
Date Submitted: 2010-12-03 12:19
Last Modified by: Nobody
Last Modified: 2017-11-02 20:00
Date Closed: 2010-12-17 14:32
Permalink: https://fusionforge.org/tracker/a_follow.php/225
Internal Fields
Data Type: Feature requests
Assigned to: Roland Mas (lolando)
State: Closed
Priority: 3
Extra Fields
Target release:
Follow-up tabs
Message  ↓
Date: 2010-12-17 14:32
Sender: Roland Mas


Date: 2010-12-14 09:18
Sender: Roland Mas

Testsuite is complete too. Let's see if this can go into 5.1 or not. In the meantime, the branch is available from the Coclico forge at https://forge.projet-coclico.org/scm/?group_id=6 (branch coclico/fusionforge-5.1+coclico/patches/template-engine).

Date: 2010-12-10 15:25
Sender: Roland Mas

Documentation started on https://fusionforge.org/plugins/mediawiki/wiki/fusionforge/index.php/Project_templates

Date: 2010-12-10 14:59
Sender: Roland Mas

Status report: UI is done.

Date: 2010-12-03 12:21
Sender: Roland Mas

Just for the record: the missing parts are currently the UI to mark a project as a potential template, a testsuite, and a more thorough documentation, which I'll write on the FF wiki.

No attached documents

No related commits.

Field Old Value Date By
close_dateNone2010-12-17 14:32
Roland Mas
Target releaseNone2010-12-17 14:32
Roland Mas
status_idOpen2010-12-17 14:32
Roland Mas
ResolutionNone2010-12-14 09:18
Roland Mas

No relations found.