Changes between Initial Version and Version 1 of TracQuickPluginTemplateScript


Ignore:
Timestamp:
Mar 3, 2010, 7:54:00 AM (14 years ago)
Author:
Richard Liao
Comment:

New hack TracQuickPluginTemplateScript, created by richard

Legend:

Unmodified
Added
Removed
Modified
  • TracQuickPluginTemplateScript

    v1 v1  
     1[[PageOutline(2-5,Contents,pullout)]]
     2
     3= Trac quick plugin template script =
     4
     5== Description ==
     6
     7Another trac plugin template, inspired by TracPluginTemplateScript, which generate a pretty barebone plugin.
     8This plugin generate a more fleshing plugin, providing:
     9 * permission requestor
     10  * VIEW
     11  * EDIT
     12  * ADMIN
     13 * navigation contributor
     14 * templates provider
     15 * request handler
     16 * adminpanel
     17 * i18n support
     18 * database access support
     19 * database version upgrade support
     20 * sample html templates
     21 * sample documents
     22  * changelog.txt
     23  * readme.txt
     24  * version.txt
     25
     26
     27== Bugs/Feature Requests ==
     28
     29Existing bugs and feature requests for TracQuickPluginTemplateScript are
     30[report:9?COMPONENT=TracQuickPluginTemplateScript here].
     31
     32If you have any issues, create a
     33[http://trac-hacks.org/newticket?component=TracQuickPluginTemplateScript&owner=richard new ticket].
     34
     35== Download ==
     36
     37Download the zipped source from [download:tracquickplugintemplatescript here].
     38
     39== Source ==
     40
     41You can check out TracQuickPluginTemplateScript from [http://trac-hacks.org/svn/tracquickplugintemplatescript here] using Subversion, or [source:tracquickplugintemplatescript browse the source] with Trac.
     42
     43== Example ==
     44
     45After the package is installed, the template should be listed among the options for paster:
     46
     47{{{
     48$ paster create --list-templates
     49Available templates:
     50  basic_package:        A basic setuptools-enabled package
     51  paste_deploy:         A web application deployed through paste.deploy
     52  trac_quick_plugin:    Another paste template for a trac plugin, like TracPluginTemplateScript
     53}}}
     54
     55To create a plugin called {{{Foo}}} (the class name of the Component will be {{{FooPlugin}}} by default), run:
     56
     57{{{
     58$ paster create -t trac_quick_plugin Foo
     59}}}
     60
     61[http://pythonpaste.org 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.
     62
     63== Recent Changes ==
     64
     65[[ChangeLog(tracquickplugintemplatescript, 3)]]
     66
     67== Author/Contributors ==
     68
     69'''Author:''' [wiki:richard] [[BR]]
     70'''Maintainer:''' [wiki:richard] [[BR]]
     71'''Contributors:'''