FIXME: need wsgi deps
$trac_python_packages[]
List of Python packages to run Trac
create and change to site directory
create/update virtual machine
for_each_trac_group()
Calls a function ($@) with each project group in the current Trac site.
for_each_trac_project()
Calls a function ($@) with each project in the given project group ($1).
trac_project_dir()
Prints name of project directory for given host ($1) and project name ($2).
trac_project_run()
Run a command in the given project directory.
$1 - Project group
$2 - Project name
trac_project_exists()
Checks whether a project eixsts
$1 - Project group
$2 - Project name
trac_project_config_file()
Prints project configuration file name
$1 - Project group
$2 - Project name
trac_project_log_file()
Prints project log file name
$1 - Project group
$2 - Project name
$3 - Log name (default: trac.log)
trac_project_perm_add()
Grants permissions to a user ($3) for the given group ($1) project ($2).
trac_repos_dir()
Prints path to a Trac-hosted repository.
$1 - Group name
$2 - Project name
$3 - Repository name
trac_project_repos()
Prints list of repositories
for_each_trac_repo()
Calls a function ($@) with each repository in the given group ($1) project ($2).
trac_project_run()
Run a command in the given project directory.
$1 - Group name
$2 - Project name
$3 - Repository name
$@ - Command to run
trac_repo_exists()
Returns success if a repository exists for a project
$1 - Group name
$2 - Project name
$3 - Repository name
trac_repo_clone()
Clones a repository from a URL into a project
$1 - Group name
$2 - Project name
$3 - Repository name
$4 - Repository URL
trac_repo_update()
Updates a repository for a project
$1 - Group name
$2 - Project name
$3 - Repository name
trac_repo_delete()
Deletes a repository from a project
$1 - Group name
$2 - Project name
$3 - Repository name
trac_repo_sync()
Synchronizes the specified project repository
$1 - Group name
$2 - Project name
$3 - Repository name
trac_repo_hook_init()
Creates a Git repository hook file, taking input from stdin.
$1 - Group name
$2 - Project name
$3 - Repository name
$4 - Hook name
trac_repo_post_commit()
Runs the post-commit hook to update Trac. input from stdin.
$1 - Group name
$2 - Project name
$3 - Repository name
$4 - Revision
trac_repo_post_receive()
Runs the post-receive hook to update Trac. input from stdin.
$1 - Group name
$2 - Project name
$3 - Repository name
trac_cron_run()
Runs all periodic Trac tasks
trac_dispatch()
Dispatches tool command after activating virtual environment for the site.
$@ - Command and arguments to dispatch