Bug 13488 - DRI Wiki Maintainance
Summary: DRI Wiki Maintainance
Status: RESOLVED FIXED
Alias: None
Product: freedesktop.org
Classification: Unclassified
Component: Wiki (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Benjamin Close
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-02 06:51 UTC by Jose Fonseca
Modified: 2008-01-15 17:45 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Jose Fonseca 2007-12-02 06:51:25 UTC
I need some assistance to migrate DRI wiki to Moin-1.6 beta. See the thread http://lists.freedesktop.org/archives/xorg/2007-November/030643.html for more context.

I already made a backup of all wiki content /srv/dri.freedesktop.org/moin, I removed all dangling spam content from the data storage, and I installed Moin-1.6 beta on /srv/dri.freedesktop.org/moin-1.6. The data storage format didn't change so the only thing necessary would be:

1. To replace the line

  PythonPath "['/srv/dri.freedesktop.org/moin']+sys.path"

by

  PythonPath "['/srv/dri.freedesktop.org/moin','/srv/dri.freedesktop.org/moin-1.6/lib/python2.4/site-packages']+sys.path"

to use the moin-1.6.

2. Replace /srv/dri.freedesktop.org/moin/wikiconfig.py by /srv/dri.freedesktop.org/moin/wikiconfig.py-for-moin-1.6 

3. Perhaps some more tweaking...
Comment 1 Jose Fonseca 2007-12-04 05:02:06 UTC
I forgot to say the file where to change that line --
/etc/apache2/sites-enabled/500-dri.freedesktop.org
Comment 2 Benjamin Close 2007-12-04 08:06:18 UTC
I notice dri.fd.o still lives on gabe. Since you folk are looking at upgrading anyway, do you have any problem with me shifting it to annarchy (people.fd.o) first? It would help solve 13489
Comment 3 Jose Fonseca 2007-12-04 08:16:18 UTC
There is nobody else doing maintenance work on dri.freedesktop.org AFAIK, so feel free to proceed, Benjamin.
Comment 4 Benjamin Close 2007-12-10 06:21:29 UTC
gabe->annarchy vhost migration complete... I'll give it a week for dns to settle before changing the wiki over - think you'll be the first fd.o site to use 1.6, I'll be interested in the spam support.

(Changing State to NEEDINFO as bug is now in a delayed state)
Comment 5 Benjamin Close 2007-12-18 20:24:39 UTC
Hmm, transistion didn't go as planned, hence I reverted the upgrade... now it's off to read the release notes for 1.6 :)

[Tue Dec 18 20:20:58 2007] [error] [client 121.45.71.40] mod_python (pid=20335, interpreter='dri.freedesktop.org', phase='PythonHandler', handler='MoinMoin.request::RequestModPy.run'): Application error
[Tue Dec 18 20:20:58 2007] [error] [client 121.45.71.40] ServerName: 'dri.freedesktop.org'
[Tue Dec 18 20:20:58 2007] [error] [client 121.45.71.40] DocumentRoot: '/srv/dri.freedesktop.org/www'
[Tue Dec 18 20:20:58 2007] [error] [client 121.45.71.40] URI: '/wiki/'
[Tue Dec 18 20:20:58 2007] [error] [client 121.45.71.40] Location: None
[Tue Dec 18 20:20:58 2007] [error] [client 121.45.71.40] Directory: None
[Tue Dec 18 20:20:58 2007] [error] [client 121.45.71.40] Filename: '/srv/dri.freedesktop.org/www/wiki'
[Tue Dec 18 20:20:58 2007] [error] [client 121.45.71.40] PathInfo: '/'
[Tue Dec 18 20:20:58 2007] [error] [client 121.45.71.40] Traceback (most recent call last):
[Tue Dec 18 20:20:58 2007] [error] [client 121.45.71.40]   File "/usr/lib/python2.4/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch\n    default=default_handler, arg=req, silent=hlist.silent)
[Tue Dec 18 20:20:58 2007] [error] [client 121.45.71.40]   File "/usr/lib/python2.4/site-packages/mod_python/importer.py", line 1206, in _process_target\n    object = apache.resolve_object(module, object_str, arg, silent=silent)
[Tue Dec 18 20:20:58 2007] [error] [client 121.45.71.40]   File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 696, in resolve_object\n    raise AttributeError, s
[Tue Dec 18 20:20:58 2007] [error] [client 121.45.71.40] AttributeError: module '/srv/dri.freedesktop.org/moin-1.6/lib/python2.4/site-packages/MoinMoin/request/__init__.pyc' contains no 'RequestModPy'

Comment 6 Jose Fonseca 2007-12-19 06:12:35 UTC
Moin 1.6 hasn't actually been released yet. What's in /srv/dri.freedesktop.org/moin-1.6/ is a development snapshot from their repository. 

The problem appears to be between moin and mod-python. We might want try getting it working at first through CGI, since it is supposedly easier to install and debug.
Comment 7 Benjamin Close 2008-01-07 18:48:09 UTC
Moin 1.6 has now been released hence I'll upgrade the beta and see what I can get working. Looks like the dri wiki is a guinee pig for the rest of fd.o as if the textcapta's work well I'll shift everything over to 1.6. I'm sick and tired of having to delete spam.
Comment 8 Jose Fonseca 2008-01-08 19:09:44 UTC
Great! I can sometimes be found on #dri-devel and #freedesktop if anything is needed.
Comment 9 Benjamin Close 2008-01-15 16:40:06 UTC
Ok, after many arguments with moin, I finally got 1.6 up and running on the dri website. The themes caused me a bit of grief as certain variables no longer exist.

Are you able to test things and make sure things are working as expected. I'll start looking into catpha's soon.. mind is mush now :)
Comment 10 Benjamin Close 2008-01-15 16:49:09 UTC
hmm, update looks like some pages (ie RecentChanges) are not working with the upgarde. I'll fix these asap
Comment 11 Benjamin Close 2008-01-15 17:45:02 UTC
Wiki upgraded - thanks José Fonseca for the help. 
Feel free to reopen if you've got any queries/requests.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.