New Project Automation Script
Objective\ Automate the manual (errors prone) process of setting up the development infrastructure (SVN & trac) for a new project. The automation is initially conceived as an interactive script driving the project manager in the initialisation process.
References\ guida unificata per l'inizializzazione di un progetto in Trac - SVN
Input Data\ the name of the project the developers list OPTIONAL the externals list
Modified Configuration Files\ systemwide Apache httpd.conf with the information of the project svn authz: newRepPath/conf/authz svn passwords: system wide (common) repositories passwords (no change required) trac authz: newEnvPath/conf/ trac passwords: systemwide (no change required) trac settings: newEnvPath/conf/trac.ini
Commands issued svnadmin create newRepPath trac-admin newEnvPath initenv
- Project Name. Inserire il nome del progetto;
- Database connection string.
- Repository type.
- Path to repository. Inserire newRepPath (path completo)
- Templates directory.
edit newEnvPath/conf/trac.ini
- section trac path to trac (repo and wiki) authz_file
- section components webadmin.* = enabled
- apache restart
trac-admin newEnvPath resync update (via trac-admin?) developer authorizations permissions edit httpd.conf restart apache