[PATCH 00/12] git-remote-mediawiki: tests and optimizations
- From
Matthieu Moy <matthieu.moy@imag.fr>
- Date
- Jul 5, 2012, 07:36 UTC
- Message-ID
- <1341473772-28023-1-git-send-email-Matthieu.Moy@imag.fr>
This patch serie starts with the implementation of an automated testsuite for git-remote-mediawiki. It was already discussed here:
http://thread.gmane.org/gmane.comp.version-control.git/199718/focus=199905
but has been reworked a bit (no huge change in behavior, but a lot of style fixes). The first two patches implement the infrastructure, the next few ones provide a set of testcases for existing features.
On top of that, a new fetch strategy is implemented, that is much faster than the existing on wikis with little activity and many pages. The existing tests for push and pull are reused to be tested with this new strategy. This part can be split in a separate patch serie if needed.
Guillaume Sasdy (4):
git-remote-mediawiki: scripts to install, delete and clear a
MediaWiki
git-remote-mediawiki: test environment of git-remote-mediawiki
git-remote-mediawiki (t9360): test git-remote-mediawiki clone
git-remote-mediawiki (t9361): test git-remote-mediawiki pull and pushMatthieu Moy (6): git-remote-mediawiki: support for uploading file in test environment git-remote-mediawiki: change return type of get_mw_pages git-remote-mediawiki: refactor loop over revision ids git-remote-mediawiki: extract revision-importing loop to a function git-remote-mediawiki: more efficient 'pull' in the best case git-remote-mediawiki: be more defensive when requests fail
NGUYEN Kim Thuat (1): git-remote-mediawiki (t9363): test 'File:' import and export
Simon Cathebras (1):
git-remote-mediawiki (t9362): test git-remote-mediawiki with UTF8
characterscontrib/mw-to-git/Makefile | 48 +++ contrib/mw-to-git/git-remote-mediawiki | 151 +++++-- contrib/mw-to-git/t/.gitignore | 4 + contrib/mw-to-git/t/Makefile | 32 ++ contrib/mw-to-git/t/README | 124 ++++++ contrib/mw-to-git/t/install-wiki.sh | 45 +++ contrib/mw-to-git/t/install-wiki/.gitignore | 1 + contrib/mw-to-git/t/install-wiki/LocalSettings.php | 129 ++++++ contrib/mw-to-git/t/install-wiki/db_install.php | 120 ++++++ contrib/mw-to-git/t/push-pull-tests.sh | 144 +++++++ contrib/mw-to-git/t/t9360-mw-to-git-clone.sh | 257 ++++++++++++ contrib/mw-to-git/t/t9361-mw-to-git-push-pull.sh | 24 ++ contrib/mw-to-git/t/t9362-mw-to-git-utf8.sh | 301 ++++++++++++++ .../mw-to-git/t/t9363-mw-to-git-export-import.sh | 198 ++++++++++ contrib/mw-to-git/t/t9364-pull-by-rev.sh | 17 + contrib/mw-to-git/t/test-gitmw-lib.sh | 435 +++++++++++++++++++++ contrib/mw-to-git/t/test-gitmw.pl | 225 +++++++++++ contrib/mw-to-git/t/test.config | 35 ++ 18 files changed, 2263 insertions(+), 27 deletions(-) create mode 100644 contrib/mw-to-git/Makefile create mode 100644 contrib/mw-to-git/t/.gitignore create mode 100644 contrib/mw-to-git/t/Makefile create mode 100644 contrib/mw-to-git/t/README create mode 100755 contrib/mw-to-git/t/install-wiki.sh create mode 100644 contrib/mw-to-git/t/install-wiki/.gitignore create mode 100644 contrib/mw-to-git/t/install-wiki/LocalSettings.php create mode 100644 contrib/mw-to-git/t/install-wiki/db_install.php create mode 100644 contrib/mw-to-git/t/push-pull-tests.sh create mode 100755 contrib/mw-to-git/t/t9360-mw-to-git-clone.sh create mode 100755 contrib/mw-to-git/t/t9361-mw-to-git-push-pull.sh create mode 100755 contrib/mw-to-git/t/t9362-mw-to-git-utf8.sh create mode 100755 contrib/mw-to-git/t/t9363-mw-to-git-export-import.sh create mode 100755 contrib/mw-to-git/t/t9364-pull-by-rev.sh create mode 100755 contrib/mw-to-git/t/test-gitmw-lib.sh create mode 100755 contrib/mw-to-git/t/test-gitmw.pl create mode 100644 contrib/mw-to-git/t/test.config
-- 1.7.11.1.147.g47a574d