id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
9609	Support relative download directory path in conf	jonasbardino	Blackhex	I would like to have relative downloads ''path'' support so that I can use a single inherited trac.ini for all my Trac instances:\r\n{{{\r\n#!ini\r\n[downloads]\r\npath = downloads\r\n}}}\r\n\r\nIf I try that with the latest 0.11 release I get a path error when uploading:\r\n{{{\r\n2011-12-13 10:05:33,616 Trac[main] WARNING: HTTPInternalError: 500 Trac Error (Error storing file somefile.zip! Is dir\r\nectory specified in path config option in [downloads] section of trac.ini existing?)\r\n}}}\r\n\r\nI've attached a simple patch that mirrors the graphviz plugin cache_dir extraction to achieve the goal.\r\n\r\nFeel free to apply it as is or implement it in a better way.\r\n\r\n---\r\n{{{\r\nDownloadsplugin: 0.11 branch (r11035, pip installed from trac-hacks.org)\r\nTrac: 0.11.7-4 debian package\r\nServer: Apache 2.2.16-6+squeeze4 debian package\r\nDatabase: sqlite 3.7.3-1 debian package\r\nOS: Linux\r\n}}}\r\n	enhancement	new	normal	DownloadsPlugin	minor		relative path conf	rjollos	0.11
