Version 3 (modified by linetor, 10 years ago) (diff)

Linked to file attachment instead of repository

Create new projects without using the TracAdmin command line tool


This extension is designed to work with Trac 0.10.3 in a TracMultipleProjects/MultipleEnvironments configuration.

It adds a "Create New Project" page to the Admin menu, providing an alternative to the TracAdmin command-line tool. It also improves on TracAdmin by allowing default settings for the new projects, and by automatically adding the new projects' InterTrac settings to the global TracIni file.

This plugin does work, but it is not quite finished yet. Please see the current active tickets for details.

Bugs/Feature Requests

Existing bugs and feature requests for CreateProjectPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from here.


First ensure that the WebAdminPlugin is installed and enabled.

Then install the CreateProjectPlugin and enable the components if necessary:

createproj.* = enabled

This will make a new permission (called PROJECT_CREATE) available to your projects. For one of your project environments, you must give a user this permission, as shown below. Note that myenv should be replaced with the directory path of your project environment, and myuser should be a user's login name.

trac-admin myenv permission add myuser PROJECT_CREATE

This user will now be able to visit the "Create New Project" page on the Admin menu. They can fill in the form and create new project environments.

Configuring project defaults

To customise the default settings for a new project's TracIni file, you can create a defaults.ini file with corresponding settings. You must connect this file to the CreateProjectPlugin by adding the following option to your existing project's TracIni file:

project_defaults_ini = /path/to/defaults.ini

Recent Changes

11871 by rjollos on 2012-08-01 04:37:53
Fixes #1276: Added source, previously attached to the project's wiki page.
2034 by linetor on 2007-02-25 19:48:03
New hack CreateProjectPlugin, created by linetor


Author: linetor

Attachments (2)

Download all attachments as: .zip