wiki:TracQuickPluginTemplateScript

Trac quick plugin template script

Description

This is a template plugin, which generates a skeleton for a plugin for Trac. It is inspired by TracPluginTemplateScript.

This script generates a detailed plugin, providing:

  • permission requestor
    • VIEW
    • EDIT
    • ADMIN
  • navigation contributor
  • templates provider
  • request handler
  • admin panel
  • i18n support
  • database access support
  • database version upgrade support
  • sample html templates
  • sample documents
    • changelog.txt
    • readme.txt
    • version.txt

Bugs/Feature Requests

Existing bugs and feature requests for TracQuickPluginTemplateScript are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out TracQuickPluginTemplateScript from here using Subversion, or browse the source with Trac.

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Configuration

After the package is installed, the template should be listed among the options for paster:

$ paster create --list-templates
Available templates:
  basic_package:        A basic setuptools-enabled package
  paste_deploy:         A web application deployed through paste.deploy
  trac_quick_plugin:    Another paste template for a trac plugin, like TracPluginTemplateScript

To create a plugin called Foo (the class name of the Component will be FooPlugin by default), run:

$ paster create -t trac_quick_plugin Foo

paster will then ask you about details for the description, author name, and other details. You will then get a ready to deploy new plugin Foo that you may now deploy for test, edit and implement.

Recent Changes

7750 by richard on 2010-03-03 08:21:34
support css, js
7749 by richard on 2010-03-03 07:57:12
Init import
7748 by richard on 2010-03-03 07:53:58
New hack TracQuickPluginTemplateScript, created by richard
(more)

Author/Contributors

Author: richard
Maintainer: Richard Liao
Contributors:

Last modified 3 years ago Last modified on May 17, 2022, 6:09:59 AM