Changes between Version 8 and Version 9 of CreatePluginScript
- Timestamp:
- Mar 16, 2015, 12:50:38 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CreatePluginScript
v8 v9 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = Create a trac plugin skeleton given a list of interfaces =3 = Create a Trac plugin skeleton given a list of interfaces 4 4 5 == Description ==5 == Description 6 6 7 This python package will create a trac plugin skeleton given its name and a list of interfaces it is to implement. The console script, {{{create-trac-plugin}}}, front-ends TracPluginTemplateScript and creates the basic layout of the plugin using [http://pythonpaste.org/script/ PasteScript]. Then the basic contents of the [http://trac.edgewall.org/wiki/TracDev/ComponentArchitecture component] are generated by looking through the choseninterfaces and filling out the imports needed and signatures for the methods used.7 This python package will create a Trac plugin skeleton given a name and a list of interfaces it is to communicate with. The console script, {{{create-trac-plugin}}}, front-ends TracPluginTemplateScript and creates the basic layout of the plugin using [http://pythonpaste.org/script/ PasteScript]. Then the basic contents of the [http://trac.edgewall.org/wiki/TracDev/ComponentArchitecture component] are generated by looking through the selected interfaces and filling out the imports needed and signatures for the methods used. 8 8 9 9 The {{{create-trac-component}}} console script front-ends [source:createpluginscript/anyrelease/create_trac_plugin/create_component.py create_component.py], which can be used as as standalone piece without the rest of the package. 10 10 11 == Bugs/Feature Requests ==11 == Bugs/Feature Requests 12 12 13 13 Existing bugs and feature requests for CreatePluginScript are … … 19 19 [wiki:olemis#Guidelinestocollaborate patch submission guidelines]. 20 20 21 == Download == 21 [[TicketQuery(component=CreatePluginScript&group=type,format=progress)]] 22 23 == Download 22 24 23 25 Download the zipped source from [download:createpluginscript here]. … … 25 27 If you just want {{{create_component.py}}} go [http://trac-hacks.org/svn/createpluginscript/anyrelease/create_trac_plugin/create_component.py here]. 26 28 27 == Source ==29 == Source 28 30 29 31 You can check out CreatePluginScript from [http://trac-hacks.org/svn/createpluginscript/anyrelease here] using Subversion, or [source:createpluginscript/anyrelease browse the source] with Trac. 30 32 31 == Example ==33 == Example 32 34 33 35 To list the interfaces available, simply run either of the console scripts without arguments: … … 36 38 #!sh 37 39 $ create-trac-plugin 40 38 41 Usage: 39 42 create-trac-plugin <name> [interface1] [interface2] [...] # to create a component with name … … 81 84 {{{ 82 85 #!sh 83 $create-trac-plugin NewPlugin ITemplateStreamFilter IWikiSyntaxProvider86 create-trac-plugin NewPlugin ITemplateStreamFilter IWikiSyntaxProvider 84 87 }}} 85 88 … … 155 158 {{{ 156 159 #!sh 157 $create-trac-component NewPlugin ITemplateStreamFilter IWikiSyntaxProvider160 create-trac-component NewPlugin ITemplateStreamFilter IWikiSyntaxProvider 158 161 }}} 159 162 160 == Recent Changes ==163 == Recent Changes 161 164 162 165 [[ChangeLog(createpluginscript, 3)]] 163 166 164 == Author/Contributors ==167 == Author/Contributors 165 168 166 169 ''Originally developed at [http://topp.openplans.org The Open Planning Project]'' 167 170 168 171 '''Author:''' [wiki:k0s] [[BR]] 169 '''Maintainer:''' [ wiki:olemis Olemis Lang] [[BR]]172 '''Maintainer:''' [[Maintainer]] [[BR]] 170 173 '''Contributors:''' [wiki:olemis Olemis Lang] [[BR]]