git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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 push
Matthieu 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
    characters
 contrib/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
Next: Matthieu Moy
Message 1 of 30 in “git-remote-mediawiki: tests and optimizations”
  1. 00/12 git-remote-mediawiki: tests and optimizationsMatthieu Moy, Jul 5, 2012
  2. 01/12 git-remote-mediawiki: scripts to install, delete and clear a MediaWikiMatthieu Moy, Jul 5, 2012
  3. 02/12 git-remote-mediawiki: test environment of git-remote-mediawikiMatthieu Moy, Jul 5, 2012
  4. Junio C HamanoJul 5, 2012
  5. Matthieu MoyJul 6, 2012
  6. 00/12 git-remote-mediawiki: tests and optimizationsMatthieu Moy, Jul 6, 2012
  7. 01/12 git-remote-mediawiki: scripts to install, delete and clear a MediaWikiMatthieu Moy, Jul 6, 2012
  8. 02/12 git-remote-mediawiki: test environment of git-remote-mediawikiMatthieu Moy, Jul 6, 2012
  9. 03/12 git-remote-mediawiki (t9360): test git-remote-mediawiki cloneMatthieu Moy, Jul 6, 2012
  10. 04/12 git-remote-mediawiki (t9361): test git-remote-mediawiki pull and pushMatthieu Moy, Jul 6, 2012
  11. 05/12 git-remote-mediawiki (t9362): test git-remote-mediawiki with UTF8 charactersMatthieu Moy, Jul 6, 2012
  12. 06/12 git-remote-mediawiki: support for uploading file in test environmentMatthieu Moy, Jul 6, 2012
  13. 07/12 git-remote-mediawiki (t9363): test 'File:' import and exportMatthieu Moy, Jul 6, 2012
  14. 08/12 git-remote-mediawiki: change return type of get_mw_pagesMatthieu Moy, Jul 6, 2012
  15. 09/12 git-remote-mediawiki: refactor loop over revision idsMatthieu Moy, Jul 6, 2012
  16. 10/12 git-remote-mediawiki: extract revision-importing loop to a functionMatthieu Moy, Jul 6, 2012
  17. 11/12 git-remote-mediawiki: more efficient 'pull' in the best caseMatthieu Moy, Jul 6, 2012
  18. 12/12 git-remote-mediawiki: be more defensive when requests failMatthieu Moy, Jul 6, 2012
  19. 03/12 git-remote-mediawiki (t9360): test git-remote-mediawiki cloneMatthieu Moy, Jul 5, 2012
  20. 04/12 git-remote-mediawiki (t9361): test git-remote-mediawiki pull and pushMatthieu Moy, Jul 5, 2012
  21. Junio C HamanoJul 5, 2012
  22. 05/12 git-remote-mediawiki (t9362): test git-remote-mediawiki with UTF8 charactersMatthieu Moy, Jul 5, 2012
  23. 06/12 git-remote-mediawiki: support for uploading file in test environmentMatthieu Moy, Jul 5, 2012
  24. 07/12 git-remote-mediawiki (t9363): test 'File:' import and exportMatthieu Moy, Jul 5, 2012
  25. 08/12 git-remote-mediawiki: change return type of get_mw_pagesMatthieu Moy, Jul 5, 2012
  26. Junio C HamanoJul 5, 2012
  27. 09/12 git-remote-mediawiki: refactor loop over revision idsMatthieu Moy, Jul 5, 2012
  28. 10/12 git-remote-mediawiki: extract revision-importing loop to a functionMatthieu Moy, Jul 5, 2012
  29. 11/12 git-remote-mediawiki: more efficient 'pull' in the best caseMatthieu Moy, Jul 5, 2012
  30. 12/12 git-remote-mediawiki: be more defensive when requests failMatthieu Moy, Jul 5, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.