| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = Settings Plugin = |
| 4 | |
| 5 | == Description == |
| 6 | |
| 7 | Provides extension for `trac-admin` for easy removing unneeded milestones, components, etc. |
| 8 | and setting a bunch of config options from file. |
| 9 | |
| 10 | Extends command `trac-admin` with some more commands: |
| 11 | |
| 12 | - `component removeall <pattern>`: Remove all components with a specific pattern |
| 13 | - `milestone removeall <pattern>`: Remove all milestones with a specific pattern |
| 14 | - `version removeall <pattern>`: Remove all versions with a specific pattern |
| 15 | - `ticket_type removeall <pattern>`: Remove all ticket_types with a specific pattern |
| 16 | - `priority removeall <pattern>`: Remove all priorities with a specific pattern |
| 17 | - `config setall <path/to/file>`: Set all config options from file to `trac.ini` |
| 18 | |
| 19 | Pattern can have wildcards (%). |
| 20 | |
| 21 | == Bugs/Feature Requests == |
| 22 | |
| 23 | Existing bugs and feature requests for SettingsPlugin are |
| 24 | [report:9?COMPONENT=SettingsPlugin here]. |
| 25 | |
| 26 | If you have any issues, create a |
| 27 | [http://trac-hacks.org/newticket?component=SettingsPlugin&owner=framay new ticket]. |
| 28 | |
| 29 | == Download == |
| 30 | |
| 31 | Download the zipped source from [download:settingsplugin here]. |
| 32 | |
| 33 | == Source == |
| 34 | |
| 35 | You can check out SettingsPlugin from [http://trac-hacks.org/svn/settingsplugin here] using Subversion, or [source:settingsplugin browse the source] with Trac. |
| 36 | |
| 37 | == Example == |
| 38 | |
| 39 | Examples usage of commands: |
| 40 | {{{ |
| 41 | # removes all components starting with component |
| 42 | trac-admin </path/to/projenv> component removeall component% |
| 43 | # removes ALL (!) versions |
| 44 | trac-admin </path/to/projenv> version removeall % |
| 45 | # overrides and creates all config entries from `company.ini` |
| 46 | trac-admin </path/to/projenv> config setall company.ini |
| 47 | }}} |
| 48 | |
| 49 | == Recent Changes == |
| 50 | |
| 51 | [[ChangeLog(settingsplugin, 3)]] |
| 52 | |
| 53 | == Author/Contributors == |
| 54 | |
| 55 | '''Author:''' [wiki:framay] [[BR]] |
| 56 | '''Maintainer:''' [wiki:framay] [[BR]] |
| 57 | '''Contributors:''' |