Re: [Zope-dev] Introspector package in zope 2.9

2006-02-12 Thread Andreas Jung



--On 10. Februar 2006 18:06:53 +0100 Jean-François Roche 
[EMAIL PROTECTED] wrote:



Hello,

I can't find the Introspector package in zope.app in 2.9 (Zope shipped
with Zope-2.9.0.tgz) but can find it on svn. Forgot something ? Can you
help? Thanks!


This will be fixed in 2.9.1.

-aj



pgpqQNtl79Vn2.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 )


[Zope-dev] buildbot failure in Zope branches 2.9 2.4 Linux zc-buildbot

2006-02-12 Thread buildbot
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Linux 
zc-buildbot.

Buildbot URL: http://buildbot.zope.org/

Build Reason: changes
Build Source Stamp: 3048
Blamelist: andreasjung,tseaver

BUILD FAILED: failed test

sincerely,
 -The Buildbot

___
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: Pluggins vs Application Definition

2006-02-12 Thread Jim Fulton

Philipp von Weitershausen wrote:

Jim Fulton wrote:


Some recent discussions on the distutils-sig mailing list have
helped me to understand some issues related to the ways we
extend the Zope application server.  Traditionally, in Zope 2,
you extended Zope by dropping product packages into a special
Products package.  This was very convenient in many ways, but
doesn't always provide enough control or visibiity to what's
going on.

In Zope 3, we went with a more explicit installation mechanism,
in which people had to explicitly cause a package's ZCML files to be
loaded for it to be used.  We added a mechanism to make this easier,
by simply dropping a file into a special directory, package-includes,
so an installer wouldn't have to fool with pointy brackets.

I've noticed that at Zope Corporation, for our customer projects,
we tend not to use package-includes. We prefer to explicitly include
packages we use directly oin our application ZCML files.  (As
applications,  may be composed of several layers, we may include
things at multiple levels.)

In thinking about this, I realized that there are two different users
here with different concerns:

- Application developers need to build an application.  They will
 generally want fairly tight control over what goes into the
 application.  For them, it's valuable to say in an explicit
 way what they want.

- If the application is extensible, then application users
 will want to be able to extend the application by adding
 pluggins.  If application users are not technically
 sophisticated, or, more importantly, not technically interested,
 they peobably would prefer to just drop something into a special
 directory and be done with it.

In summary, I think we need *both* approaches, as they serve different
needs.



I agree with all of the above, but fail to see what your implication is.


Mostly thinking out loud and to lazy to bother blogging. :)

Well, more than that.  I think it's helpful to identify user's goals
and problems to be solved rather than argue about solutions in isolation,
as is commonly done.


I think we have all that now.


In Zope 3, we don't have anything like plugins.  Zope 2 does and, thanks
to *also* adopting ZCML *is* getting the best of both worlds, sort of.

In neither case, IMO, to we really *separately* consider the separate
needs of the application developer and the high-level user.

 Sure, we're not dropping Zope 3 plug-ins

into a special directory but really anywhere in PYTHONPATH. Whether that
additional freedom makes it easier is debatable, but I'd say we're still
burned from Zope 2 wrt fixed drop-in locations.


I'm not sure what you are saying here.  Did you mean to say
burned from Zope 2? (probably not)


Frankly, I think something like ez_install zope.reallycoolstuff is
even easier than manually dropping stuff. As for the package-includes
slug, a simple ez_install-like tool could help there as well. I sketched
it out once on a blog post:
http://www.z3lab.org/sections/blogs/philipp-weitershausen/2006_01_11_mata-los-productos


I agree. In fact, on the distutils-sig mailing list, they are contemplating
a plugin mechanism strikingly similar to Zope 2's for applications
such as Chandler and I recommended a more explicit aproach, where plugins
should be added under explicit user control.

I think we need to consider both use cases and have stories (documentation,
tools, etc.) for both and when designing these, we should consider the separate
needs of the application developers and high-level users who don't
need or *want* the same level of control.

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
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] Z2 / Z3 publisher

2006-02-12 Thread Tarek Ziadé
Hello,

I've hurd a bit ago that some people wanted to replace Zope 2 publisher
with Zope 3 one.
Is it still planned ?

Regards,

Tarek
___
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] Inhibit URL-traversal

2006-02-12 Thread Dario Lopez-Kästen

Dieter Maurer said the following on 2006-02-10 19:48:

Dario Lopez-Kästen wrote at 2006-2-10 10:56 +0100:

...
for a product I am writing, i need to experiment with inhibiting 
URL-traversal to the methods and subobjects of it. I still wnat the 
methods and objects to be available via direct call, for instance:



You can use a SiteAccess AccessRule for this.

Be warned, however, that AccessRules can be disabled
in the URL (by a few knowing people). If this concerns you,
can can remove this feature from AccessRule (code modification).



Using an AccessRule is not precisely what I had in mind - I want my 
product to behave in such a way by itself - but looking at how 
AccessRules work will surely give me some insight. Thanks for the pointer.



...
Also, can such a behaviour be imposed on templates (they being methods 
really) and Script(Python)s?



It can -- with some difficulties:

  Templates and scripts are called because they define
  index_html as None.

  If you give a template or script a non-None index_html,
  then this object will be called instead of the template/script.



I see. Is this possible to do on FS-based scripts/templates? I believe 
zodb-based files may be manipulated at install-time by my product, by I 
am not sure how to do this for FS-based stuff.


Anyway, thanks Dieter for the pointers. This will get me started :-)

/dario

--
-- ---
Dario Lopez-Kästen, IT Systems  Services Chalmers University of Tech.
Lyrics applied to programming  application design:
emancipate yourself from mental slavery - redemption song, b. marley

___
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 )