Changes between Version 8 and Version 9 of TracCmdScript
- Timestamp:
- Jul 20, 2015, 3:19:09 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracCmdScript
v8 v9 1 = TracCmdScript = 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = = Description ==3 = Trac command script 4 4 5 TracCmdScript is command line interface allowing trac objects manipulation. 5 == Description 6 6 7 It's actually simple python based interface to the most obvious trac functions: 7 TracCmdScript is command line interface allowing Trac objects manipulation. It is a Python based interface to the most used Trac functions. 8 8 9 Key features: 9 10 * reading wiki pages 10 11 * editing wiki pages … … 16 17 We use traccmd at [http://www.woome.com WooMe] to script releases and help build release candidates. 17 18 18 == Prerequisities == 19 The xmlrpc support must be enabled by installing XmlRpcPlugin, as everything is done via xmlrpc. 19 A wrapper for editing wiki pages directly inside emacs is also included, though this is rudimentary. 20 20 21 === Editing === 22 An wrapper for editing wiki pages directly inside emacs is also included, tho this is a little rough. 23 24 == Bugs/Feature Requests == 21 == Bugs/Feature Requests 25 22 26 23 Existing bugs and feature requests for TracCmdScript are … … 28 25 29 26 If you have any issues, create a 30 [ http://trac-hacks.org/newticket?component=TracCmdScript&owner=nicferriernew ticket].27 [/newticket?component=TracCmdScript new ticket]. 31 28 32 == Download == 29 [[TicketQuery(component=TracCmdScript&group=type,format=progress)]] 30 31 == Download 33 32 34 33 Download the zipped source from [download:traccmdscript here]. 35 34 36 == Source ==35 == Source 37 36 38 37 You can check out TracCmdScript from [http://trac-hacks.org/svn/traccmdscript here] using Subversion, or [source:traccmdscript browse the source] with Trac. 39 38 40 == Example ==39 == Installation 41 40 42 getting a ticket 41 The xmlrpc support must be enabled by installing XmlRpcPlugin, as everything is done via xmlrpc. 43 42 44 {{{ 43 == Example 44 45 Getting a ticket: 46 47 {{{#!sh 45 48 $ traccmd.py ticket 1 46 49 1 status reopened … … 62 65 }}} 63 66 64 getting a ticket attribute:67 Getting a ticket attribute: 65 68 66 {{{ 69 {{{#!sh 67 70 $ traccmd.py ticketdetail 1 resolution 68 71 #1 resolution: fixed 69 72 }}} 70 73 71 getting a wiki page:74 Getting a wiki page: 72 75 73 {{{ 76 {{{#!sh 74 77 $ traccmd.py wiki TracGuide | head -n15 75 78 (:tracwikiproperties ( … … 80 83 :author "trac" 81 84 )) 85 82 86 = The Trac User and Administration Guide = 83 87 [[TracGuideToc]] … … 90 94 }}} 91 95 92 A more complex example is the use in a release candidate maker where a number of repos in a distributed revision control system are pulled together to make an rc:96 A more complex example is the use in a release candidate maker, where a number of repos in a distributed revision control system are pulled together to make a release candidate: 93 97 94 98 {{{ … … 99 103 }}} 100 104 101 shows incomming patches from hg repos mentioned in $TICKETS.105 This shows incoming patches from hg repos mentioned in $TICKETS. 102 106 103 == Recent Changes ==107 == Recent Changes 104 108 105 109 [[ChangeLog(traccmdscript, 3)]] 106 110 107 == Author/Contributors ==111 == Author/Contributors 108 112 109 113 '''Author:''' [wiki:nicferrier] [[BR]] 114 '''Maintainer:''' [[Maintainer]] [[BR]] 110 115 '''Contributors:'''