Re: [Zope-dev] [Fwd: Zope Tests: 4 OK, 2 Failed]

2008-11-29 Thread Benji York
On Sat, Nov 29, 2008 at 2:18 PM, Benji York [EMAIL PROTECTED] wrote: I'm working on a new package (maybe named zope.functionaltesting) that will provide only what's needed for functional testing of Zope 3 apps using testbrowser without all the baggage of zope.app.testing (see http

Re: [Zope-dev] zope.index

2008-12-02 Thread Benji York
just to remove a dependency on zope.testing -- which only depends on zope.interface -- is not compelling. -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] [Checkins] SVN: zope.testbrowser/trunk/ - Switched to Zope 3.4 KGS.

2008-12-08 Thread Benji York
in testbrowser. There's no need to impose a newer version on people who don't need it. Anyone who does need the bug fix can specify the newer version in their project. The revision also disabled nailed versions which is required to keep the buildout reproducible. I've fixed all this in r93784. -- Benji York

Re: [Zope-dev] [Checkins] SVN: zope.testbrowser/trunk/ - Switched to Zope 3.4 KGS.

2008-12-08 Thread Benji York
On Mon, Dec 8, 2008 at 9:18 AM, Gary Poster [EMAIL PROTECTED] wrote: On Dec 8, 2008, at 9:02 AM, Benji York wrote: On Sat, Dec 6, 2008 at 10:28 AM, Christian Zagrodnick [EMAIL PROTECTED] wrote: Log message for revision 93722: - Switched to Zope 3.4 KGS. - New lines are no longer stripped

Re: [Zope-dev] [Checkins] SVN: zc.sourcefactory/trunk/buildout.cfg color by default

2008-12-08 Thread Benji York
+4,5 @@ [test] recipe = zc.recipe.testrunner +defaults = [--auto-color] eggs = zc.sourcefactory [test] -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope-dev] [Checkins] SVN: zc.sourcefactory/trunk/buildout.cfg color by default

2008-12-08 Thread Benji York
On Mon, Dec 8, 2008 at 12:37 PM, Zvezdan Petkovic [EMAIL PROTECTED] wrote: On Dec 8, 2008, at 10:56 AM, Benji York wrote: On Mon, Dec 8, 2008 at 2:22 AM, Michael Howitz [EMAIL PROTECTED] wrote: Log message for revision 93766: color by default This setting apparently causes problems

Re: [Zope-dev] SVN: zope.tal/trunk/src/zope/tal/dummyengine.py assert isn't a function, using parens will cause the two arguments to be treated as a 2-tuple, hence always true.

2008-12-08 Thread Benji York
is that if the tests are run with Python's -O or -OO switches, the asserts will be optimized away. -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] [Checkins] SVN: zc.sourcefactory/trunk/buildout.cfg color by default

2008-12-08 Thread Benji York
On Mon, Dec 8, 2008 at 3:05 PM, Fred Drake [EMAIL PROTECTED] wrote: On Mon, Dec 8, 2008 at 10:56 AM, Benji York [EMAIL PROTECTED] wrote: This setting apparently causes problems for people who use Emacs, so for zope. and zc. packages at least, we don't use --auto-color. I've been using

Re: [Zope-dev] [Checkins] SVN: zope.testbrowser/trunk/ - Switched to Zope 3.4 KGS.

2008-12-09 Thread Benji York
versions requires even less work than forking. -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope-dev] [Checkins] SVN: zope.testbrowser/trunk/ - Switched to Zope 3.4 KGS.

2008-12-09 Thread Benji York
On Tue, Dec 9, 2008 at 9:01 AM, Gary Poster [EMAIL PROTECTED] wrote: On Dec 9, 2008, at 8:43 AM, Benji York wrote: On Mon, Dec 8, 2008 at 12:23 PM, Tres Seaver [EMAIL PROTECTED] wrote: Stripping all versions from the dependencies in setup.py only works if users are willing to run their own

Re: [Zope-dev] Deprecate ITerms in zope.app.form? [Re: zope.browser?]

2008-12-17 Thread Benji York
more about Tres' scenario. -- Benji York Senior Software Engineer Zope Corporation ___ 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

Re: [Zope-dev] bug in zope.testing 3.7.1?

2008-12-19 Thread Benji York
')) return DocFileSuite(*paths, optionflags=REPORT_NDIFF|ELLIPSIS) (You might want to use os.path.pardir instead of '..') -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman

Re: [Zope-dev] Release zc.selenium on pypi

2009-01-07 Thread Benji York
On Wed, Jan 7, 2009 at 7:29 AM, Christian Zagrodnick c...@gocept.com wrote: there is zc.selenium on svn.zope.org which is not on pypi. Could this be released? Yes. Also it speaks of the ZVLS in some files which doesn't seem to be correct. It's not correct. They should all be ZPL. -- Benji

Re: [Zope-dev] [Checkins] SVN: zc.selenium/trunk/src/zc/selenium/resources/scripts/user-extensions.js re-added comment action (which was lost by the selenium upgrade I think).

2009-01-07 Thread Benji York
-- Benji York Senior Software Engineer Zope Corporation ___ 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

Re: [Zope-dev] [Checkins] SVN: zc.selenium/trunk/src/zc/selenium/resources/scripts/user-extensions.js re-added comment action (which was lost by the selenium upgrade I think).

2009-01-07 Thread Benji York
On Wed, Jan 7, 2009 at 8:36 AM, Christian Zagrodnick c...@gocept.com wrote: On 07.01.2009, at 14:34, Benji York wrote: On Wed, Jan 7, 2009 at 7:27 AM, Christian Zagrodnick c...@gocept.com wrote: Log message for revision 94571: re-added comment action (which was lost by the selenium upgrade

Re: [Zope-dev] Some tools from the Launchpad project

2009-01-13 Thread Benji York
On Tue, Jan 13, 2009 at 1:27 PM, Gary Poster gary.pos...@gmail.com wrote: I, or other folks, will hopefully get a chance to send out other announcements of this sort in the future! Very cool. -- Benji York Senior Software Engineer Zope Corporation

Re: [Zope-dev] Some tools from the Launchpad project

2009-01-14 Thread Benji York
, and compliments zope.interface well. However, it seems to me that zope.interface stands on its own without it and the two should remain separate. Luckily in today's setuptools-enabled world, adding in a new dependency is easy, so I don't see much reason to merge these two packages. -- Benji York

Re: [Zope-dev] zope.globalrequest?

2009-01-16 Thread Benji York
past mistakes. Let's not repeat them. -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope-dev] zope.globalrequest?

2009-01-22 Thread Benji York
a code snippet that does it: http://wiki.zope.org/zope3/FAQProgramming#how-do-i-get-irequest-object-in-event-handler -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope-dev] [Checkins] SVN: relstorage/trunk/ Corporation - Foundation

2009-01-25 Thread Benji York
. +# Copyright (c) 2008 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http

Re: [Zope-dev] zope.security changes

2009-01-30 Thread Benji York
in dependencies like crazies, creating more dependency cycles. I think a new package might be in order. How about a namespace package zope.zcml? -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http

Re: [Zope-dev] zope.security changes

2009-01-30 Thread Benji York
On Fri, Jan 30, 2009 at 4:44 PM, Martijn Faassen faas...@startifact.com wrote: Benji York wrote: On Fri, Jan 30, 2009 at 12:01 PM, Martijn Faassen faas...@startifact.com wrote: No, not there either, as zope.configuration doesn't define *any* directives except the basic ones like 'include

Re: [Zope-dev] Zope 3.4.0 Released!

2009-01-31 Thread Benji York
On Sat, Jan 31, 2009 at 2:33 AM, Stephan Richter srich...@cosmos.phy.tufts.edu wrote: Zope 3.4 requires Python 2.4 or 3.5 to run. /me goes to download Python 3.5. -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope

Re: [Zope-dev] Zope 3.4.0 Released!

2009-02-02 Thread Benji York
? Was the removal of the old file intentional? -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope-dev] zope3docs

2009-02-02 Thread Benji York
that they know roughly how to move in our community. A hearty +1 from me. I have very little time to spend, but I'm sure I'll at least read what you produce in hopes of helping how I can. -- Benji York Senior Software Engineer Zope Corporation ___ Zope

Re: [Zope-dev] Zope 3.4.0 Released!

2009-02-02 Thread Benji York
On Mon, Feb 2, 2009 at 10:10 AM, Stephan Richter srich...@cosmos.phy.tufts.edu wrote: On Monday 02 February 2009, Benji York wrote: On Sat, Jan 31, 2009 at 2:33 AM, Stephan Richter srich...@cosmos.phy.tufts.edu wrote: - Zope 3.4 Versions: http://download.zope.org/zope3.4/3.4.0

Re: [Zope-dev] [Checkins] SVN: z3c.pt/trunk/CHANGES.txt Reformatted changelog dates.

2009-02-20 Thread Benji York
/19) +~~ ISO dates (-MM-DD) are more clearly to read. When using slashes it is not always clear what is the month and what is the day. +1 -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev

Re: [Zope-dev] [Checkins] SVN: z3c.mimetype/ Create infrastructure for z3c.mimetype

2009-02-24 Thread Benji York
,branches} Using the `z` trick, that would be: svn mkdir `z`/new-project{,trunk,tags,branches} -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] [Checkins] SVN: zope.file/trunk/ Update package mailing list address. Remove zpkg stuff.

2009-03-02 Thread Benji York
like the above. -- Benji York Senior Software Engineer Zope Corporation ___ 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

Re: [Zope-dev] [Checkins] SVN: zope.file/trunk/ Update package mailing list address. Remove zpkg stuff.

2009-03-05 Thread Benji York
can remove the slug files.  My initial reaction to Dan's removal was that the checkin message (remove zpkg stuff) had nothing to do with that particular change:  'zpkg' was entirely separate from slugs. Same here. -- Benji York Senior Software Engineer Zope Corporation

Re: [Zope-dev] setup.py extra dependencies

2009-03-05 Thread Benji York
On Thu, Mar 5, 2009 at 1:43 PM, Martijn Faassen faas...@startifact.com wrote: [snip proposal to stop using extras] Opinions? +1 -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org

Re: [Zope-dev] the future of ZCML slugs?

2009-03-06 Thread Benji York
On Fri, Mar 6, 2009 at 9:52 AM, Martijn Faassen faas...@startifact.com wrote: Since nobody spoke up in favor of ZCML slugs, I'm going to record an official policy they can be removed. +1 -- Benji York Senior Software Engineer Zope Corporation

Re: [Zope-dev] Python3 and attribute annotations.

2009-03-10 Thread Benji York
On Mon, Mar 9, 2009 at 6:01 PM, Gary Poster gary.pos...@gmail.com wrote: If we do make changes for this purpose, I'd like to no longer use the __*__ pattern. +1 -- new or changed attributes should follow some other pattern -- Benji York Senior Software Engineer Zope Corporation

Re: [Zope-dev] Namespace declaration using pkgutil vs pkg_resources

2009-03-11 Thread Benji York
will do. Indeed. -- Benji York Senior Software Engineer Zope Corporation ___ 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

Re: [Zope-dev] Proposal: refactoring of zope.app.security

2009-03-11 Thread Benji York
. It's also quite useful for tests. bikeshed Maybe we can use the description or long_description field in the setup.py for the package mission statement /bikeshed -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist

Re: [Zope-dev] setting missing minimum version in setup.py

2009-03-16 Thread Benji York
in its buildout using the KGS against which it works (plus any exceptions). People could then refer to that to know what versions it actually works with and they can verify that it works by running the tests. -- Benji York Senior Software Engineer Zope Corporation

Re: [Zope-dev] [Checkins] SVN: zope.annotation/trunk/setup.py Whitespace fixes

2009-04-02 Thread Benji York
',         'zope.interface',         'zope.location',         'zope.proxy',         ],     extras_require=dict(         test=[             'ZODB3',             'zope.testing',             ],         ), +1 -- Benji York Senior Software Engineer Zope Corporation

Re: [Zope-dev] [Checkins] SVN: zope.app.generations/trunk/src/zope/app/generations/README.txt made blocks consistent

2009-04-06 Thread Benji York
code ? From the above documentations, I can see that it works for doctest. And we have used it in many places.  Also in PyPI (long_description), it looks better. Please see http://mail.zope.org/pipermail/zope-dev/2008-August/033010.html (adding zope-dev and removing checkins) -- Benji York Senior

Re: [Zope-dev] [Checkins] SVN: zope.app.generations/trunk/src/zope/app/generations/README.txt made blocks consistent

2009-04-06 Thread Benji York
On Mon, Apr 6, 2009 at 2:19 PM, Baiju M mba...@zeomega.net wrote: On Mon, Apr 6, 2009 at 11:56 AM, Benji York be...@zope.com wrote: [snip] Please see http://mail.zope.org/pipermail/zope-dev/2008-August/033010.html So we should not use either single colon (:) or indent doctest ? Single colons

Re: [Zope-dev] naming Zope

2009-04-08 Thread Benji York
management structure, not something outsiders would be interested in. -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

Re: [Zope-dev] Defining Zope 3.

2009-04-16 Thread Benji York
by Zope 2, Plone, Grok, Repoze.bfg, and by many other different applications and frameworks. +lots I don't think trying to guess which parts or packages will die is a particularly useful exercise. Indeed. -- Benji York Senior Software Engineer Zope Corporation

Re: [Zope-dev] z3c.javascript license question

2009-04-17 Thread Benji York
correctly. -- Benji York Senior Software Engineer Zope Corporation ___ 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

Re: [Zope-dev] Release management proposal

2009-04-22 Thread Benji York
that will mitigate this? -- Benji York Senior Software Engineer Zope Corporation ___ 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

Re: [Zope-dev] Release management proposal

2009-04-22 Thread Benji York
On Wed, Apr 22, 2009 at 10:55 AM, Wichert Akkerman wich...@wiggy.net wrote: Previously Benji York wrote: On Wed, Apr 22, 2009 at 10:06 AM, Wichert Akkerman wich...@wiggy.net wrote: I want to suggest two changes to the standard release process: 1. use sdist --formats=zip. This works around

Re: [Zope-dev] zope.testing broken!

2009-05-02 Thread Benji York
can confirm the fix. -- Benji York Senior Software Engineer Zope Corporation ___ 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

Re: [Zope-dev] dropping Python 2.4 support in the Zope Toolkit?

2009-05-05 Thread Benji York
versions Python Most people seem to be moving to 2.5 or 2.6 and we (the community) don't have a good infrastructure to support 2.4, 2.5, and 2.6 on each of the platforms we want. -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev

Re: [Zope-dev] [Checkins] SVN: zope.app.publisher/trunk/ To makebrowsers update their caches of resources immediately when the

2009-06-09 Thread Benji York
of ++noop++, but would also like to see it in a z3c (or similar) package. -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

Re: [Zope-dev] [Checkins] SVN: zope.app.publisher/trunk/ To make browsers update their caches of resources immediately when the

2009-06-10 Thread Benji York
to the zope namespace. Or not, there's no reason all widely used packages have to be in zope.*. -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] tabs in the source

2009-06-22 Thread Benji York
On Mon, Jun 22, 2009 at 1:16 PM, Adam GROSZERagros...@gmail.com wrote: Hello, Maybe it's time for an svn commit police squad? /me readies the tear gas. -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev

[Zope-dev] Manuel Beta

2009-06-24 Thread Benji York
and what benefits it has). -- Benji York Senior Software Engineer Zope Corporation ___ 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

Re: [Zope-dev] Manuel Beta

2009-06-24 Thread Benji York
* want to keep a file on-disk but still include part or all of it in a document. -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] Manuel Beta

2009-06-24 Thread Benji York
at the moment. I'll look and see if there's a good way to do so. -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

Re: [Zope-dev] Manuel Beta

2009-06-24 Thread Benji York
On Wed, Jun 24, 2009 at 6:07 PM, Chris Withersch...@simplistix.co.uk wrote: Benji York wrote: --- begin quote --- Contents of myfile.zcml::    configure xmlns=http://namespaces.zope.org/zope;    blah blah blah    /configure .. - config     import tmpfile     f = tmpfile.mkstemp

[Zope-dev] zope.html with FCKEditor security fix

2009-07-06 Thread Benji York
Version 1.2.0 of zope.html has just been released. It includes the security fix release of FCKEditor (2.6.4.1) which addresses http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-2265. -- Benji York Senior Software Engineer Zope Corporation

Re: [Zope-dev] test setup layer sorting

2009-07-13 Thread Benji York
On Mon, Jul 13, 2009 at 5:55 AM, Marius Gedminasmar...@gedmin.as wrote: Personally I would much prefer for the unit test layer to be sorted first.  It is already treated specially by zope.testing; I see no harm in hardcoding its sort order. +1 -- Benji York Senior Software Engineer Zope

Re: [Zope-dev] [Checkins] SVN: zope.testing/trunk/ when a test module does not define a test_suite, first try to load any unittest.TestCase descendants in it before complaining it does not contain any

2009-07-24 Thread Benji York
the test discovery protocol recently added to the Python standard library and backported as the discover module (http://pypi.python.org/pypi/discover). -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org

Re: [Zope-dev] How to update the ZTK KGS (was Re: Working KGS tool! (was Re: IRC discussion about testing))

2009-08-14 Thread Benji York
needs to record the svn revision # tested. By buildbot output do you mean simply the fact that all tests passed on all platforms? -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org

Re: [Zope-dev] How to update the ZTK KGS (was Re: Working KGS tool! (was Re: IRC discussion about testing))

2009-08-14 Thread Benji York
to. -- Benji York Senior Software Engineer Zope Corporation ___ 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

Re: [Zope-dev] How to update the ZTK KGS (was Re: Working KGS tool! (was Re: IRC discussion about testing))

2009-08-14 Thread Benji York
. A good policy might be that development is done on branches (as much development is done now) and a branch shouldn't be merged to the trunk unless all the tests pass (on all platforms). -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev

Re: [Zope-dev] How to update the ZTK KGS (was Re: Working KGS tool! (was Re: IRC discussion about testing))

2009-08-14 Thread Benji York
only apply to packages in the ZTK. That's what I was thinking. I think I'd rather decouple management of individual projects from management of the KGS.  I wonder what other people think. That's a reasonable stance. -- Benji York Senior Software Engineer Zope Corporation

Re: [Zope-dev] Subversion externals versus mirroring

2009-09-09 Thread Benji York
to merge a feature branch back to the trunk once was also quite irritating. Plus the merge info properties constantly polluted svn diff and svn stat output as well as our commit email (the latter is fixable of course). After trying for a few months we abandoned it. YMMV. -- Benji York Senior

Re: [Zope-dev] writing and checking files with Manuel [PS]

2009-09-10 Thread Benji York
dedenting the text before I write it or use it for comparison. Any ideas? I would; manuel.capture does. -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] [Checkins] SVN: zope.app.security/trunk/ keep trunk version at 0. Update changes

2009-09-10 Thread Benji York
it for three reasons: 3) so superfluous version bumps on the trunk Amongst the reasons I like it are that: - when using a checkout as a develop egg you don't have to worry about finding out the exact version used on the trunk, you can always just use 0. -- Benji York Senior Software Engineer Zope

Re: [Zope-dev] [Checkins] SVN: zope.app.security/trunk/ keep trunk version at 0. Update changes

2009-09-10 Thread Benji York
On Thu, Sep 10, 2009 at 5:20 PM, Wichert Akkerman wich...@wiggy.net wrote: On 2009-9-10 22:23, Benji York wrote: 2) if you accidentally make a trunk release no one will accedentally use it    because it will be the oldest release on PyPI instead of the newest, Doesn't it break all versioned

Re: [Zope-dev] [Checkins] SVN: zope.app.security/trunk/ keep trunk version at 0. Update changes

2009-09-11 Thread Benji York
with this policy because it will have version 0 and can no longer satisfy the = 2.1 requirement. Gotcha. Yep that's a down side of the zero approach. For me the scale still tips to using zero as the trunk version. -- Benji York Senior Software Engineer Zope Corporation

Re: [Zope-dev] [Checkins] SVN: zope.app.security/trunk/ keep trunk version at 0. Update changes

2009-09-11 Thread Benji York
On Fri, Sep 11, 2009 at 9:07 AM, Marius Gedminas mar...@gedmin.as wrote: On Thu, Sep 10, 2009 at 04:23:31PM -0400, Benji York wrote: 3) [no] superfluous version bumps on the trunk I don't understand this one.  Could you elaborate? The current practice is that after doing a release you have

Re: [Zope-dev] [Checkins] SVN: zope.app.security/trunk/ keep trunk version at 0. Update changes

2009-09-11 Thread Benji York
, if you are going to release to pypi, there are tools like zest.releaser which make doing a release in the official way a snap (version-bump and all). That's good to know. -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist

Re: [Zope-dev] [Checkins] SVN: zope.app.security/trunk/ keep trunk version at 0. Update changes

2009-09-11 Thread Benji York
be a small loss for most people working on ZTK projects. For the way I develop non-ZTK software the zeros are a small win. Luckily most of the software I develop isn't in the ZTK, so I'm fine with the status quo. -- Benji York Senior Software Engineer Zope Corporation

Re: [Zope-dev] [Checkins] SVN: zope.app.security/trunk/ keep trunk version at 0. Update changes

2009-09-11 Thread Benji York
On Fri, Sep 11, 2009 at 10:41 AM, Martijn Faassen faas...@startifact.com wrote: Benji York wrote: On Fri, Sep 11, 2009 at 8:53 AM, Martijn Faassen faas...@startifact.com wrote: Well, the official policy of the ZTK is still to use the 'dev' approach. We can't just suddenly start to use

Re: [Zope-dev] official release policy ZTK is still not changed

2009-09-11 Thread Benji York
. The proposed change would make this tool simpler.  More importantly, it makes things simpler for people who don't use the tool. +1 -- reducing the number of tools necessary to (easily) accomplish a particular task is valuable. -- Benji York Senior Software Engineer Zope Corporation

Re: [Zope-dev] official release policy ZTK is still not changed

2009-09-15 Thread Benji York
and review. Well said. -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman

Re: [Zope-dev] Proposal: Determining packages which are in the ZTK

2009-09-21 Thread Benji York
examples of using Manuel: Rendered as HTML at http://packages.python.org/manuel/ Source at http://svn.zope.org/*checkout*/manuel/trunk/src/index.txt -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org https

Re: [Zope-dev] Removing zope.testrecorder from the ZTK

2009-10-07 Thread Benji York
the ZTK. -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope

Re: [Zope-dev] Testrunner option for running tests in random order?!?

2009-10-09 Thread Benji York
in option parsing, but I didn't find anything... I'd try the same approach as default options in Python functions. Make the default None (which isn't a valid seed) and then you can tell the difference. -- Benji York Senior Software Engineer Zope Corporation

Re: [Zope-dev] make zope.component.registry.Components inherit from dict?

2009-11-24 Thread Benji York
). As far as I can tell you don't want any of the ZCA functionality (named utilities, overriding, etc.), so divorcing this from the ZCA seems appropriate. I still don't quite see why a module global dictionary doesn't meet your needs. -- Benji York

Re: [Zope-dev] Zope3 server with SIGSEGV - what to do?

2009-11-24 Thread Benji York
https://bugs.launchpad.net/zope3/+bug/181833. -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope

Re: [Zope-dev] Zope3 server with SIGSEGV - what to do?

2009-11-25 Thread Benji York
backport the fix and do a 3.4.x bug-fix release. -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo

Re: [Zope-dev] Releasing zope.browserresource

2009-11-25 Thread Benji York
: scroll; max-height: 15em; width: 15em; overflow-x: hidden}'); -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman

Re: [Zope-dev] improving the utility and adapter lookup APIs

2009-11-25 Thread Benji York
this for Christmas. :) /me pens a letter to Zanta Claus. -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman

Re: [Zope-dev] improving the utility and adapter lookup APIs

2009-11-26 Thread Benji York
On Wed, Nov 25, 2009 at 11:17 AM, Matthew Wilkes matt...@matthewwilkes.co.uk wrote: On 2009-11-25, at 1601, Benji York wrote: I'm not sure I like the following suggestion better than the above, but throwing it out there anyway: Multiadapter: IFoo((x,y)) I know it's probably a spurious

Re: [Zope-dev] Releasing zope.browserresource

2009-11-26 Thread Benji York
be suggesting that the recent fix be reverted and they instead use the CSS I posted earlier. -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https

Re: [Zope-dev] Zope3 server with SIGSEGV - what to do?

2009-11-26 Thread Benji York
can pinpoint the reason and confirm the bug for zope.security-3.4.1? As a first step, I suggest putting 3.4.3 in production and seeing if the segfaults stop. -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo

Re: [Zope-dev] improving the utility and adapter lookup APIs

2009-11-26 Thread Benji York
On Thu, Nov 26, 2009 at 9:04 AM, Leonardo Rochael Almeida leoroch...@gmail.com wrote: On Thu, Nov 26, 2009 at 14:34, Benji York be...@zope.com wrote: On Wed, Nov 25, 2009 at 11:17 AM, Matthew Wilkes I know it's probably a spurious use case, but what if I want to adapt a tuple? There could

Re: [Zope-dev] zope.testing.testrunner.debug.post_mortem and try/finally

2009-12-02 Thread Benji York
effect as editing the code without actually having to do so. -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman

Re: [Zope-dev] zope.testing.testrunner.debug.post_mortem and try/finally

2009-12-02 Thread Benji York
On Wed, Dec 2, 2009 at 5:06 PM, Marius Gedminas mar...@gedmin.as wrote: On Wed, Dec 02, 2009 at 01:36:37PM -0500, Benji York wrote: Here's another idea: a testrunner option that takes a file name and line number and inserts a breakpoint at that position.  That way you can get the same effect

Re: [Zope-dev] Releasing zope.browserresource

2009-12-02 Thread Benji York
. Feel free to +1 the issue if you feel so moved: https://sourceforge.net/tracker/?func=detailaid=2906878group_id=66150atid=513503 -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] ZCA proposal

2009-12-03 Thread Benji York
IFoocontext for single adapters and IFooa, b, c for multiapdapters. I suppose we could do: IFoocontext and IFooa, b, c instead. Somehow I suspect that'll provoke a gag reflex in the most Pythonic among us as well as annoy those that want something googlable for the uninformed code reader. -- Benji York

Re: [Zope-dev] zope.testing.testrunner.debug.post_mortem and try/finally

2009-12-03 Thread Benji York
. One day. -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org

Re: [Zope-dev] windows newslines in doctests

2009-12-14 Thread Benji York
be interested in seeing a doctest that has problems. Do you: ... - something else I'm not aware of :-) Maybe NORMALIZE_WHITESPACE would help. -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] zope.testing feature creep in release (WAS: zope.testing.doctestunit and BBB)

2009-12-23 Thread Benji York
to the project trunk. We've inherited a communal process from the pre-explosion days that worked well there, but there are just too many projects for the community to keep track of and to care for. -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https

Re: [Zope-dev] small manuel bugfix

2009-12-25 Thread Benji York
take. There's probably no need to reflect this in the documentation, so non-documentation flavored tests are appropriate. -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] small manuel bugfix

2009-12-26 Thread Benji York
. Thanks. -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org

Re: [Zope-dev] windows newslines in doctests

2009-12-31 Thread Benji York
to using universal new line mode, but since I haven't seen an example of a filing test I can't be sure if it'll help or not. -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] patterns for using sphinx with the Zope Toolkit?

2010-01-03 Thread Benji York
the code. .. code-block:: python a = Foo() b = a.bar() .. make sure the above worked correctly b.baz 42 -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] zope.testing 3.8.6 emits deprecation warnings from itself?

2010-01-03 Thread Benji York
') -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo

Re: [Zope-dev] patterns for using sphinx with the Zope Toolkit?

2010-01-03 Thread Benji York
On Sun, Jan 3, 2010 at 4:48 PM, Lennart Regebro rege...@gmail.com wrote: On Sun, Jan 3, 2010 at 22:08, Benji York be...@zope.com wrote: Occasionally you want to show some code but hide the assertions about the effects of the code.  You can do that by putting the tests in a reST comment after

Re: [Zope-dev] patterns for using sphinx with the Zope Toolkit?

2010-01-03 Thread Benji York
exclusively. The only place zope.testing.doctest is used is to be compatible with zope.testing's expectations. I just took a stab at removing all references to zope.testing.doctest from Manuel and got it to work using the zope.testing trunk (Manuel needs DocTestFailureException). -- Benji York

Re: [Zope-dev] patterns for using sphinx with the Zope Toolkit?

2010-01-03 Thread Benji York
.. code-block-setup:: and .. code-block-teardown:: with .. invisible-code-block:: python you can do that with Manuel now (http://packages.python.org/manuel/#invisible-code-blocks). -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org

Re: [Zope-dev] windows newslines in doctests

2010-01-06 Thread Benji York
Manuel 1.0.3 -- available on PyPI -- opens files in universal newline mode. I hope that fixes your newline problem -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] small manuel bugfix

2010-01-06 Thread Benji York
On Fri, Dec 25, 2009 at 9:37 PM, Chris McDonough chr...@plope.com wrote: I added a branch of manuel to the Zope SVN that fixes the codeblock plugin when you use codeblock roles such as: I've released Manuel 1.0.3 which includes this fix. -- Benji York

<    1   2   3   >