Re: [Zope-CMF] Fighting the Zope 2.9 testrunner

2006-03-21 Thread Chris Withers

Jens Vagelpohl wrote:


 From the old testrunner, which I miss *a lot*, I could ensure I am 
indeed running a specific module by doing...


Yup, this is one of the things I like least from the Zope 3 world. What 
happened to proposals and community agreement before inflicting big 
changes on other people who're trying to help out?


I particularly hate the fact that no real effort was put into backwards 
compatibility, not to mention those silly weird 
sort-of-fifty-dots-per-line thing that doesn't actually work.


My other big bug bear is what I've read about make-make-install no 
longer working in 2.9. Why on earth was this just broken without any 
thought to the vast number of people who rely on this as a simple way to 
quickly get a new release onto a number of boxes?


I've been very happy to see the majority of the stuff in Zope 3, but it 
seems some things like this are getting rushed through without a lot of 
thought and consideration, which seems very un-zope-3 to me :-(


Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


[Zope-CMF] CMF Collector: Open Issues

2006-03-21 Thread tseaver
The following supporters have open issues assigned to them in this collector
(http://www.zope.org/Collectors/CMF).

Assigned and Open


  jens

- CachingPolicyManager: Make Max-Age parameter dynamic,
  [Accepted] http://www.zope.org/Collectors/CMF/405


  mhammond

- Windows DevelopmentMode penalty in CMFCore.DirectoryView,
  [Accepted] http://www.zope.org/Collectors/CMF/366


Pending / Deferred Issues

- Wrong cache association for FSObject,
  [Pending] http://www.zope.org/Collectors/CMF/255

- CMFSetup: Windows exports contain CR/LF, LF and even CR newlines,
  [Pending] http://www.zope.org/Collectors/CMF/266

- FSPropertiesObject.py cannot handle multiline input for lines, text 
attributes,
  [Deferred] http://www.zope.org/Collectors/CMF/271

- Can't invalidate skin items in a RAMCacheManager,
  [Pending] http://www.zope.org/Collectors/CMF/343

- CMFSetup: Workflow Tool export fails with workflows which have scripts,
  [Pending] http://www.zope.org/Collectors/CMF/373

- CMFCore.Skinnable.SkinnableObjectManager can merge skin data,
  [Pending] http://www.zope.org/Collectors/CMF/375

- Proxy Roles does't work for a Script using portal_catalog.searchResults,
  [Pending] http://www.zope.org/Collectors/CMF/380

- WorkflowAction deprecated warning should not printed for WorkflowMethod,
  [Pending] http://www.zope.org/Collectors/CMF/388

- workflow notify success should be after reindex,
  [Pending] http://www.zope.org/Collectors/CMF/389

- Content in Setup gets Cleared (Content Import Handler),
  [Pending] http://www.zope.org/Collectors/CMF/404

- index_html manage_workspace and view error,
  [Pending] http://www.zope.org/Collectors/CMF/406

- workflow interface out of date on 1.5 branch,
  [Pending] http://www.zope.org/Collectors/CMF/407


Pending / Deferred Features

- Favorite.py: queries and anchors in remote_url,
  [Pending] http://www.zope.org/Collectors/CMF/26

- DefaultDublinCore should have Creator property,
  [Pending] http://www.zope.org/Collectors/CMF/61

- path criteria on Topic should honor VHM,
  [Pending] http://www.zope.org/Collectors/CMF/111

- Document.py: universal newlines,
  [Pending] http://www.zope.org/Collectors/CMF/174

- Add condition for transition's action like other action,
  [Pending] http://www.zope.org/Collectors/CMF/207

- Major action enhancement,
  [Pending] http://www.zope.org/Collectors/CMF/232

- portal_type is undefined in initialization code,
  [Pending] http://www.zope.org/Collectors/CMF/248

- CMFTopic Does Not Cache,
  [Deferred] http://www.zope.org/Collectors/CMF/295

- Wishlist: a flag that tags the selected action.,
  [Pending] http://www.zope.org/Collectors/CMF/301

- CMFDefault should make use of allowCreate(),
  [Pending] http://www.zope.org/Collectors/CMF/340

- Nested Skins,
  [Deferred] http://www.zope.org/Collectors/CMF/377

- CatalogVariableProvider code + tests,
  [Pending] http://www.zope.org/Collectors/CMF/378

- manage_doCustomize() : minor additions,
  [Pending] http://www.zope.org/Collectors/CMF/382

- First Day of Week,
  [Pending] http://www.zope.org/Collectors/CMF/400

- CachingPolicyManager: Support OFS.Cache.CacheManager,
  [Pending] http://www.zope.org/Collectors/CMF/408



___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


Re: [Zope-CMF] Fighting the Zope 2.9 testrunner

2006-03-21 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jim Fulton wrote:
 Chris Withers wrote:
 
 Jens Vagelpohl wrote:


  From the old testrunner, which I miss *a lot*, I could ensure I am
 indeed running a specific module by doing...



 Yup, this is one of the things I like least from the Zope 3 world.
 What happened to proposals and community agreement before inflicting
 big changes on other people who're trying to help out?
 
 
 Oh cut the crap.  The new test runner tries very hard to be backward
 compatible.  The old test runner was increasingly unmaintaiable and
 had a host of bugs of it's own.
 
 I can't tell what you snipped, but I'm guessing that it was the
 breakage of supplying a module name as a positional argument.
 This breakage was not intentional. It was a bug.  There is an
 easy work around: just use the -m option.
 
 I particularly hate the fact that no real effort was put into
 backwards compatibility, not to mention those silly weird
 sort-of-fifty-dots-per-line thing that doesn't actually work.

I'm not sure what Chris meant, but the change to the visual output of
the testrunner when running with dots seems gratuitous to me, as well
- -- I don't see any benefit to the indented, narrower output,
especially because it's prettiness gets fouled up anyway by
deprecation warnings, etc.  I objected to the change enough to file
collector issues:

  http://www.zope.org/Collectors/Zope/1958

  http://www.zope.org/Collectors/Zope3-dev/493

 What the heck are you talking about? What doesn't work?

Zope 2.9 broke the 'confiugre-make' dance in several ways, due (I think)
to the choice to bolt on^H^H^H^H^H^H^Hretrofit zpkg.  E.g.:

 $ cd /tmp
 $ svn co svn+ssh://svn.zope.org/repos/main/Zope/trunk zt
 $ cd zt
 $ ./configure --prefix=/tmp/zt-sw  make  make install
 ...
 running install_scripts
 error: cannot copy tree 'build/scripts-2.4': not a directory
 make: *** [install] Error 1
 $ make clobber inplace
 ...
 $ ls -laF bin
 ls: bin: No such file or directory

(The 'bin' directory was, in Zope 2.7, 2.8, the location for the
scripts, created during an inplace build).


Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEH/jP+gerLs4ltQ4RAhlOAKDBNhLZNaLvUn9bHOTBiIjBz2CYLQCeI6gp
WD21iz7SSHQfCTOd0PxT22s=
=k4TY
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


Re: [Zope-CMF] Re: Fighting the Zope 2.9 testrunner

2006-03-21 Thread Paul Winkler
On Tue, Mar 21, 2006 at 12:19:47PM +, Jens Vagelpohl wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Thanks for the tips, guys. I'm going to put together a document,  
 mostly as a reminder for myself, that points out the differences for  
 the 3 cases that cover 99% of my own needs, and then link that from  
 zope.org so that hopefully other people will be able to find it.

How bout here?
http://zopewiki.org/HowToRunZopeUnitTests

-- 

Paul Winkler
http://www.slinkp.com
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


Re: [Zope-CMF] Re: Fighting the Zope 2.9 testrunner

2006-03-21 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 21 Mar 2006, at 14:55, Paul Winkler wrote:


On Tue, Mar 21, 2006 at 12:19:47PM +, Jens Vagelpohl wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thanks for the tips, guys. I'm going to put together a document,
mostly as a reminder for myself, that points out the differences for
the 3 cases that cover 99% of my own needs, and then link that from
zope.org so that hopefully other people will be able to find it.


How bout here?
http://zopewiki.org/HowToRunZopeUnitTests


Umh, I didn't plan on writing a novel. I have a very simple document  
here:


http://www.dataflake.org/docs/testrunner_madness.html

... and a published Link on zope.org here:

http://www.zope.org/Members/jens/docs/Link.2006-03-21.0148/view

jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEIBVuRAx5nvEhZLIRApZsAJ9L0UyJLC2HxZtRw/YGae5dKTMfnACeJWSY
rhx2nQ412af5BMzvuYUB1dc=
=TtXN
-END PGP SIGNATURE-
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


Re: [Zope-CMF] Re: Fighting the Zope 2.9 testrunner

2006-03-21 Thread Paul Winkler
On Tue, Mar 21, 2006 at 03:02:06PM +, Jens Vagelpohl wrote:
 On 21 Mar 2006, at 14:55, Paul Winkler wrote:
 How bout here?
 http://zopewiki.org/HowToRunZopeUnitTests
 
 Umh, I didn't plan on writing a novel. I have a very simple document  
 here:
 
 http://www.dataflake.org/docs/testrunner_madness.html

I didn't ask for a novel, a comment would do :)
I've linked to your page, that's fine for now.
Thanks for writing that!

-PW
-- 

Paul Winkler
http://www.slinkp.com
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


[Zope-CMF] Re: [dev] characters allowed in content IDs

2006-03-21 Thread yuppie

Hi Dieter!


Dieter Maurer wrote:

yuppie wrote at 2006-3-20 18:17 +0100:

...
But I gave up my attempt to fix this in the Zope layer because the 
related discussion on zope-dev ended without a clear result.


There was a clear result: make the id checker policy configurable --
as Zope 3 does.


Well. That's right but doesn't help us much. We don't have a volunteer 
for implementing that new feature. And we don't have a consensus what 
the default policy should be.


I hope there are no objections against fixing this in PortalFolder's 
_checkId method for now.


Almost surely, you should make it configurable there, too.


Why should I make it configurable? I volunteer to fix a serious bug by 
restoring behavior we had until 6 months ago. An INameChooser based 
configurable solution would be much more work than just fixing the bug.



The same arguments apply in CMF land as in Zope land.


You deleted the sentence in which I said what's different IMHO:


In CMF we plan to use views by default and it's quite common that normal site 
members are allowed to add content items.


So it's more urgent to fix the bug in CMF than in Zope.


Cheers,

Yuppie

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


[Zope-CMF] Zope Debugger 0.8.2 Released!

2006-03-21 Thread Chris Withers

Zope Debugger is an enhanced version of pdb for use with Zope.

This release fixes compatability issues with Zope 2.9 and Python 2.4.

It can be used simply by inserting the following lines in any python
code you'd like to debug, including Script (Python)'s and FSPythonScripts:

from Products.zdb import set_trace
set_trace()

It requires no changes to Zope, CMF or Plone or any funky interaction
with any specific kind of editing software. All you really need to do is
insert the snippet above and make sure your Zope instance is running in
foreground mode.

For more information, please see:
http://www.simplistix.co.uk/software/zope/zdb

cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk








___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


Re: [Zope-CMF] Fighting the Zope 2.9 testrunner

2006-03-21 Thread Philipp von Weitershausen
Tres Seaver wrote:
 I'm not sure what Chris meant, but the change to the visual output of
 the testrunner when running with dots seems gratuitous to me, as well
 -- I don't see any benefit to the indented, narrower output,

Me neither, for what it's worth.

 Zope 2.9 broke the 'confiugre-make' dance in several ways, due (I think)
 to the choice to bolt on^H^H^H^H^H^H^Hretrofit zpkg.

Sort of. It didn't break configure  make. It's just make install
that was broken.

I still don't understand why people whine about make install being
gone. The point of a checkout is that you have a full functional SVN
working copy, not an installation source. If you want to install things,
use a TGZ archive which lets you do make install perfectly fine. I've
never installed Zope anywhere except on production servers anyway, and
there you should obviously use releases.

If you absolutely must use make install from a checkout (perhaps
because you want to install the trunk somewhere), then you can make a
TGZ first using zpkg. Though I still don't see the point of it.

Philipp

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests