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

Re: What's cooking in git.git (Jul 2013, #05; Fri, 12)

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Jul 15, 2013, 08:34 UTC
Message-ID
<vpqd2qkgr19.fsf@anie.imag.fr>
In-Reply-To
<7vk3kvie4h.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 19 quoted lines
> * bp/mediawiki-preview (2013-07-08) 7 commits
>   (merged to 'next' on 2013-07-12 at 870890a)
>  + git-remote-mediawiki: add preview subcommand into git mw
>  + git-remote-mediawiki: add git-mw command
>  + git-remote-mediawiki: factoring code between git-remote-mediawiki and Git::Mediawiki
>  + git-remote-mediawiki: update tests to run with the new bin-wrapper
>  + git-remote-mediawiki: add a git bin-wrapper for developement
>  + wrap-for-bin: make bin-wrappers chainable
>  + git-remote-mediawiki: introduction of Git::Mediawiki.pm
>
>  Add a command to allow previewing the contents locally before
>  pushing it out, when working with a MediaWiki remote.
>
>  I personally do not think this belongs to Git.  If you are working
>  on a set of AsciiDoc source files, you sure do want to locally
>  format to preview what you will be pushing out, and if you are
>  working on a set of C or Java source files, you do want to test it
>  before pushing it out, too.  That kind of thing belongs to your
>  build script, not to your SCM.

There's one big difference: when you use AsciiDoc/C/Java/... your build system works locally. "git mw preview" uses the remote wiki to do the rendering. It doesn't do so with the remote-helper interface, but uses the same remote and same configuration as the remote-helper, and it shares some code with it. It seems logical to let it leave next to the remote-helper (but clearly in contrib/, not in the core Git).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 3 in “What's cooking in git.git (Jul 2013, #05; Fri, 12)”
  1. Junio C HamanoJul 12, 2013
  2. Matthieu MoyJul 15, 2013
  3. Junio C HamanoJul 15, 2013

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.