[Zope-dev] Re: testing a meta-egg
On 2008-04-04 14:22:06 +0200, Jim Fulton <[EMAIL PROTECTED]> said: On Apr 4, 2008, at 7:14 AM, Adam GROSZER wrote: Hello, Is there a sane way (or recipe) out there that makes testing a meta-eggs easier? As I see now, I'll need to enter all dependent eggs as: [test] recipe = zc.recipe.testrunner eggs = my-meta-egg [test] dep-egg-1 [test] dep-egg-2 [test] ... zope.interface [??test??] Seems like buildout "knows" which eggs should be there. This would be needed for a pre-installation test on the target system. We need to make sure that all tests pass before going into production. Any help is appreciated. IMO, testing the dependent eggs isn't desirable, however, I don't object to providing an option to do it. It might be better to just provide a variable containing all the dependent eggs like ${test:dependent-eggs}. You could do what ever you want then. -- Christian Zagrodnick gocept gmbh & co. kg · forsterstrasse 29 · 06112 halle/saale www.gocept.com · fon. +49 345 12298894 · fax. +49 345 12298891 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: Setting the size of a zope.formlib's schema html input
On 2008-04-07 03:41:34 +0200, "Marcelo de Moraes Serpa" <[EMAIL PROTECTED]> said: Hello, This might sound lik a stupid question, but I couldn't find any simple solution or answer for this anywhere else, so hopefully someone in this list knows the answer. I'm using zope.formlib to generate a simple contact form. It is simple and effective. But the framework complicates for simple things such as setting the size of a textfield. I don't want all the textfields to be of the same size - I want that, depending on the field, the size of the html input will vary. And that's exactly what I couldn't do as of yet. Does anyone know how could I set the size of a textfield? Take this as example: Telefone = schema.TextLine(title=_(u"Telefone para Contato"), required=True) Is there an attribute like size or something? No, use CSS for layout. :) You could also use a custom widget which has a different size, but CSS might be the more correct separation. Regards, -- Christian Zagrodnick gocept gmbh & co. kg · forsterstrasse 29 · 06112 halle/saale www.gocept.com · fon. +49 345 12298894 · fax. +49 345 12298891 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Non-ASCII characters in URLs
--On 6. April 2008 16:37:22 -0700 Alexander Limi <[EMAIL PROTECTED]> wrote: Hi, Is there a good technical explanation for why Zope doesn't allow non-ASCII characters in URLs? I'd like to be able to let URLs work like this example from Wikipedia: http://ja.wikipedia.org/wiki/メインページ When I try adding an object with ID "メインページ" in Zope 2, I get the following error message: Error Type: BadRequest Error Value: The id "メインページ " contains characters illegal in URLs. Is there a fundamental reason (ie. Python objects can only be ASCII) or is it simply bugs that need to be fixed? As Paul indicated: the issue dates back to the times when there was only ASCII in the URL world. Especially object IDs have to be ascii - well...Zope came from US :-) Andreas pgpJMq7CsKKOG.pgp Description: PGP signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Non-ASCII characters in URLs
On Sun, Apr 06, 2008 at 04:37:22PM -0700, Alexander Limi wrote: > Hi, > > Is there a good technical explanation for why Zope doesn't allow non-ASCII > characters in URLs? I suspect it's only for hysterical raisins. The code in question is in OFS/ObjectManager.py, in the checkValidId() function. Non-ASCII characters trigger a match on the bad_id regular expression search. As I recall, if you look at the revision history, that code is very old. There might even be an existing bug filed about this; I don't remember. -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Setting the size of a zope.formlib's schema html input
Hello, This might sound lik a stupid question, but I couldn't find any simple solution or answer for this anywhere else, so hopefully someone in this list knows the answer. I'm using zope.formlib to generate a simple contact form. It is simple and effective. But the framework complicates for simple things such as setting the size of a textfield. I don't want all the textfields to be of the same size - I want that, depending on the field, the size of the html input will vary. And that's exactly what I couldn't do as of yet. Does anyone know how could I set the size of a textfield? Take this as example: Telefone = schema.TextLine(title=_(u"Telefone para Contato"), required=True) Is there an attribute like size or something? Thanks in advance, Marcelo. ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Non-ASCII characters in URLs
Hi, Is there a good technical explanation for why Zope doesn't allow non-ASCII characters in URLs? I'd like to be able to let URLs work like this example from Wikipedia: http://ja.wikipedia.org/wiki/メインページ When I try adding an object with ID "メインページ" in Zope 2, I get the following error message: Error Type: BadRequest Error Value: The id "メインページ" contains characters illegal in URLs. Is there a fundamental reason (ie. Python objects can only be ASCII) or is it simply bugs that need to be fixed? Curiously yours, -- Alexander Limi · http://limi.net ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: Let's fix the damned website
Alexander Limi wrote: On Sat, 05 Apr 2008 08:52:07 -0700, Martin Aspeli <[EMAIL PROTECTED]> wrote: Now we need people to help contribute content, review the content that's already there and tie up a few loose ends. You can see current state of play here: http://zode01.lovelysystems.com. Awesome! It looks great, and is a fantastic starting point. Some quick feedback from my initial browsing of the site, do with it what you want. ;) - Try not to be too clever with the "Taste"/"Get" and other links. People actually scan for links that are similar from other projects, and having to interpret/understand them is confusing. I would definitely switch "Taste" to "Examples", and possibly "Get" to "Download" (as a bonus, you get a bigger click target ;). - The list of companies using Zope includes several examples that look very out of place (i-Gift?), and even some that went bankrupt 7 years ago (Storm Linux). Try to narrow it down to either global brands that anyone will recognize (Red Hat, NASA, GE), or — where this is not possible — go for a market leader in that particular area (plone.org for example lists Oxfam — while not necessarily known by the average person, everybody in the non-profit space know who they are). - The icons for the "Key Features of Zope" look very out of place. Underwear for standards? Donuts for community? Makes no sense to me, at least. :) - I assume the front page text is still being worked on, but "Zope is an open source framework for building web applications" is repeated 3 times on the front page. Thanks Alex! All the text is indeed very much draft. I really hope we get a few more volunteers so that we can get it to be more complete. Cheers, Martin -- Author of `Professional Plone Development`, a book for developers who want to work with Plone. See http://martinaspeli.net/plone-book ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: Let's fix the damned website
On Sat, 05 Apr 2008 08:52:07 -0700, Martin Aspeli <[EMAIL PROTECTED]> wrote: Now we need people to help contribute content, review the content that's already there and tie up a few loose ends. You can see current state of play here: http://zode01.lovelysystems.com. Awesome! It looks great, and is a fantastic starting point. Some quick feedback from my initial browsing of the site, do with it what you want. ;) - Try not to be too clever with the "Taste"/"Get" and other links. People actually scan for links that are similar from other projects, and having to interpret/understand them is confusing. I would definitely switch "Taste" to "Examples", and possibly "Get" to "Download" (as a bonus, you get a bigger click target ;). - The list of companies using Zope includes several examples that look very out of place (i-Gift?), and even some that went bankrupt 7 years ago (Storm Linux). Try to narrow it down to either global brands that anyone will recognize (Red Hat, NASA, GE), or — where this is not possible — go for a market leader in that particular area (plone.org for example lists Oxfam — while not necessarily known by the average person, everybody in the non-profit space know who they are). - The icons for the "Key Features of Zope" look very out of place. Underwear for standards? Donuts for community? Makes no sense to me, at least. :) - I assume the front page text is still being worked on, but "Zope is an open source framework for building web applications" is repeated 3 times on the front page. Nice work, everyone! -- Alexander Limi · http://limi.net ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Have you checked on the latest commits?
Dear Marius, I was just wondering when you would like to review my updates to zope.sendmail based on your review. I want to get teh branch to the point where it gets merged. Cheers, and many thanks for your time. It is really appreciated. Best Regards, Matthew Grant signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope Tests: 5 OK
Summary of messages to the zope-tests list. Period Sat Apr 5 11:00:00 2008 UTC to Sun Apr 6 11:00:00 2008 UTC. There were 5 messages: 5 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.8 Python-2.3.6 : Linux From: Zope Tests Date: Sat Apr 5 21:00:24 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-April/009360.html Subject: OK : Zope-2.9 Python-2.4.4 : Linux From: Zope Tests Date: Sat Apr 5 21:01:54 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-April/009361.html Subject: OK : Zope-2.10 Python-2.4.4 : Linux From: Zope Tests Date: Sat Apr 5 21:03:25 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-April/009362.html Subject: OK : Zope-2.11 Python-2.4.4 : Linux From: Zope Tests Date: Sat Apr 5 21:04:55 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-April/009363.html Subject: OK : Zope-trunk Python-2.4.4 : Linux From: Zope Tests Date: Sat Apr 5 21:06:25 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-April/009364.html ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )