Version 2 (modified by 14 years ago) (diff) | ,
---|
Contents
Trac quick plugin template script
Description
Another trac plugin template, inspired by TracPluginTemplateScript, which generate a pretty barebone plugin. This script generate a more fleshing 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 [download:tracquickplugintemplatescript 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