Editing
Updating Trac Components
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Workflow == === Update the component name using `sqlite3` === * Open Powershell. * Navigate to the Trac installation directory. * Trac uses a sqlite3 database, located in the `db` directory in the Trac installation directory. * `sqlite3 [trac-database.db]` * Rename components with `update component set name = 'new name' where name = 'old name';` * Update tickets to reflect the changes: `update ticket set component = 'new name' where component = 'old name';` * Quit sqlite3 with `.quit` === Refreshing the Trac cache === Trac caches the component names. For example, when creating or editing a custom query, the component dropdown options will not be updated with the current values in the sqlite3 `component` table. To refresh the Trac cache, touch the Trac ini file: * Open Powershell. * Navigate to the Trac installation directory. * `cd conf\` * `touch trac.ini`
Summary:
Please note that all contributions to Littledamien Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Littledamien Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information