Rename the Mod_Python stub scripts to avoid triggering an import loop

detection error.

* bin/mod_python/viewvc.py,
* bin/mod_python/query.py
  Renamed these ...

* bin/mod_python/viewvc_mp.py,
* bin/mod_python/query_mp.py
  ... to these.

* viewvc-install
  Track the renamed stub scripts.

* docs/upgrading-howto.html
  Note the change to the Mod_Python stub script names.
  



git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1536 8cb11bc2-c004-0410-86c3-e597b4017df7
remotes/options-overhaul
cmpilato 2007-03-09 16:04:31 +00:00
parent 3c0ab3e163
commit ef89f0db73
4 changed files with 20 additions and 2 deletions

View File

@ -78,6 +78,18 @@ td {
<p>This section discusses how to upgrade ViewCVS 1.0.x to ViewVC 1.1.x.</p>
<div class="h3">
<h3>Mod_Python Stubs</h3>
<p>The Mod_Python stub scripts haved been renamed from
<code>viewvc.py</code> and <code>query.py</code> to
<code>viewvc_mp.py</code> and <code>query_mp.py</code>,
respectively, to avoid triggering an Exception from Mod_Python's
module import loop detection logic. You'll need to update your
Apache configuration files to point to the new script names.</p>
</div>
<div class="h3">
<h3>Configuration Options</h3>
@ -195,6 +207,9 @@ td {
changed, so you may need to replace copies of the old scripts you
put in other directories.</p>
</div>
<div class="h3">
<h3>Checkin Database</h3>
<p>ViewVC 1.0 reads and writes commit times in the MySQL database in
@ -205,6 +220,9 @@ td {
is also possible to enable a backwards compatibility mode by
setting <code>utc_time = 0</code> at the top of lib/dbi.py</p>
</div>
<div class="h3">
<h3>"checkout_magic" Option</h3>
<p>In ViewVC 1.0, the <code>checkout_magic</code> option has been

View File

@ -49,8 +49,8 @@ CLEAN_MODE = None
FILE_INFO_LIST = [
("bin/cgi/viewvc.cgi", "bin/cgi/viewvc.cgi", 0755, 1, 0, 0),
("bin/cgi/query.cgi", "bin/cgi/query.cgi", 0755, 1, 0, 0),
("bin/mod_python/viewvc.py", "bin/mod_python/viewvc.py", 0755, 1, 0, 0),
("bin/mod_python/query.py", "bin/mod_python/query.py", 0755, 1, 0, 0),
("bin/mod_python/viewvc_mp.py", "bin/mod_python/viewvc_mp.py", 0755, 1, 0, 0),
("bin/mod_python/query_mp.py", "bin/mod_python/query_mp.py", 0755, 1, 0, 0),
("bin/mod_python/handler.py", "bin/mod_python/handler.py", 0755, 1, 0, 0),
("bin/mod_python/.htaccess", "bin/mod_python/.htaccess", 0755, 0, 0, 0),
("bin/standalone.py", "bin/standalone.py", 0755, 1, 0, 0),