Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74939 - Moinmoin 1.3.2 is out, no ebuilds available
Summary: Moinmoin 1.3.2 is out, no ebuilds available
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL: http://moinmoin.wikiwikiweb.de/MoinMo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-19 07:49 UTC by subtleandprofound
Modified: 2005-08-28 16:42 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description subtleandprofound 2004-12-19 07:49:19 UTC
Moinmoin 1.3.2 is out, this is a huge upgrade to the currently available version, 1.2.3, no ebuilds are available at the moment

Reproducible: Always
Steps to Reproduce:
1. emerge sync && emerge -p moinmoin

Actual Results:  
Shows me version 1.2.3 is the highest version available

Expected Results:  
I can't get any version better than 1.2.3, even if I add "www-apps/moinmoin 
~x86" to /etc/portage/package.keywords
Comment 1 Marti Raudsepp 2004-12-25 14:40:45 UTC
Actually the newest MoinMoin available is 1.3.1.

The www-apps/moinmoin-1.2.3 package survives a version bump to 1.3.1, but www-apps/moinmoin-1.2.3-r1 does not (it uses webapp-config stuff)
Comment 2 Jason Dunsmore 2005-01-14 11:26:42 UTC
what's the holdup?  all that has to be done is:

# cp /usr/portage/www-apps/moinmoin/moinmoin-1.2.3.ebuild /usr/portage/www-apps/moinmoin/moinmoin-1.3.1.ebuild
# ebuild /usr/portage/www-apps/moinmoin/moinmoin-1.3.1.ebuild digest
Comment 3 Marti Raudsepp 2005-01-14 11:45:50 UTC
> what's the holdup?
This would work as a duct-tape solution, but in reality MoinMoin should start supporting webapp-config. And it wouldn't probably work for people who already have 1.2.3-r1 installed.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2005-02-01 10:42:26 UTC
I tried bumping 1.2.3-r1 to 1.3.2 and it seemed to work okay.  Anyone else verify, and if so, I'll commit.
Comment 5 John Altstadt 2005-02-01 20:40:24 UTC
Does your ebuild overwrite htdocs/moinmoin/moin_config.py, or does it create an appropriate ._cfg*moin_config.py file?
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2005-02-02 04:35:12 UTC
It overwrites - I found a few other issues that aren't addressed in the ebuild as well, so I'll plan to attach a proposed one as soon as I get them worked out.
Comment 7 Marti Raudsepp 2005-02-02 08:48:26 UTC
At 2005-02-01 20:40 PST John Altstadt wrote:
> Does your ebuild overwrite htdocs/moinmoin/moin_config.py

You're encouraged to create your own wiki instance as per
http://moinmaster.wikiwikiweb.de/HelpOnInstalling/WikiInstanceCreation

With MoinMoin 1.3 it is much easier to update a separate instance because of the underlay directory.
Comment 8 Grant Goodyear (RETIRED) gentoo-dev 2005-02-08 10:16:39 UTC
1.3.3 is in portage now, but it's hard-masked for testing.  Please note that upgrading from 1.2.x to 1.3.x is non-trivial.
Comment 9 Thomas Schmidt 2005-02-23 05:04:38 UTC
emerged moinmoin with or without use of vhosts.

'webapp-config -I -d /mywiki -v -p moinmoin 1.3.3' outputs:
/usr/sbin/webapp-config: line 2916: fn_version_verify: command not found

Is this a moinmoin or a webapp-config problem?
Comment 10 Scott Hadfield (RETIRED) gentoo-dev 2005-03-17 19:46:56 UTC
> 'webapp-config -I -d /mywiki -v -p moinmoin 1.3.3' outputs:
> /usr/sbin/webapp-config: line 2916: fn_version_verify: command not found

> Is this a moinmoin or a webapp-config problem?

This looks like a webapp-config problem, I don't think it expects the version parameter to be used when installing a webapp. If you want verbose you should use --verbose or -V (capital V).
Comment 11 Scott Hadfield (RETIRED) gentoo-dev 2005-03-17 20:03:18 UTC
It seems like the underlay directory needs to be server owned. After installing moinmoin it gives this message:

"data_underlay_dir" does not exists at "./underlay/", or has incorrect ownership and permissions.

Which is fixed by changing the permissions on underlay to be owned by the webserver.
Comment 12 Radek Podgorny 2005-03-19 14:28:22 UTC
Experienced the same as Scott Hadfield. Everything else works perfectly...
Comment 13 Radek Podgorny 2005-03-22 05:32:15 UTC
CAUTION: Although moinmoin-1.3.3 seems to be SLOTed differently, it messes up (overwrites) the files in "site-packages". Be ready to experience problems when trying to run both 1.2.x and 1.3.x
Comment 14 Urs Joss 2005-03-28 11:44:33 UTC
Version 1.3.4 has been out for a couple of weeks. I locally bumped the ebuild for 1.3.3  to 1.3.4. It compiled well and in the end I got it running nicely.

A couple of remarks/suggestions:

1) Permissions of ./underlay

I experienced the same issue as Scott in comment #11. His solution works for me.

2) I guess there is a bug in postinstall-en.txt. I believe it should be as follows:

--- postinstall-en.txt  2005-03-24 13:22:24.000000000 +0100
+++ postinstall-en.txt.new      2005-03-28 21:29:02.000000000 +0200
@@ -4,7 +4,7 @@
 1. ExecCGI needs to be enabled in your Moinmoin directory. You con do this by
 simply
 # echo "Options ExecCGI" > ${MY_INSTALLDIR}/.htaccess
-# echo "AddHandler cgi-script .cgi" > ${MY_INSTALLDIR}/.htaccess
+# echo "AddHandler cgi-script .cgi" >> ${MY_INSTALLDIR}/.htaccess

 2. Add the following lines to your Apache configs:
 Alias /wiki "${MY_INSTALLDIR}"

3) I wasn't quite sure on how to install several wiki pages on the same host. As Marti notes (comment #7) , the moin way of doing that kinda makes webapp-config obsolete (for the given ebuild ;-). However, webapp-config seems to be the gentooish-way - and the ebuild prepares for this as far as I understand it. 
I settled using webapp-config and it works fine. I'm not sure if this is more resource intensive than the moin way. Maybe somebody could comment on how this is meant to be in Gentoo. Maybe even in the postinstall text.

4) If the webapp-config way is the way to choose, the ebuild might replace the dummy path in line 16 of moin.cgi like s/'\/path\/to\/wikiconfig'/./   I don't know if this can be done by webapp-config. Would make more sense than having this change already in /usr/share/webapps...
Comment 15 Radek Podgorny 2005-03-28 13:42:16 UTC
webapp-config seems to be hard-linking the wiki_config.py file which leads to ALL your wikis having the SAME configuration. ...or maybe I just didn't get how to use webapp-config... :-( ...never liked it anyway...
Comment 16 Urs Joss 2005-03-28 14:23:31 UTC
I might have missed that because my /usr/share/webapps and my /var/www used to be on different partitions. In that case it copies the files as opposed to (hard) linking them. (I have since moved /usr/share/webapps to /var/www/webapps and symlinked it to /usr/share/webapps - as suggested by `man webapp-config`. Didn't reinstall the wikis though).

Is Radeks issue a bug in the ebuild - and can thus be corrected? Naturally the configs should be copies and not hardlinks.
Comment 17 Scott Hadfield (RETIRED) gentoo-dev 2005-07-06 19:40:00 UTC
MoinMoin 1.3 won't provide RSS support without PyXML installed as described in
their CHANGES file:
http://moinmoin.wikiwikiweb.de/MoinMoinRelease1.3/CHANGES

I'm not sure what the best solution is for this, but perhaps it should have the
option of an RSS USE flag that will install PyXML if set.
Comment 18 Urs Joss 2005-08-09 05:43:40 UTC
moinmoin-1.3.5 is out (bugfix release)

I have successfully bumped the current ebuild 1.3.3. Compiled fine and works
nicely so far. 

Of course all the issues detailed in this thread still apply...
Comment 19 Renat Lumpau (RETIRED) gentoo-dev 2005-08-28 16:42:55 UTC
1.3.5 is in the tree

1. wikiconfig.py is no longer overwritten
2. underlay directory is owned by webserver
3. moinmoin is now MANUAL_SLOTted, SLOT=0, and blocks previous versions. This
should solve the upgrading issue
4. Urs' comments in #14 have been addressed
5. the hardlinking issue is resolved as the file is marked as webapp_configfile
and therefore always copied, not hardlinked
6. added rss USE flag

Please test and reopen if necessary.