[Zope-dev] [PATCH] Forking daemon in debug mode, and new start scripts

2003-01-19 Thread Adrian van den Dries
daemon, however, is just plain annoying. On Unix you can always tail the logfile for the same effect. a. -- Adrian van den Dries [EMAIL PROTECTED] Development team www.dev.flow.com.au FLOW Communications Pty. Ltd

Re: [Zope-dev] [PATCH] Forking daemon in debug mode, and new start scripts

2003-01-21 Thread Adrian van den Dries
for Z_DEBUG_MODE and __debug__). I'd like to address these problems for Zope 2.7, but I doubt it's going to be possible in the short term. Hrm, a refactor, eh? adriand@pita:~/Zope-2.6.0b1-src$ egrep -Iir 'principia|bobo' * | wc -l 345 ;-) a. -- Adrian van den Dries

Re: [Zope-dev] Multiple author and reviewer roles in Zope CMF

2003-02-12 Thread Adrian van den Dries
On February 12, Paul Winkler wrote: While we're on the subject - are local roles acquired in subfolders? Yes, to the point that globals roles are actually redundant, but serve as an optimisation of a local role at the same level as your userfolder. a. -- Adrian van den Dries

Re: [Zope-dev] How to trigger Zope externally (mail)

2003-02-26 Thread Adrian van den Dries
. zope is tickled via http: with the name of the file/pipe, and processes it from there. Don't bother with named pipes; just pass the data with a POST. HTH, a. -- Adrian van den Dries [EMAIL PROTECTED] Development team www.dev.flow.com.au

Re: Security internals, was Re: [Zope-dev] LOTS of roles?

2003-03-05 Thread Adrian van den Dries
or deny access. True? True. a. -- Adrian van den Dries [EMAIL PROTECTED] Development team www.dev.flow.com.au FLOW Communications Pty. Ltd. www.flow.com.au ___ Zope-Dev

Re: Security internals, was Re: [Zope-dev] LOTS of roles?

2003-03-06 Thread Adrian van den Dries
! a. -- Adrian van den Dries [EMAIL PROTECTED] Development team www.dev.flow.com.au FLOW Communications Pty. Ltd. www.flow.com.au ___ Zope-Dev maillist - [EMAIL PROTECTED] http

Re: [Zope-dev] Zope Template Newbie question

2003-03-11 Thread Adrian van den Dries
and entities in the text that they insert. For instance, the the character is quoted to amp;lt;. If you actually want to insert unquoted text, you need to precede the expression with the structure keyword. a. -- Adrian van den Dries [EMAIL PROTECTED] Development team

Re: [Zope-dev] How (in)secure is Zope?

2003-03-12 Thread Adrian van den Dries
, it is wide-open. a. -- Adrian van den Dries [EMAIL PROTECTED] Development team www.dev.flow.com.au FLOW Communications Pty. Ltd. www.flow.com.au ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] Proposed installation changes for review

2003-03-13 Thread Adrian van den Dries
directive. Is this possible? I would also like to see the mounting mechanism work outside of Zope, so that you can partition a standalone ZODB application. That is outside the immediate scope of this thread, but something perhaps to keep in mind. a. -- Adrian van den Dries

Re: [Zope-dev] How (in)secure is Zope?

2003-03-13 Thread Adrian van den Dries
hacking? a. -- Adrian van den Dries [EMAIL PROTECTED] Development team www.dev.flow.com.au FLOW Communications Pty. Ltd. www.flow.com.au ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] Modification Help

2003-03-17 Thread Adrian van den Dries
to achieve, perhaps we can help you achieve it in a more Zopish way. When you say top-level folder, do you mean the root folder (which is not really a folder), or one level down? a. -- Adrian van den Dries [EMAIL PROTECTED] Development team

Re: [Zope-dev] Proposed installation changes for review

2003-03-18 Thread Adrian van den Dries
targets just call setup.py, so is this a bug in the distutils? a. -- Adrian van den Dries [EMAIL PROTECTED] Development team www.dev.flow.com.au FLOW Communications Pty. Ltd. www.flow.com.au

Re: [Zope-dev] Proposed installation changes for review

2003-03-18 Thread Adrian van den Dries
. INSTANCE_HOME setup becomes the default kind of installation. Is this still current? a. -- Adrian van den Dries [EMAIL PROTECTED] Development team www.dev.flow.com.au FLOW Communications Pty. Ltd. www.flow.com.au

Re: [Zope-dev] Proposed installation changes for review

2003-03-18 Thread Adrian van den Dries
On March 19, Fred L. Drake, Jr. wrote: (The Quick Start section uses an abbreviated procedure that creates an instance home in the source directory.) It calls configure with --prefix=/where/to/install/zope which is then unused. a. -- Adrian van den Dries [EMAIL

Re: [Zope-dev] Proposed installation changes for review

2003-03-19 Thread Adrian van den Dries
/build/scripts-2.2 Perhaps the build target should do a 'setup.py build' rather than 'setup.py build_ext'? a. -- Adrian van den Dries [EMAIL PROTECTED] Development team www.dev.flow.com.au FLOW Communications Pty. Ltd

Re: [Zope-dev] ZPublisher.Client and encrypted passwords

2003-03-25 Thread Adrian van den Dries
On March 26, Danny W. Adair wrote: - use a different approach to call the other server (like passing a copy of the current Auth header or something...) BaseRequest._auth holds the original auth header, so you can just forward it along. a. -- Adrian van den Dries

Re: [Zope-dev] ZPublisher.Client and encrypted passwords

2003-03-25 Thread Adrian van den Dries
On March 26, Danny W. Adair wrote: Thanks. How would I do that? ZPublisher.Client.call() is very convenient but only takes url,username,pwd... import base64 user, pass = base64.decodestring(req._auth.split(' ')[1]).split(':') a. -- Adrian van den Dries [EMAIL

Re: [Zope-dev] oh boy [id,getId() madness]

2003-06-11 Thread Adrian van den Dries
this should be: def addSomething(self, id): ob = Something(id) self._setObject(ob.getId(), ob) But I notice nobody seems to do this. a. -- Adrian van den Dries [EMAIL PROTECTED] Development team www.dev.flow.com.au

[Zope-dev] 2.7 installation

2003-06-18 Thread Adrian van den Dries
, and ZEO and Zope depend on the ZODB. a. -- Adrian van den Dries [EMAIL PROTECTED] Development team www.dev.flow.com.au FLOW Communications Pty. Ltd. www.flow.com.au

Re: [Zope-dev] 2.7 installation

2003-06-18 Thread Adrian van den Dries
. Distributions may choose to wrap these in shell scripts, or strip the extension, but that is a distribution's decision. $(insert impertinent aside about Zope's support for Python Labs and branding.) a. -- Adrian van den Dries [EMAIL PROTECTED] Development team

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-18 Thread Adrian van den Dries
choosed to be be strictly compliant to FHS[1], including it in the Debian Packaing Policy. As demonstrated, Python complies with the FHS. I see no active or archived serious policy violation bugs relating to Python's FHS compliance. What is the status of the Python Policy? a. -- Adrian van den

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-18 Thread Adrian van den Dries
to Debian's package, this shouldn't be too hard. a. -- Adrian van den Dries [EMAIL PROTECTED] Development team www.dev.flow.com.au FLOW Communications Pty. Ltd. www.flow.com.au

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-18 Thread Adrian van den Dries
an installation with all permutations of multiple Pythons, multiple Zopes and multiple instances. Does this alleviate your concerns? ;-) a. -- Adrian van den Dries [EMAIL PROTECTED] Development team www.dev.flow.com.au FLOW Communications Pty. Ltd

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-18 Thread Adrian van den Dries
On June 19, Adrian van den Dries wrote: Distribution install - most common:: ... Multiple pythons, zopes, instances - most complex:: Note that these aren't mutually exclusive: the porpoise of /usr/local is to allow a site-local hierarchy. That is, the *system* only has one version

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Adrian van den Dries
property - that is much of their revenue!) How do those files compare to the buildscript: http://cvs.zope.org/NZO_SiteLayout/buildout_zope_sandbox?cvsroot=Zope.org Jeebers, someone sure has an aversion to shell functions! ;-) a. -- Adrian van den Dries [EMAIL PROTECTED

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Adrian van den Dries
On June 19, Chris McDonough wrote: On Wed, 2003-06-18 at 23:13, Adrian van den Dries wrote: python2.1 configure.py --prefix=/opt/zope271-python21 (FWIW, configure is a shell script.) Yes, I knew that. I used the .py extension for all the scripts to be consistent, according to my earlier

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Adrian van den Dries
On June 19, Chris McDonough wrote: On Thu, 2003-06-19 at 20:24, Adrian van den Dries wrote: Why not avoid that altogether and let the user supply the correct python? This is somewhat of a style choice OK, ZC's call. ;-) Well, as we all know, shell scripting kinda blows. There is no way

Re: [Zope-dev] 2.7 installation

2003-06-20 Thread Adrian van den Dries
application. That sounds familiar. ;-) a. -- Adrian van den Dries [EMAIL PROTECTED] Development team www.dev.flow.com.au FLOW Communications Pty. Ltd. www.flow.com.au ___ Zope-Dev

[Zope-dev] Zope 2, Zope 3, now, (was funky side-effects, possible bug in HTTPRequest.py)

2003-06-20 Thread Adrian van den Dries
around Zope 2. I understand that things are moving quite well with Zope 3 but the current state of affairs does put places like ours, with a commitment to producing a large, complicated Zope 2 extranet/portal in a number of months, in a confusing headspace. a. -- Adrian van den Dries

[Zope-dev] ZEO.auth missing from setup.py

2003-06-22 Thread Adrian van den Dries
23 Jun 2003 05:15:24 - @@ -655,7 +655,7 @@ name='ZEO', author=AUTHOR, -packages=['ZEO', 'ZEO.tests', 'ZEO.zrpc'], +packages=['ZEO', 'ZEO.auth', 'ZEO.tests', 'ZEO.zrpc'], data_files=[['ZEO', ['ZEO/*.txt', 'ZEO/*.xml']]], ) a. -- Adrian van den Dries

Re: [Zope-dev] Two small ZPT suggestions

2003-07-16 Thread Adrian van den Dries
: if row.rowtype=='group': # etc a. -- Adrian van den Dries [EMAIL PROTECTED] Development team www.dev.flow.com.au FLOW Communications Pty. Ltd. www.flow.com.au