[Pkg-mediawiki-devel] Re: Upstream repository...

Romain Beauxis toots at rastageeks.org
Thu Sep 15 14:37:51 UTC 2005


Andreas Tille wrote:

> On Thu, 15 Sep 2005, Marc [utf-8] Dequènes wrote:
>
>> The SVN repo still needs some reorganisation ; at the moment my branch
>> serves as mainline and has been updated with last changes from toots and
>> me. The corresponding pkg is available in my repo and is currently in
>> use for HurdFr wiki (with great success).
>
>

Well, I've changed a bit my rules file, because it would failed with 
space named files..
Indeed "for i in '/bin/ls';" does not behave good with space names, and 
splitt "a file" in  "a" and "file"..
Instead, it is good to use: "/bin/ls | while read i;"
I've not tested the issue with find, but I beleive it would be the same..
* modified files

--- orig/debian/rules
+++ mod/debian/rules
@@ -20,9 +20,9 @@
 binary-install/mediawiki::
        cp -rf $(CURDIR)/debian/etc/* 
$(CURDIR)/debian/mediawiki/etc/mediawiki
        chmod a+x 
debian/mediawiki/usr/share/mediawiki/maintenance/fetchInterwiki.pl
-       for i in `find debian/mediawiki/usr/share/mediawiki -maxdepth 1 
-mindepth 1`; do \
-               dh_link `echo $$i | sed -e s#debian/mediawiki/###` \
-               `echo $$i | sed -e 
s#debian/mediawiki/usr/share/mediawiki/#var/lib/mediawiki/#`; \
+       find debian/mediawiki/usr/share/mediawiki -maxdepth 1 -mindepth 
1 | while read i; do \
+               dh_link "`echo "$$i" | sed -e s#debian/mediawiki/###`" \
+               "`echo "$$i" | sed -e 
s#debian/mediawiki/usr/share/mediawiki/#var/lib/mediawiki/#`"; \
        done


Should be merged in the final package.. But I don't want to change 
Marc's file, I would not feel it nice :)


> I'm using mediawiki-1.4.4-2 successfully for several weeks.
>
> The only feature I would like very much would be if a
>
>       /etc/mediawiki/LocalSettings.php
>
> file would be created using debconf instead of using the configuration
> web interface which might also include some further configuration items
> for instance
>
>       $wgDisableUploads = false ;
>
> This would be very convinient.  But this wishlist feature should not
> stop an upload - it's just an idea.


Again, I do not agree with this point, as it seems more clever to me 
that we use the more we can the means provided by the original application.
Mainly because packaging a webapp is a lot of work, and it can be all 
the more painfull if upstream choose, for instance, to change its conf 
file structure: the package with a debianized config would have to 
provide a way of converting its own file while upstream would certainly 
provide it its way..
But well, if anyone wants to do a debconf thing, I'm not against, but 
wouldn't like to have to maintain it..

Romain



More information about the Pkg-mediawiki-devel mailing list