[Zope-dev] Zope Tests: 5 OK

2007-12-11 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Mon Dec 10 12:00:00 2007 UTC to Tue Dec 11 12:00:00 2007 UTC.
There were 5 messages: 5 from Zope Unit Tests.


Tests passed OK
---

Subject: OK : Zope-2.7 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Mon Dec 10 20:53:35 EST 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-December/008776.html

Subject: OK : Zope-2.8 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Mon Dec 10 20:55:05 EST 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-December/008777.html

Subject: OK : Zope-2.9 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Mon Dec 10 20:56:35 EST 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-December/008778.html

Subject: OK : Zope-2.10 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Mon Dec 10 20:58:06 EST 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-December/008779.html

Subject: OK : Zope-trunk Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Mon Dec 10 20:59:36 EST 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-December/008780.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 )


[Zope-dev] Re: [OFF] Does Zope developers have time machine?

2007-12-11 Thread Martijn Faassen

Hanno Schlichting wrote:

Mikhail Kashkin wrote:

Looks like open source developers, especial Zope 3, have enough money to
buy Time machine. Check Zope 3 profile on Ohloh.net
http://www.ohloh.net/projects/4495?p=Zope+3

Codebase  138,855,676 LOC
Effort (est.) 49267 Person Years
$2,709,689,938



[snip]


P.S. Don't trust statistics you haven't forged yourself ;)


Good marketing for Zope though:

138 million lines of code, almost 50 person-millennia in the making, and 
at a cost of 2.7 billion dollars, the Zope developers give you: Zope 3!


*DRAMATIC MUSIC* :)

Regards,

Martijn

___
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] need to register/upload zope.app.locales

2007-12-11 Thread Christophe Combelles

Hi,

I have created a new tag 3.4.1 for zope.app.locales,
may I ask someone to register/upload it onto PyPI, or to grant me the permission 
to do it (account 'ccomb' on pypi) ?


Then I would like to know what are the next steps to have it included in the 
KGS/release for 3.4. (I'm not yet completely up to date with the latest 
practices for the release)


thanks,
Christophe
___
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] Re: Frustrated with Python and Frameworks. Zope, Grok, , Django, CherryPy

2007-12-11 Thread Volodymyr Cherepanyak
On Dec 3, 2007 1:59 PM, Martijn Faassen [EMAIL PROTECTED] wrote:

 Hey,

 On Dec 1, 2007 7:34 PM, Sascha Welter [EMAIL PROTECTED] wrote:
  (Fri, Nov 30, 2007 at 09:24:25PM +0100) Martijn Faassen
 wrote/schrieb/egrapse:
   I don't think the technology is the most work here. We need someone to
   go through and create
   the content. Even a simple web-page listing interesting products and
   where to find them would already
   be tremendous progress.  Content will be our challenge, let's not
   worry about technology too much, which
   should be in good hands.
 
  How about http://www.contentmanagementsoftware.info/
 
  It doesn't have everything, but I found it to be useful some times.

 The list of Zope products looks quite nice! Who maintains this site?
 Quintagroup?

 I wonder whether they'd be willing to have someone take the Zope
 related list, go through it and edit it, and host it on zope.org (when
 *that* is ready). I've
 cc-ed Myroslav at quintagroup. :)

 Regards,

 Martijn


Hi Martijn,

I need to say that we had hard time lately gathering and updating the
contentmanagementsoftware.info and we are running short on hands. The most
we can propose is we can generate a XML export (or Marshall) of our existing
Zope  products directory if it can be useful in anyway.

Regards,
Volodymyr.
-- 
Volodymyr Cherepanyak
e-mail: [EMAIL PROTECTED]
skype : callto://chervol?chat
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Appending to a file via manage_edit?

2007-12-11 Thread Jeff Gentry

I've been looking around for this, but can't seem to find anything.  I'm
assuming that it is just not possible, but thought I'd ask just in case.

For File objects, I see that manage_edit() has the parameters: title,
content_type, precondition, filedata  REQUEST.  Setting something in the
filedata parameter will replace the file's current data with that.

This implies (to me at least) that the only way one can edit a file is a
complete rewrite.  Does there exist a way to simply append data to the end
of the file?  For instance, if one wanted to write to a file line by line,
is that possible in Zope?

Thanks

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Appending to a file via manage_edit?

2007-12-11 Thread Andreas Jung



--On 11. Dezember 2007 12:04:36 -0500 Jeff Gentry 
[EMAIL PROTECTED] wrote:




I've been looking around for this, but can't seem to find anything.  I'm
assuming that it is just not possible, but thought I'd ask just in case.

For File objects, I see that manage_edit() has the parameters: title,
content_type, precondition, filedata  REQUEST.  Setting something in the
filedata parameter will replace the file's current data with that.

This implies (to me at least) that the only way one can edit a file is a
complete rewrite.  Does there exist a way to simply append data to the end
of the file?  For instance, if one wanted to write to a file line by line,
is that possible in Zope?


out-of-the-box: NO

Appending data would require the manipulation of the linked list of Pdata
elements. There is no API for this available...so basically forget it.

-aj

pgpZkSoWrKBNz.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: Appending to a file via manage_edit?

2007-12-11 Thread Josef Meile

I've been looking around for this, but can't seem to find anything.  I'm
assuming that it is just not possible, but thought I'd ask just in case.

For File objects, I see that manage_edit() has the parameters: title,
content_type, precondition, filedata  REQUEST.  Setting something in the
filedata parameter will replace the file's current data with that.

This implies (to me at least) that the only way one can edit a file is a
complete rewrite.  Does there exist a way to simply append data to the 
end
of the file?  For instance, if one wanted to write to a file line by 
line,

is that possible in Zope?


out-of-the-box: NO

Appending data would require the manipulation of the linked list of Pdata
elements. There is no API for this available...so basically forget it.

What about the python pickle/cpickle and marshal modules? If I'm not
wrong zope uses cpickle to append data to the Data.fs, or am I wrong?

I haven't read the module documetation deeply, but as I understand,
pickle/cpickle is used for serializing python objects, while marshal is
for binary data.

http://docs.python.org/lib/module-pickle.html
http://docs.python.org/lib/module-marshal.html

Anyway, you still need to load the whole file into a temporal memory.

Best regards
Josef
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Appending to a file via manage_edit?

2007-12-11 Thread Andreas Jung



--On 11. Dezember 2007 18:33:14 +0100 Josef Meile [EMAIL PROTECTED] 
wrote:



I've been looking around for this, but can't seem to find anything.  I'm
assuming that it is just not possible, but thought I'd ask just in case.

For File objects, I see that manage_edit() has the parameters: title,
content_type, precondition, filedata  REQUEST.  Setting something in
the filedata parameter will replace the file's current data with that.

This implies (to me at least) that the only way one can edit a file is a
complete rewrite.  Does there exist a way to simply append data to the
end
of the file?  For instance, if one wanted to write to a file line by
line,
is that possible in Zope?


out-of-the-box: NO

Appending data would require the manipulation of the linked list of Pdata
elements. There is no API for this available...so basically forget it.

What about the python pickle/cpickle and marshal modules? If I'm not
wrong zope uses cpickle to append data to the Data.fs, or am I wrong?

I haven't read the module documetation deeply, but as I understand,
pickle/cpickle is used for serializing python objects, while marshal is
for binary data.

http://docs.python.org/lib/module-pickle.html
http://docs.python.org/lib/module-marshal.html

Anyway, you still need to load the whole file into a temporal memory.



Completely unrelated at this point. You can only update a file as a whole
with the existing functionality. You are of course free to write your own
file implementation.

-aj

pgpytWst8Amcy.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Appending to a file via manage_edit?

2007-12-11 Thread Jeff Gentry
On Tue, 11 Dec 2007, Andreas Jung wrote:
 Appending data would require the manipulation of the linked list of
 Pdata elements. There is no API for this available...so basically
 forget it.

I figured it'd be a lot more obvious if it was possible.  Ah well.

Thanks
-J

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Appending to a file via manage_edit?

2007-12-11 Thread Andreas Jung



--On 11. Dezember 2007 15:37:27 -0500 Jeff Gentry 
[EMAIL PROTECTED] wrote:



On Tue, 11 Dec 2007, Andreas Jung wrote:

Appending data would require the manipulation of the linked list of
Pdata elements. There is no API for this available...so basically
forget it.


I figured it'd be a lot more obvious if it was possible.  Ah well.



Sorry, but that's a pretty uncommon usecase. If you upload a file you're 
basically interested to store/replace it as a whole. That's how OFS.File

is implemented.

Andreas

pgpILcLdgXpQh.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] (no subject)

2007-12-11 Thread Andrew Milton
+---[ Beema shafreen ]--
| acceptance

rejection.

-- 
Andrew Milton
[EMAIL PROTECTED]
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] (no subject)

2007-12-11 Thread Beema shafreen
acceptance
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )