| 1 | = command line interface to obvious trac things = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | traccmd is a simple interface to the most obvious trac functions: |
| 6 | |
| 7 | * reading wiki pages |
| 8 | * editing wiki pages |
| 9 | * reading tickets or ticket attributes |
| 10 | * creating tickets |
| 11 | * updating ticket attributes |
| 12 | |
| 13 | Everything is done via xmlrpc, the xmlrpc support must be enabled. |
| 14 | |
| 15 | == Bugs/Feature Requests == |
| 16 | |
| 17 | Existing bugs and feature requests for TracCmdScript are |
| 18 | [report:9?COMPONENT=TracCmdScript here]. |
| 19 | |
| 20 | If you have any issues, create a |
| 21 | [http://trac-hacks.org/newticket?component=TracCmdScript&owner=nicferrier new ticket]. |
| 22 | |
| 23 | == Download == |
| 24 | |
| 25 | Download the zipped source from [download:traccmdscript here]. |
| 26 | |
| 27 | == Source == |
| 28 | |
| 29 | You can check out TracCmdScript from [http://trac-hacks.org/svn/traccmdscript here] using Subversion, or [source:traccmdscript browse the source] with Trac. |
| 30 | |
| 31 | == Example == |
| 32 | |
| 33 | getting a ticket |
| 34 | |
| 35 | {{{ |
| 36 | $ traccmd.py ticket 3567 |
| 37 | 1 status reopened |
| 38 | 1 type defect |
| 39 | 1 description Test patch |
| 40 | 1 description |
| 41 | 1 description Something went tits. Fix it! |
| 42 | 1 reporter admin |
| 43 | 1 cc |
| 44 | 1 ticket_status sign off requested |
| 45 | 1 component tech.homepage |
| 46 | 1 summary Test patch |
| 47 | 1 priority minor |
| 48 | 1 owner nferrier |
| 49 | 1 version |
| 50 | 1 milestone |
| 51 | 1 keywords |
| 52 | 1 resolution fixed |
| 53 | }}} |
| 54 | |
| 55 | getting a ticket attribute: |
| 56 | |
| 57 | {{{ |
| 58 | $ traccmd.py ticket 1 resolution |
| 59 | #1 resolution: fixed |
| 60 | }}} |
| 61 | |
| 62 | getting a wiki page: |
| 63 | |
| 64 | {{{ |
| 65 | $ traccmd.py wiki TracGuide | head -n15 |
| 66 | (:tracwikiproperties ( |
| 67 | :comment "" |
| 68 | :lastModified "20090410T15:29:13" |
| 69 | :version "2" |
| 70 | :name "TracGuide" |
| 71 | :author "trac" |
| 72 | )) |
| 73 | = The Trac User and Administration Guide = |
| 74 | [[TracGuideToc]] |
| 75 | |
| 76 | The TracGuide is meant to serve as a starting point for all documentation regarding Trac usage and development. The guide is a free document, a collaborative effort, and a part of the [http://trac.edgewall.org Trac Project] itself. |
| 77 | |
| 78 | == Table of Contents == |
| 79 | Currently available documentation: |
| 80 | * TracGuide (This page) -- Documentation starting point. |
| 81 | }}} |
| 82 | |
| 83 | |
| 84 | == Recent Changes == |
| 85 | |
| 86 | [[ChangeLog(traccmdscript, 3)]] |
| 87 | |
| 88 | == Author/Contributors == |
| 89 | |
| 90 | '''Author:''' [wiki:nicferrier] [[BR]] |
| 91 | '''Contributors:''' |