From batlogg.lists at lovelysystems.com Sun Jun 11 00:57:52 2006 From: batlogg.lists at lovelysystems.com (Jodok Batlogg) Date: Sun, 11 Jun 2006 00:57:52 +0200 Subject: [Tramline-dev] tramline on centos Message-ID: <3DF77B33-2CDE-4884-A274-6F7D01FBEF76@lovelysystems.com> hello martijn et all :) we need to run tramline on centos. the latest apache in centos is 2.0.52 - you mention explicitly 2.0.55 (or later) because of a bug in mod_proxy (something with filters). can you point me to the relevant apache bugzilla issue? how can i check if that bug was not backported in centos? it's enough nightmare to compile the patched mod_python on centos :) another side-question: running an "apache - squid - multiple zope clients - zeo" setup shouldn't affect tramline at all, right? thanks jodok -- Lovely Systems, Partner Plone Foundation, Board of Directors phone: +43 5572 908060 mobile: +43 676 LOVELY 1 fax: +43 5572 908060-77 Schmelzh?tterstra?e 26a 6850 Dornbirn, Austria http://www.lovelysystems.com From faassen at infrae.com Mon Jun 12 16:14:55 2006 From: faassen at infrae.com (Martijn Faassen) Date: Mon, 12 Jun 2006 16:14:55 +0200 Subject: [Tramline-dev] tramline on centos In-Reply-To: <3DF77B33-2CDE-4884-A274-6F7D01FBEF76@lovelysystems.com> References: <3DF77B33-2CDE-4884-A274-6F7D01FBEF76@lovelysystems.com> Message-ID: <448D76DF.2090400@infrae.com> Jodok Batlogg wrote: > hello martijn et all :) > > we need to run tramline on centos. the latest apache in centos is > 2.0.52 - you mention explicitly 2.0.55 (or later) because of a bug in > mod_proxy (something with filters). can you point me to the relevant > apache bugzilla issue? how can i check if that bug was not backported > in centos? Hm, I don't recall seeing a bugzilla issue. That doesn't mean it isn't there, but that'd be quite a search to find for me now.. > it's enough nightmare to compile the patched mod_python on centos :) Tramline doesn't patch any C code, but perhaps you're referring to something else? > another side-question: running an "apache - squid - multiple zope > clients - zeo" setup shouldn't affect tramline at all, right? I don't think so. If you run tramline on multiple hosts the responsibility for sharing the files between multiple Zope client servers is you own; NFS or Samba or whatnot. In the setup where Squid is behind Apache (not in front of it), it couldn't cache any tramlined files itself, as Apache is doing the work of streaming in the file, which would be impossible for Squid to see. Regards, Martijn From jeroen.vloothuis at pareto.nl Tue Jun 13 19:30:00 2006 From: jeroen.vloothuis at pareto.nl (Jeroen Vloothuis) Date: Tue, 13 Jun 2006 19:30:00 +0200 Subject: [Tramline-dev] Further development of Tramline Message-ID: <200606131930.00519.jeroen.vloothuis@pareto.nl> Hi, Current development of Tramline seems to be halted. I would like to contribute more but I am wondering what the status of my previous patch is. An example of my improvement plans is making Tramline better configurable (via Apache instead of editing core.py). Martijn can you please tell me wheter you have any plans for the future of Tramline? Kind regards, Jeroen From faassen at infrae.com Thu Jun 15 12:36:04 2006 From: faassen at infrae.com (Martijn Faassen) Date: Thu, 15 Jun 2006 12:36:04 +0200 Subject: [Tramline-dev] Further development of Tramline In-Reply-To: <200606131930.00519.jeroen.vloothuis@pareto.nl> References: <200606131930.00519.jeroen.vloothuis@pareto.nl> Message-ID: <44913814.8060408@infrae.com> Jeroen Vloothuis wrote: > Hi, > > Current development of Tramline seems to be halted. I would like to contribute > more but I am wondering what the status of my previous patch is. An example > of my improvement plans is making Tramline better configurable (via Apache > instead of editing core.py). > > Martijn can you please tell me wheter you have any plans for the future of > Tramline? I have some time this month to look at Tramline again for an actual project. That should get at least these patches checked in and perhaps some other work done. Thanks for your patience! For the longer-term future things are less sure. We're of course hoping more tramline projects will coming along here at Infrae, but that's hard to predict. I'm okay with you checking in patches yourself after at least we discuss them here on the list to make sure the semantics are right and the implementation is solid. Regards, Martijn From faassen at infrae.com Tue Jun 20 17:06:27 2006 From: faassen at infrae.com (Martijn Faassen) Date: Tue, 20 Jun 2006 17:06:27 +0200 Subject: [Tramline-dev] Further development of Tramline In-Reply-To: <200606131930.00519.jeroen.vloothuis@pareto.nl> References: <200606131930.00519.jeroen.vloothuis@pareto.nl> Message-ID: <44980EF3.4070503@infrae.com> Jeroen Vloothuis wrote: > Hi, > > Current development of Tramline seems to be halted. I would like to contribute > more but I am wondering what the status of my previous patch is. Okay, current status: I patched tramline and tried to run the tests, but unfortunately I got a test failure: ====================================================================== FAIL: test_explicit_enabling (tramline.tests.test_core.TramlineTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/faassen/working/doclib/tramline/src/tramline/tests/test_core.py", line 386, in test_explicit_enabling self.assert_( File "/usr/lib/python2.4/unittest.py", line 309, in failUnless if not expr: raise self.failureException, msg AssertionError Is the patch missing something? Looking at the code I probably want to do a few small tweaks like perhaps changing the name of the option. Regards, Martijn From jeroen.vloothuis at pareto.nl Wed Jun 21 08:08:43 2006 From: jeroen.vloothuis at pareto.nl (Jeroen Vloothuis) Date: Wed, 21 Jun 2006 08:08:43 +0200 Subject: [Tramline-dev] Further development of Tramline In-Reply-To: <44980EF3.4070503@infrae.com> References: <200606131930.00519.jeroen.vloothuis@pareto.nl> <44980EF3.4070503@infrae.com> Message-ID: <200606210808.43683.jeroen.vloothuis@pareto.nl> On Tuesday 20 June 2006 17:06, Martijn Faassen wrote: > I patched tramline and tried to run the tests, but unfortunately I got a > test failure: > > ====================================================================== > FAIL: test_explicit_enabling (tramline.tests.test_core.TramlineTests) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/usr/lib/python2.4/unittest.py", line 260, in run > testMethod() > File > "/home/faassen/working/doclib/tramline/src/tramline/tests/test_core.py", > line 386, in test_explicit_enabling > self.assert_( > File "/usr/lib/python2.4/unittest.py", line 309, in failUnless > if not expr: raise self.failureException, msg > AssertionError > > Is the patch missing something? I am attaching the complete diff (I removed my path settings previously). This code works for me with Python 2.4 > Looking at the code I probably want to do a few small tweaks like > perhaps changing the name of the option. Go for it, I never liked the name myself (could not think of a better one). Kind regards, Jeroen -------------- next part -------------- A non-text attachment was scrubbed... Name: complete.patch Type: text/x-diff Size: 5058 bytes Desc: not available Url : http://codespeak.net/pipermail/tramline-dev/attachments/20060621/6d6e30e8/attachment.bin From faassen at infrae.com Wed Jun 21 12:38:47 2006 From: faassen at infrae.com (Martijn Faassen) Date: Wed, 21 Jun 2006 12:38:47 +0200 Subject: [Tramline-dev] Further development of Tramline In-Reply-To: <200606210808.43683.jeroen.vloothuis@pareto.nl> References: <200606131930.00519.jeroen.vloothuis@pareto.nl> <44980EF3.4070503@infrae.com> <200606210808.43683.jeroen.vloothuis@pareto.nl> Message-ID: <449921B7.2090603@infrae.com> Jeroen Vloothuis wrote: > On Tuesday 20 June 2006 17:06, Martijn Faassen wrote: >> I patched tramline and tried to run the tests, but unfortunately I got a >> test failure: [snip] >> >> Is the patch missing something? > > I am attaching the complete diff (I removed my path settings previously). This > code works for me with Python 2.4 I just applied it, and still get the same test failure. How do you run the tests? I'm running them as follows: $ cd tramline $ python2.4 test.py Regards, Martijn