Re: Tidy up tracker folder after initial installation
Ralf Schlatterbeck <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jan 11, 2016 at 01:51:00PM +0100, Christian Wolf wrote: > Hello to everyone, > > I have the following request: > I installed roundup recently and did some testing with "dummy" issues to > see if the mail interface is working (it took quite a few tries to get > it all running as desired). Now I have a set of issues, files and > messages dangling around, which I do not want to be visible at later > when in production environment. > > I tried to retire these issues using roundup-admin as well as the files. > I seem unable to find the issues anymore (but maybe I just look the > wrong way) and the files definitively do not get removed. > > How to tidy up any unneeded files and issues from the database? Retire only sets a flag on the retired item in den database. This is done to remove something from the search but leave links from other items in the database intact. If you want to completely nuke the current database you can do roundup-admin initialise This will ask you for a new admin password and completely initialize the tracker deleting everything in the database. If you just want to remove something completely from the database you can do so with a script that contains something like: db.<class>.destroy (id) will completely destroy the given thing (be it an issue or an email). Using this is generally not recommended as it leaves dangling links behind. That's why there is no command-line equivalent. Ralf -- Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16 Open Source Consulting www: http://www.runtux.com Reichergasse 131, A-3411 Weidling email: [email protected] ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140