From abergevin at pyxis-tech.com Fri Aug 15 18:22:43 2003 From: abergevin at pyxis-tech.com (Alain Bergevin) Date: Fri, 15 Aug 2003 14:22:43 -0400 Subject: [cvsspam-devel] Fix for Chora 1.2 Message-ID: <000101c3635a$38ad8c10$0a00a8c0@pyxistech.ca> Hi, I installed CVSSpam on my box and I had to fix the script in order to use it with Chora 1.2. Here are the changes: In section # Link to Chora, from the Hoard framework, change: "#{@base_url}/cvs.php/#{urlEncode(path)}" for "#{@base_url}/cvs.php?f=/#{urlEncode(path)}". Also, change "#{@base_url}/co.php/#{urlEncode(path)}?r=#{version}" for "#{@base_url}/co.php?r=#{version}&f=#{urlEncode(path)}". Regards, ______________________ Alain Bergevin Conseiller Pyxis Technologies www.pyxis-tech.com T: (450) 681-9094 #107 F: (450) 681-5758 abergevin@pyxis-tech.com From dave at badgers-in-foil.co.uk Fri Aug 15 21:31:29 2003 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Fri, 15 Aug 2003 21:31:29 +0000 Subject: [cvsspam-devel] Fix for Chora 1.2 In-Reply-To: <000101c3635a$38ad8c10$0a00a8c0@pyxistech.ca> References: <000101c3635a$38ad8c10$0a00a8c0@pyxistech.ca> Message-ID: <20030815213129.GA19183@vhost.badgers-in-foil.co.uk> Hello! On Fri, Aug 15, 2003 at 02:22:43PM -0400, Alain Bergevin wrote: > I installed CVSSpam on my box and I had to fix the script in order to use it > with Chora 1.2. Here are the changes: > > In section # Link to Chora, from the Hoard framework, change: > "#{@base_url}/cvs.php/#{urlEncode(path)}" for > "#{@base_url}/cvs.php?f=/#{urlEncode(path)}". > > Also, change > "#{@base_url}/co.php/#{urlEncode(path)}?r=#{version}" for > "#{@base_url}/co.php?r=#{version}&f=#{urlEncode(path)}". I don't use Chora, but I notice in the latest source[1] that there's a 'use_path_info' config option that seems like it might enable the old behavior. If this works, the script might be saved needing to support both forms of link, so it would be a big help if you could test that for me ;) Thanks again! dave [1] http://cvs.horde.org/co.php/chora/lib/Chora.php?r=1.44