-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03.01.2014 09:42, Cooke, Mark wrote: > Folks, > > I have a plugin that uses an SQLite dB and I am wondering where is > the correct place to store the data file? Currently it is in the > root of the attachments folder but perhaps there is somewhere > better? > > Or do I just make it configurable via trac.ini?
The canonical attachments folder content will be moved to 'files' in Trac 1.0, so I would adapt this too. I don't know, why you're storing data (exclusively?) for Trac, but outside the Trac db, what would be the natural place to me. > P.S. I am using Trac 0.12.5 on windoze (if that makes any > difference), served via apache httpd & mod_wsgi, using a PostgreSQL > 9.x backend. So I would alter the plugin to use this Trac db backend too, and you can forget about your initial problem. Counting the environment as file storage no. 1 and the Trac db as no. 2 this should be enough. Each storage beyond could become just painful (think safe db copy etc.). Sincerely, Steffen Hoffmann -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlLHMAcACgkQ31DJeiZFuHctdgCgpGWvgNK/Mx/ct2+WUD0DTmfE i28AnicyNUvrxPmq9pxXDDk6hgKdz38t =sxnw -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/groups/opt_out.
