RE: [Zope-dev] version.txt magic

2006-11-25 Thread Christian Steinhauer
 
Zope 2.9 and Zope 2.10 currently show up with unreleased 
version inside the  control panel. App/version_txt.py tries 
to read the file lib/python/Zope2/version_txt. This file is 
usually created by the 'makefile'. The makefile of Zope 2.9 
create the file in the proper location however in Zope 2.10 
the makefile creates lib/python/version.txt.
Is there a particular reason for this? I currently have now 
clue what  is bug and what is intended behavior. Any insights? 
*sigh* :-)

i check the old source of version_txt.py on my zope 2.6.4 server and there
is the file called version.txt, not version_txt. But the App/version_txt.py
on the new zope 2.10 is very different from the 2.6.4 one. 

As i see you fixed it. Can you give me a description how to fix it or have
you done a thread into an bugtracker?

___
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] version.txt magic

2006-11-25 Thread Martijn Pieters

On 11/25/06, Christian Steinhauer [EMAIL PROTECTED] wrote:

As i see you fixed it. Can you give me a description how to fix it or have
you done a thread into an bugtracker?


http://svn.zope.org/Zope/branches/2.10/inst/Makefile.win.in?rev=71283view=rev

--
Martijn Pieters
___
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] version.txt magic

2006-11-25 Thread Christian Steinhauer
i dont want to make a new installation on our live server, so i make a ugly
patch for our programmers that think that is a dev version because of the
'unreleased version' text.

i which zope version is the patched applied? 2.10.2?

Line 42 of /usr/lib/zope2.10/lib/python/App/version_txt.py

#   ss = 'unreleased version'
ss = 'Zope 2.10.0-final (version_txt patch by CS)'

___
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] version.txt magic

2006-11-24 Thread Christian Steinhauer
Hi,

Zope 2.9 and Zope 2.10 currently show up with unreleased 
version inside the  control panel. App/version_txt.py tries 
to read the file lib/python/Zope2/version_txt. This file is 
usually created by the 'makefile'. The makefile of Zope 2.9 
create the file in the proper location however in Zope 2.10 
the makefile creates lib/python/version.txt.
Is there a particular reason for this? I currently have now 
clue what  is bug and what is intended behavior. Any 
insights? *sigh* :-)


Hi Andreas,
i got the same *error* on the new zope 2.10 instance. Installed over
newly created zope2.10 debian package.

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