wiki:TracQuickPluginTemplateScript

Trac quick plugin template script

Description

Another Trac plugin template, inspired by TracPluginTemplateScript, which generates a barebones plugin. This script generates a more detailed plugin, providing:

  • permission requestor
    • VIEW
    • EDIT
    • ADMIN
  • navigation contributor
  • templates provider
  • request handler
  • adminpanel
  • 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.

Example

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 09:21:34
support css, js
7749 by richard on 2010-03-03 08:57:12
Init import
7748 by richard on 2010-03-03 08:53:58
New hack TracQuickPluginTemplateScript, created by richard
(more)

Author/Contributors

Author: richard
Maintainer: Richard Liao
Contributors:

Last modified 7 months ago Last modified on Nov 10, 2015, 9:52:27 AM