Install mw-to-git into production location. (Closes: #718395)
commite5e79288e44b648e1f2f0dffc3da3be9b845f064
authorThorsten Glaser <t.glaser@tarent.de>
Fri, 30 Aug 2013 11:04:20 +0000 (30 13:04 +0200)
committerJonathan Nieder <jrnieder@gmail.com>
Tue, 12 Nov 2013 00:00:20 +0000 (11 16:00 -0800)
treea2c572c86f46407fa9d00fb71bdc3d04dfd9dc7f
parent2ca280670583624ca795d7cd9642d2a804b0d1ca
Install mw-to-git into production location. (Closes: #718395)

This makes the following things work (tested):

 $ git clone -c remote.origin.pages='PluginDemo' \
   mediawiki::https://evolvis.org/plugins/mediawiki/wiki/evolvis

(Cloning from an Evolvis (FusionForge) Wiki; pushing not tested
because the Wiki in question does not allow anonymous write access.)

 $ git clone -c remote.origin.pages='User:mirabilos' \
   mediawiki::http://en.wikipedia.org/w user_mirabilos
 $ cd user_mirabilos; jupp User:Mirabilos.mw
 $ git commit -a -m …; git push

(Cloning from Wikipedia, editing, pushing; shows up as anonymous
commit from my IPv4 address.)

This functionality requires two additional packages installed;
adjust Suggests appropriately.

“git help mw”, “git help remote-mediawiki” do not work; but then,
upstream does not provide a lot of help in the first place. If
it’s necessary I may consider writing appropriate manpages after
I’ve used this for a while and learned of its possibilities.

[jn: cleaned up build rules; moved to separate git-mediawiki package]

Signed-off-by: Thorsten Glaser <t.glaser@tarent.de>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
debian/changelog
debian/control
debian/diff/0010-git-remote-mediawiki-do-not-remove-installed-files-in.diff [new file with mode: 0644]
debian/git-mediawiki.docs [new file with mode: 0644]
debian/rules