*** cr3 has joined #zope3-dev | 00:15 | |
cr3 | is there a way to set somekind of permission on Field attributes? | 00:16 |
---|---|---|
*** RaFromBRC is now known as RaFromBRC|lunch | 00:24 | |
*** cbcunc has joined #zope3-dev | 00:44 | |
*** danfairs has joined #zope3-dev | 00:48 | |
*** hazmat has joined #zope3-dev | 00:49 | |
*** timte has quit IRC | 00:51 | |
*** ccomb has quit IRC | 00:53 | |
*** cbcunc is now known as __cbcunc__ | 00:53 | |
*** davidstryker has quit IRC | 00:58 | |
*** nathany has quit IRC | 00:58 | |
*** toutpt has quit IRC | 00:58 | |
*** greenman has quit IRC | 01:02 | |
*** benji has quit IRC | 01:03 | |
*** whit has joined #zope3-dev | 01:09 | |
*** malthe has joined #zope3-dev | 01:10 | |
*** whit has quit IRC | 01:10 | |
*** harobed has quit IRC | 01:14 | |
*** cr3 has quit IRC | 01:22 | |
*** norro has quit IRC | 01:23 | |
*** philiKON has joined #zope3-dev | 01:23 | |
*** dobee has joined #zope3-dev | 01:34 | |
*** whit has joined #zope3-dev | 01:39 | |
*** dobee has quit IRC | 01:42 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 01:42 | |
*** hazmat has left #zope3-dev | 01:51 | |
*** J1m has quit IRC | 01:56 | |
*** b52laptop has quit IRC | 02:17 | |
*** quodt has quit IRC | 02:18 | |
*** gstratton has joined #zope3-dev | 02:22 | |
*** greenman has joined #zope3-dev | 02:34 | |
*** gstratton has quit IRC | 02:39 | |
*** jsadjohnson has quit IRC | 03:23 | |
*** gimni has quit IRC | 03:35 | |
*** run|home has joined #zope3-dev | 03:48 | |
*** whit has quit IRC | 03:48 | |
*** alecm has quit IRC | 04:25 | |
*** greenman has quit IRC | 04:48 | |
*** RaFromBRC has left #zope3-dev | 05:02 | |
*** greenman has joined #zope3-dev | 05:06 | |
*** niemeyer has quit IRC | 05:09 | |
*** fcorrea has quit IRC | 05:10 | |
*** malthe has quit IRC | 05:14 | |
*** stub has joined #zope3-dev | 05:21 | |
*** lucielejard has joined #zope3-dev | 05:22 | |
*** greenman has quit IRC | 06:02 | |
*** hazmat has joined #zope3-dev | 06:05 | |
*** ChanServ sets mode: +o hazmat | 06:05 | |
*** rcrafton has quit IRC | 06:34 | |
*** huajie has joined #zope3-dev | 06:52 | |
*** stub has quit IRC | 06:54 | |
*** stu1 has joined #zope3-dev | 06:54 | |
*** stu1 is now known as stub | 06:55 | |
*** lucielejard has quit IRC | 07:06 | |
*** Jell-O-Fishi has quit IRC | 07:23 | |
*** Jell-O-Fishi has joined #zope3-dev | 07:25 | |
*** Jell-O-Fishi has quit IRC | 07:33 | |
*** kursor has joined #zope3-dev | 07:51 | |
*** Jell-O-Fishi has joined #zope3-dev | 07:55 | |
*** whit has joined #zope3-dev | 07:55 | |
*** Jell-O-Fishi has quit IRC | 08:18 | |
*** kursor has quit IRC | 08:35 | |
*** jodok has quit IRC | 08:38 | |
*** kursor has joined #zope3-dev | 08:45 | |
*** hdima has joined #zope3-dev | 08:48 | |
*** __mac__ has joined #zope3-dev | 08:52 | |
*** CSWookie has joined #zope3-dev | 08:52 | |
CSWookie | Anybody know if there's a function to clear out the utilities registered for a particular interface, and reregister them all? | 08:54 |
*** jodok has joined #zope3-dev | 08:58 | |
*** __mac__ has quit IRC | 08:58 | |
*** __mac__ has joined #zope3-dev | 09:00 | |
*** zagy has joined #zope3-dev | 09:00 | |
*** dobee has joined #zope3-dev | 09:00 | |
*** afd_ has joined #zope3-dev | 09:05 | |
*** sorin has joined #zope3-dev | 09:10 | |
*** sorin is now known as sorindregan | 09:10 | |
*** philiKON has quit IRC | 09:24 | |
*** gimni has joined #zope3-dev | 09:37 | |
*** gimni has quit IRC | 09:37 | |
*** schwendinger has quit IRC | 09:38 | |
*** gimni has joined #zope3-dev | 09:38 | |
*** schwendinger has joined #zope3-dev | 09:50 | |
*** yvl has joined #zope3-dev | 09:51 | |
*** agroszer has joined #zope3-dev | 09:59 | |
*** timte has joined #zope3-dev | 10:02 | |
*** harobed has joined #zope3-dev | 10:16 | |
*** kobold has joined #zope3-dev | 10:17 | |
*** projekt01 has joined #zope3-dev | 10:20 | |
*** pelle_ has joined #zope3-dev | 10:23 | |
*** dunny_ has joined #zope3-dev | 10:24 | |
*** gimni_ has joined #zope3-dev | 10:25 | |
*** gimni has quit IRC | 10:26 | |
*** gimni_ is now known as gimni | 10:26 | |
*** gimni has joined #zope3-dev | 10:26 | |
*** Aiste has quit IRC | 10:34 | |
*** dunny has quit IRC | 10:36 | |
*** dunny_ has quit IRC | 10:45 | |
*** greenman has joined #zope3-dev | 10:46 | |
*** dunny has joined #zope3-dev | 10:48 | |
*** thruflo has joined #zope3-dev | 10:51 | |
*** quodt has joined #zope3-dev | 10:57 | |
*** afd_ has quit IRC | 11:00 | |
*** gstratton has joined #zope3-dev | 11:02 | |
*** yvl has left #zope3-dev | 11:04 | |
*** quodt_ has joined #zope3-dev | 11:07 | |
*** quodt has quit IRC | 11:07 | |
*** dunny has quit IRC | 11:09 | |
*** mgedmin has joined #zope3-dev | 11:29 | |
*** ccomb has joined #zope3-dev | 11:30 | |
*** baijum has joined #zope3-dev | 11:59 | |
*** toutpt has joined #zope3-dev | 12:00 | |
*** baijum has quit IRC | 12:04 | |
*** gimni has quit IRC | 12:18 | |
*** gimni has joined #zope3-dev | 12:18 | |
*** jinty has joined #zope3-dev | 12:34 | |
*** gimni has quit IRC | 12:36 | |
*** jayesh_ has joined #zope3-dev | 12:37 | |
*** jayesh_ has left #zope3-dev | 12:37 | |
*** mkerrin has joined #zope3-dev | 12:39 | |
*** malthe has joined #zope3-dev | 12:46 | |
zagy | I wonder what the best way is to have a write-once field | 12:48 |
zagy | i.e. one that is written on add and then never again... | 12:48 |
zagy | a readonly field sort of does the trick, but only sort of | 12:48 |
mgedmin | I've used a __setattr__ function that raises if it finds the name in self.__dict__ | 12:49 |
zagy | but I have to specify that somehow in the schema | 12:49 |
zagy | to give formlib some hint... | 12:49 |
* zagy wonders | 12:49 | |
mgedmin | ok, now I'm confused | 12:53 |
mgedmin | what do you want to do? | 12:53 |
mgedmin | have the field editable in the add form but read-only in the edit form? | 12:54 |
projekt01 | zagy, use z3c.form and set mode='input' or mode='display' if you need to override given schema settings | 12:58 |
zagy | yes, but I think I know what I'm doing wrong now. The field in fact is read only for instances | 12:58 |
zagy | but not for the factory | 12:58 |
zagy | so i'll see | 12:58 |
zagy | projekt01: no way :) | 12:58 |
zagy | projekt01: if it was a new project maybe ;) | 12:58 |
projekt01 | doesn't __dict__['foo'] = 'bar' work for you? | 12:59 |
zagy | yes yes, setattr works as well :) | 12:59 |
zagy | just looking for some insight to make it "right" and general | 13:00 |
projekt01 | Ok, use that in your z3c.form if you need to write to it | 13:00 |
projekt01 | zagy, don't make your live harder then it is | 13:00 |
zagy | no I don't :) | 13:01 |
projekt01 | ;-) | 13:01 |
*** jsadjohnson has joined #zope3-dev | 13:02 | |
projekt01 | zagy, are you looking for a ready to use solution which you can use based on schemas? This doen't exist | 13:03 |
zagy | not really ready to use, just the supposed way | 13:03 |
zagy | I will change the setting of data in the add form, that'll work just fine | 13:03 |
projekt01 | I recommend z3c.form for this kind of customizing | 13:04 |
zagy | I know you recomend z3c.form, but I haven't had time to implement the sources support properly | 13:05 |
zagy | so there is no way to use it right now | 13:05 |
zagy | although I have quite some forms already | 13:05 |
zagy | it's not that it is a new project | 13:05 |
projekt01 | I see | 13:06 |
*** niemeyer has joined #zope3-dev | 13:07 | |
*** Aiste has joined #zope3-dev | 13:07 | |
*** malthe has quit IRC | 13:11 | |
*** malthe has joined #zope3-dev | 13:11 | |
*** thruflo_ has joined #zope3-dev | 13:32 | |
*** BjornT has quit IRC | 13:33 | |
*** greenman has quit IRC | 13:39 | |
*** BjornT has joined #zope3-dev | 13:40 | |
*** malthe has quit IRC | 13:40 | |
*** thruflo has quit IRC | 13:49 | |
*** projekt01 has quit IRC | 13:52 | |
*** nouri has quit IRC | 13:52 | |
*** projekt01 has joined #zope3-dev | 13:52 | |
*** nouri has joined #zope3-dev | 13:52 | |
*** toutpt has quit IRC | 13:57 | |
*** rocky|away is now known as rocky | 14:03 | |
*** schwendinger has quit IRC | 14:08 | |
*** pelle_ has quit IRC | 14:15 | |
*** pelle_ has joined #zope3-dev | 14:16 | |
*** tlotze has joined #zope3-dev | 14:27 | |
tlotze | hi | 14:28 |
tlotze | I found some behaviour of zc.resourcelib which I'm not sure is intended that way... | 14:28 |
tlotze | The lib takes care to apply only to HTML and XML content, so it tests whether the content type (if set) is among text/html and text/xml. | 14:29 |
tlotze | However, it does so by exact comparison, so it would apply to "text/html" but not "text/html; charset=utf-8". | 14:30 |
tlotze | Wouldn't a check like content_type.split(';', 1)[0] in ('text/html', 'text/xml') be more appropriate? | 14:30 |
mgedmin | doesn't zope have any functions for parsing/checking mime types? | 14:32 |
tlotze | might be | 14:32 |
tlotze | right now it's content_type == 'text/html' or content_type == 'text/xml' | 14:32 |
tlotze | So I just kept the abstraction level intact ;o) | 14:33 |
*** philiKON has joined #zope3-dev | 14:33 | |
*** kursor_ has joined #zope3-dev | 14:40 | |
*** kursor has quit IRC | 14:46 | |
*** danfairs has quit IRC | 14:51 | |
*** rcrafton has joined #zope3-dev | 15:00 | |
*** malthe has joined #zope3-dev | 15:05 | |
*** jinty has quit IRC | 15:23 | |
*** hazmat has quit IRC | 15:25 | |
*** benji has joined #zope3-dev | 15:28 | |
*** run|home has quit IRC | 15:28 | |
*** b52laptop has joined #zope3-dev | 15:34 | |
*** thruflo has joined #zope3-dev | 15:39 | |
*** thruflo_ has quit IRC | 15:47 | |
*** jodok has quit IRC | 15:49 | |
*** jodok has joined #zope3-dev | 15:56 | |
*** ignas has joined #zope3-dev | 16:01 | |
*** schwendinger has joined #zope3-dev | 16:05 | |
*** gimni has joined #zope3-dev | 16:20 | |
*** malthe has quit IRC | 16:24 | |
*** philiKON has quit IRC | 16:26 | |
*** jinty has joined #zope3-dev | 16:32 | |
*** regebro has joined #zope3-dev | 16:33 | |
*** philiKON has joined #zope3-dev | 16:33 | |
*** malthe has joined #zope3-dev | 16:38 | |
*** malthe has quit IRC | 16:44 | |
*** huajie has quit IRC | 16:46 | |
*** lucielejard has joined #zope3-dev | 16:46 | |
*** schwendinger has quit IRC | 16:49 | |
*** jinty has quit IRC | 16:51 | |
*** jinty has joined #zope3-dev | 16:51 | |
*** quodt_ has quit IRC | 16:52 | |
*** quodt has joined #zope3-dev | 16:52 | |
*** malthe has joined #zope3-dev | 16:53 | |
*** sorindregan has quit IRC | 16:56 | |
*** jinty has quit IRC | 16:58 | |
*** schwendinger has joined #zope3-dev | 17:03 | |
*** kursor_ has quit IRC | 17:10 | |
*** chaoflow has joined #zope3-dev | 17:13 | |
chaoflow | is there a timeline for moving the concepts of zope.app.container to zope.container, what needs to be done, and how could I help? | 17:13 |
srichter | chaoflow: basically, it should separate the container code from the browser code | 17:14 |
srichter | make sure zope.app.container is backward compatible | 17:14 |
*** mcdonc has joined #zope3-dev | 17:14 | |
*** elro has joined #zope3-dev | 17:16 | |
*** jinty has joined #zope3-dev | 17:17 | |
chaoflow | srichter: ok - did somebody start coding, yet? | 17:17 |
*** hdima has quit IRC | 17:17 | |
chaoflow | I currently using zope-3.3.1. Is it sane to start separating the code there, or should I focus on the latest zope? | 17:18 |
philiKON | you wan tto check out zope.app.container/trunk | 17:18 |
srichter | chaoflow: trunk only, please :-) | 17:18 |
srichter | it would be a zope.app.container 3.5 task | 17:19 |
*** jinty_ has joined #zope3-dev | 17:20 | |
elro | Is there any way to get the context from an invariant? I seem to be reduced to walking the stack :-( | 17:21 |
elro | or maybe I am validating in the wrong place? | 17:21 |
srichter | elro: invariants only get passed in the object that conforms to the interface | 17:22 |
srichter | elro: it makes no sense to have any other context | 17:22 |
*** norro has joined #zope3-dev | 17:24 | |
elro | Right. Essentially I have a list of possible container names and a list of possible contained names. I need to check that the combination is valid, i.e. somfolder[containername][containedname] exists. | 17:24 |
elro | so my validator depends on the (context, container name, contained name) | 17:25 |
elro | where should I be validating this with formlib? | 17:25 |
srichter | elro: I should mention that I am not using formlib | 17:26 |
srichter | elro: however, you invariant object should have all the info | 17:26 |
srichter | oh no, it does not ;-) | 17:26 |
srichter | that's a feature I added in z3c.form ;-) | 17:26 |
elro | indeed :-) | 17:26 |
srichter | in z3c.form the object passed to the invariant has a __context__ attribute that is the object that truly implements the interface | 17:27 |
elro | way too late to change now. think it might be nasty stack hack time... | 17:27 |
*** agroszer_ has joined #zope3-dev | 17:27 | |
* elro wanders if he can somehow register the context as a utility for the duration of a request | 17:28 | |
* mgedmin thinks about stuffing it into a thread local | 17:29 | |
mgedmin | or ignoring the formlib invariant stuff and adding the constraint checking in the appropriate locations directly | 17:29 |
elro | d | 17:30 |
elro | (not the pdb window) | 17:30 |
*** CSWookie has left #zope3-dev | 17:30 | |
*** jsadjohnson_ has joined #zope3-dev | 17:32 | |
*** jsadjohnson has quit IRC | 17:33 | |
mgedmin | what does 'd' do in pdb? | 17:33 |
mgedmin | ah, right | 17:33 |
elro | navigates down the stack | 17:33 |
*** jinty has quit IRC | 17:35 | |
*** agroszer has quit IRC | 17:39 | |
*** agroszer_ is now known as agroszer | 17:39 | |
*** malthe has quit IRC | 17:39 | |
*** jinty_ has quit IRC | 17:42 | |
*** __mac___ has joined #zope3-dev | 17:44 | |
*** __mac__ has quit IRC | 17:44 | |
*** jinty has joined #zope3-dev | 17:44 | |
*** rmarianski has joined #zope3-dev | 17:45 | |
chaoflow | is there a buildout to get zope from trunk up and running? | 17:47 |
*** jsadjohnson_ has quit IRC | 17:50 | |
*** __mac___ has quit IRC | 17:51 | |
*** __mac__ has joined #zope3-dev | 17:51 | |
*** dunny has joined #zope3-dev | 17:52 | |
benji | chaoflow: zopeproject might be able to do that; I've never used it. If I were doing it I'd start with something like http://svn.zope.org/Sandbox/benji/zope3-from-eggs/ | 17:52 |
benji | but that's just me ;) | 17:53 |
*** jinty_ has joined #zope3-dev | 17:54 | |
*** jinty has quit IRC | 17:54 | |
chaoflow | benji: thx | 17:56 |
*** bung_vijay has joined #zope3-dev | 17:57 | |
*** J1m has joined #zope3-dev | 17:59 | |
*** mkerrin has quit IRC | 18:01 | |
*** thruflo_ has joined #zope3-dev | 18:02 | |
*** jsadjohnson has joined #zope3-dev | 18:03 | |
* chaoflow just found out, that zope.app.container is actually a buildout. that explains a lot :) | 18:04 | |
*** pelle_ has quit IRC | 18:05 | |
*** jinty_ has quit IRC | 18:05 | |
*** norro has quit IRC | 18:07 | |
*** norro has joined #zope3-dev | 18:08 | |
*** thruflo has quit IRC | 18:10 | |
*** hazmat has joined #zope3-dev | 18:10 | |
elro | If an adapter can't adapt, what error should it raise? | 18:11 |
mgedmin | it should return None | 18:12 |
mgedmin | the component architecture will then raise a TypeError | 18:12 |
elro | thanks | 18:14 |
*** gstratton_ has joined #zope3-dev | 18:20 | |
*** gimni has quit IRC | 18:25 | |
*** __mac___ has joined #zope3-dev | 18:26 | |
*** __mac__ has quit IRC | 18:26 | |
hazmat | is it possible for zope to serve up a favicon.ico file as a resource at /favicon.ico without adding it to the zodb? | 18:26 |
*** kursor has joined #zope3-dev | 18:27 | |
philiKON | hazmat: well, you could make it a view for ISite or so | 18:28 |
bigkevmcd | I suppose you could register a view with that name? | 18:28 |
bigkevmcd | or what philiKON says :-) | 18:28 |
hazmat | ok that sounds promising, how do you programatically retrieve the resource to return? | 18:31 |
*** __mac___ has quit IRC | 18:31 | |
*** gstratton__ has joined #zope3-dev | 18:31 | |
hazmat | would this do it? resource = queryMultiAdapter((self.context, request), name='++resource++favicon.ico') | 18:32 |
philiKON | no | 18:32 |
philiKON | ++ names aren't part of the adapter names | 18:32 |
philiKON | and resources don't adapt the context | 18:32 |
philiKON | they're context-less | 18:32 |
*** __mac__ has joined #zope3-dev | 18:33 | |
philiKON | hazmat: you do this: | 18:34 |
philiKON | res = z.c.queryAdapter(request, name='favicon.ico') | 18:34 |
philiKON | return res | 18:34 |
hazmat | cool, thanks philiKON | 18:34 |
*** jinty has joined #zope3-dev | 18:35 | |
*** CSWookie has joined #zope3-dev | 18:37 | |
*** gstratton has quit IRC | 18:37 | |
*** jinty_ has joined #zope3-dev | 18:39 | |
*** mcdonc has quit IRC | 18:42 | |
*** mcdonc has joined #zope3-dev | 18:43 | |
*** mcdonc has quit IRC | 18:44 | |
hazmat | philiKON, fwiw its .. return res.GET() | 18:45 |
philiKON | ok :) | 18:46 |
philiKON | or, you could return res in your browserpage's browserDefault | 18:46 |
philiKON | return (res, ('GET')) | 18:46 |
philiKON | or something like that | 18:46 |
*** timte has quit IRC | 18:46 | |
philiKON | but res.GET() should work | 18:46 |
hazmat | yup, and its one less layer of indirection ;-) | 18:47 |
*** rmarianski has quit IRC | 18:47 | |
*** rmarianski has joined #zope3-dev | 18:48 | |
*** gstratton_ has quit IRC | 18:48 | |
*** jinty__ has joined #zope3-dev | 18:49 | |
*** bung_vijay has quit IRC | 18:50 | |
*** jinty has quit IRC | 18:53 | |
*** jinty_ has quit IRC | 18:57 | |
*** nathany has joined #zope3-dev | 19:00 | |
*** lucielejard has quit IRC | 19:04 | |
*** jinty__ has quit IRC | 19:07 | |
*** __cbcunc__ is now known as cbcunc | 19:07 | |
*** rmarianski has quit IRC | 19:07 | |
*** jinty has joined #zope3-dev | 19:08 | |
*** rmarianski has joined #zope3-dev | 19:08 | |
lisppaste6 | chaoflow pasted "zope.app.container version conflict" at http://paste.lisp.org/display/51868 | 19:08 |
chaoflow | when running buildout for zope.app.container, I am getting a version conflict (see link above). Any suggestions? | 19:10 |
*** projekt01 has quit IRC | 19:12 | |
ignas | chaoflow: use KGS | 19:12 |
*** harobed has quit IRC | 19:13 | |
ignas | chaoflow: having index = http://download.zope.org/zope3.4 in my [buildout] section makes the situation a lot more bearable | 19:13 |
chaoflow | ignas: KGS? | 19:14 |
ignas | known good set of eggs | 19:14 |
ignas | eggs that have been tested to work together | 19:14 |
chaoflow | ok | 19:14 |
chaoflow | thx - will check | 19:15 |
*** jinty has quit IRC | 19:16 | |
*** jinty has joined #zope3-dev | 19:17 | |
*** dunny has quit IRC | 19:18 | |
*** jinty_ has joined #zope3-dev | 19:26 | |
*** quodt has quit IRC | 19:27 | |
*** gimni has joined #zope3-dev | 19:31 | |
*** jinty_ has quit IRC | 19:33 | |
*** jinty has quit IRC | 19:34 | |
chaoflow | ignas: that didnt solve it. I am trying to work on zope.app.container trunk, if that is of any help | 19:36 |
* mgedmin sits back with a bag of popcorn to watch the show | 19:38 | |
ignas | chaoflow: in a minute, busy now | 19:38 |
chaoflow | ignas: of course | 19:40 |
mgedmin | wasn't it zope.app.container that I tried to buildout and completely failed, a couple of days ago?... | 19:52 |
mgedmin | no, that was zope.testbrowser | 19:52 |
natea|boston | srichter: ping | 19:53 |
benji | mgedmin: I fixed a buildout configuration bug with zope.testbrowser yesterday; I'd be interested if you still have problems with it | 19:53 |
ignas | chaoflow: i'd just add zope.publisher>=3.5.0a1.dev-r78727 to the eggs section | 19:54 |
ignas | or something like that | 19:54 |
ignas | not sure if it will work | 19:54 |
mgedmin | hm, buildout doesn't understand --version | 19:55 |
mgedmin | benji: I don't know what I'm supposed to be doing | 19:56 |
mgedmin | I've a zope.testbrowser svn checkout | 19:56 |
mgedmin | clean (i.e. svn status is empty) | 19:56 |
chaoflow | ignas: thx - trying it out | 19:56 |
mgedmin | I run buildout with no arguments | 19:56 |
mgedmin | it fails with Error: Couldn't find a distribution for 'zc.recipe.testrunner==1.0.0b8'. | 19:56 |
benji | bootstrap it and run bin/buildout, then bin/test should report all tests passing | 19:56 |
benji | ooh; interesting | 19:56 |
mgedmin | so, I must use bootstrap? | 19:56 |
mgedmin | I can't use a buildout I've installed somewhere else? | 19:57 |
benji | you have to bootstrap it, it can be with another buildout | 19:57 |
* mgedmin likes pushing the boundaries | 19:57 | |
benji | sounds like it's bootstrapped fine | 19:57 |
mgedmin | I never ran the bootstrap.py | 19:57 |
mgedmin | I'm not sure what you mean by "bootstrapped" here | 19:57 |
benji | right, but you used another buildout's bootstrap command | 19:57 |
mgedmin | um, no | 19:58 |
mgedmin | am I supposed to run it? | 19:58 |
benji | you can't get the error you described without a bootstrapped buildout :) | 19:58 |
benji | a clean checkout doesn't have bin/buildout | 19:58 |
mgedmin | what does the buildout script do when I run it without any arguments? | 19:59 |
mgedmin | there's no bin/buildout, but I see bin/py and bin/test | 19:59 |
benji | builds out | 19:59 |
benji | I suggest you run "buildout bootstrap" from some other buildout while your current directory is a fresh zope.testbrowser checkout | 20:00 |
mgedmin | let's take a step back | 20:00 |
benji | then run bin/buildout (from zope.testbrowser) | 20:00 |
mgedmin | I know I'm trying to use it "wrong" because I foolishly insist on using the system python | 20:00 |
mgedmin | I'm just wondering whether this sequence of commands is supposed to work or not: | 20:00 |
*** CSWookie has left #zope3-dev | 20:00 | |
mgedmin | easy_install zc.buildout; svn co http://...project; cd project; buildout; bin/test | 20:01 |
mgedmin | ? | 20:01 |
*** deo has joined #zope3-dev | 20:01 | |
benji | I don't know, never done it that way. | 20:01 |
mgedmin | fair enough | 20:01 |
mgedmin | what do you do? ./bootstrap.py ? | 20:01 |
gstratton__ | python bootstrap.py | 20:02 |
*** davidstryker has joined #zope3-dev | 20:02 | |
mgedmin | fwiw buildout bootstrap; bin/buildout gives me the same error -- zc.recipe.testrunner 1.0.0b8 is just not available from cheeseshop | 20:03 |
mgedmin | wait, it is | 20:03 |
mgedmin | at least I can go to http://cheeseshop.python.org/pypi/zc.recipe.testrunner/1.0.0b8 | 20:03 |
benji | oh! but it's not available from the KGS | 20:04 |
benji | the index for zope.testbrowser was changed recently to point there, and it doesn't have that version | 20:05 |
*** jsadjohnson has quit IRC | 20:05 | |
mgedmin | aha! so the zope.testbrowser buildout.cfg is wrong | 20:06 |
mgedmin | and can be fixed | 20:06 |
benji | yep | 20:06 |
* mgedmin is glad his idle experiments brought an improvement to something | 20:06 | |
benji | remove the b8 and try again | 20:06 |
mgedmin | Error: Couldn't find a distribution for 'zc.recipe.egg==1.0.0b6'. | 20:07 |
mgedmin | do you have a local egg cache that you don't see these errors? | 20:07 |
* mgedmin just interested | 20:07 | |
mgedmin | actually, now that the config file points to KGS, wouldn't it make sense to remove version numbers from it? | 20:09 |
* mgedmin removes the versions = version line from buildout.cfg, and his buildout run succeeds | 20:10 | |
mgedmin | all tests pass, yay | 20:10 |
mgedmin | DeprecationWarning: the gopherlib module is deprecated | 20:11 |
mgedmin | the rest is all shiny | 20:11 |
*** ignas has quit IRC | 20:14 | |
mgedmin | hm, buildout in zope.app.container gives me version conflicts... let's see, it doesn't specify the KGS | 20:17 |
*** mkerrin has joined #zope3-dev | 20:18 | |
*** ChanServ sets mode: +o hazmat | 20:19 | |
*** nathany has quit IRC | 20:20 | |
mgedmin | no luck with the kgs either | 20:22 |
mgedmin | maybe that's because I was supposed to rm -r eggs before retrying with the KGS? | 20:22 |
mgedmin | duh | 20:22 |
philiKON | nope | 20:23 |
philiKON | you should never have to delete anything | 20:23 |
*** thruflo_ has quit IRC | 20:23 | |
mgedmin | We already have: zope.publisher 3.4.1 but zope.traversing 3.5.0a2 requires 'zope.publisher>=3.5.0a1.dev-r78727'. | 20:24 |
mgedmin | what's the reason for this? inconsistent package index? | 20:24 |
mgedmin | where did I get zope.publisher 3.5 from? it's not in kgs | 20:25 |
philiKON | weird | 20:25 |
mgedmin | oh, right | 20:25 |
philiKON | sigh, i think it's because jukart released new zope.app.publisher + zope.traversing eggs | 20:25 |
mgedmin | I got it before I told buildout.cfg to use KGS | 20:25 |
philiKON | which depend on a zope.pubisher that's on pypi | 20:25 |
mgedmin | and now that I've cleared my eggs subdir and reran buildout, everything's fine | 20:25 |
mgedmin | tests pass | 20:26 |
benji | philiKON: if you get eggs or distros from one index in your cache and the buildout uses another index, you can get results that are different from what everyone else would see | 20:26 |
mgedmin | do you think adding 'index = http://download.zope.org/zope3.4' to each of the individual package's buildout.cfg is a good practice or not? | 20:26 |
philiKON | benji: hmm, i suppose | 20:26 |
mgedmin | probably not for development versions that want to depend on newerr libs | 20:26 |
philiKON | ah, wait, he added index = ... | 20:26 |
*** quodt has joined #zope3-dev | 20:26 | |
* philiKON prefers using extends = ... and versions = versions | 20:27 | |
philiKON | because then you really nail the versions down | 20:27 |
mgedmin | please ignore the specifics of my errors | 20:27 |
mgedmin | I'm trying to discover the Right Way | 20:27 |
mgedmin | well... the expected way | 20:27 |
mgedmin | e.g. if you've a C package, you can be expected to untar it; then run ./configure && make | 20:27 |
mgedmin | I would like to know what's the right procedure for working with zope.foo packages from svn | 20:28 |
*** RaFromBRC has joined #zope3-dev | 20:28 | |
mgedmin | okay, with C packages you check out you sometimes have to run ./autogen.sh or autoreconf or something like that before you get a configure script | 20:28 |
mgedmin | also, I'm stubbornly trying to do everything with the system python (2.5) with an old an buggy setuptools version installed right into site-packages, just to make things more fun | 20:29 |
mgedmin | so you should ignore me | 20:29 |
* mgedmin hides | 20:30 | |
*** nathany has joined #zope3-dev | 20:35 | |
*** mgedmin has quit IRC | 20:37 | |
*** greenman has joined #zope3-dev | 20:38 | |
*** ignas has joined #zope3-dev | 20:56 | |
*** natea_ has joined #zope3-dev | 21:02 | |
*** jsadjohnson has joined #zope3-dev | 21:03 | |
*** ignas has quit IRC | 21:05 | |
*** ignas has joined #zope3-dev | 21:08 | |
*** elro has quit IRC | 21:14 | |
*** gimni has quit IRC | 21:17 | |
*** natea|boston has quit IRC | 21:17 | |
*** dobee has quit IRC | 21:24 | |
*** pelle_ has joined #zope3-dev | 21:26 | |
*** dunny has joined #zope3-dev | 21:27 | |
*** pelle_ has quit IRC | 21:28 | |
*** quodt_ has joined #zope3-dev | 21:32 | |
*** agroszer_ has joined #zope3-dev | 21:33 | |
*** quodt__ has joined #zope3-dev | 21:35 | |
*** quodt___ has joined #zope3-dev | 21:36 | |
*** quodt_ has quit IRC | 21:39 | |
*** dobee has joined #zope3-dev | 21:40 | |
*** gstratton__ has quit IRC | 21:43 | |
*** agroszer has quit IRC | 21:45 | |
*** quodt has quit IRC | 21:48 | |
*** quodt__ has quit IRC | 21:53 | |
*** projekt01 has joined #zope3-dev | 22:02 | |
*** timte has joined #zope3-dev | 22:05 | |
*** ktenney has joined #zope3-dev | 22:14 | |
*** rmarianski_ has joined #zope3-dev | 22:16 | |
*** rmarianski has quit IRC | 22:16 | |
*** mkerrin has quit IRC | 22:20 | |
*** natea_ has quit IRC | 22:26 | |
*** greenman has quit IRC | 22:28 | |
*** schwendinger has quit IRC | 22:48 | |
*** stub has quit IRC | 22:50 | |
*** jodok has quit IRC | 22:54 | |
*** kursor has quit IRC | 22:57 | |
*** natea|boston has joined #zope3-dev | 23:05 | |
*** jodok has joined #zope3-dev | 23:09 | |
*** jodok has quit IRC | 23:15 | |
*** quodt has joined #zope3-dev | 23:15 | |
*** jodok has joined #zope3-dev | 23:16 | |
*** quodt_ has joined #zope3-dev | 23:25 | |
*** rmarianski_ has quit IRC | 23:32 | |
*** rmarianski has joined #zope3-dev | 23:32 | |
*** jodok_ has joined #zope3-dev | 23:32 | |
*** quodt___ has quit IRC | 23:33 | |
*** jodok has quit IRC | 23:34 | |
*** jodok_ is now known as jodok | 23:34 | |
*** timte has quit IRC | 23:35 | |
*** alecm has joined #zope3-dev | 23:37 | |
*** jodok_ has joined #zope3-dev | 23:39 | |
*** jodok has quit IRC | 23:39 | |
*** quodt has quit IRC | 23:43 | |
*** Jell-O-Fishi has joined #zope3-dev | 23:46 | |
*** dobee has quit IRC | 23:47 | |
tlotze | argl | 23:49 |
tlotze | I just wanted to release a bug fix to zc.resourcelibrary. | 23:49 |
*** ccomb has quit IRC | 23:49 | |
tlotze | Seeing that 0.6.1 was the last tag, last PyPI release and last CHANGES.txt entry, I tagged 0.6.2. | 23:50 |
tlotze | Now I found that there have been 0.7dev-xxxxx releases uploaded to download.zope.org. | 23:50 |
tlotze | How best to proceed? Release 0.6.2 anyway? Remove the tag and just do another 0.7dev-xxxxx release? | 23:51 |
benji | I would suggest removing the tag and going to 0.8 (no dev) | 23:51 |
tlotze | Hadn't there been discussion to stop doing revision-numbered releases from the trunk? | 23:51 |
tlotze | ah | 23:51 |
tlotze | Well, I'll do that then. | 23:51 |
benji | yep; dev is right out | 23:51 |
tlotze | Why not 0.7? | 23:51 |
benji | because I don't remember how x.y and x.y-dev versions interract; better to just skip the entire mess | 23:52 |
tlotze | k | 23:52 |
benji | as a matter of fact; you could go to 1.0 if you feel frisky | 23:52 |
benji | ;) | 23:52 |
tlotze | nah | 23:52 |
tlotze | not this time of the day ;o) | 23:52 |
tlotze | seriously, I don't feel in a position to make such a judgement | 23:52 |
tlotze | Haven't followed zc.res.lib. development until I found that bug, after all. | 23:53 |
tlotze | I mean, if *you* say it's time for 1.0... | 23:53 |
tlotze | But wait, there's a real reason: I think precisely the content-type parameter stuff should be given some tests first. | 23:54 |
benji | yeah, certainly needs tests; also did you see Fred's comments? | 23:55 |
tlotze | yes | 23:56 |
tlotze | Both strip() and lower() are in it now. | 23:56 |
tlotze | strip was inspired by the contenttype module from the publisher. | 23:56 |
benji | cool; once tests for the changes are done, a release would be in order; I'm cool with either 1.0 or 0.8 | 23:56 |
tlotze | Hm, there having been no tests for the behaviour so far, I'd say I'll do 0.8 now to help my project along, and 1.0 after I've written tests. Fine with you? | 23:57 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!