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

Re: [PATCHv3 1/2] Add a remote helper to interact with mediawiki, pull & clone handled

From
JNJérémie NIKAES <jeremie.nikaes@ensimag.imag.fr>
Date
Jun 9, 2011, 14:30 UTC
Message-ID
<BANLkTinduWxp5QR+Ri3REoqVY3hYPc_-rg@mail.gmail.com>
In-Reply-To
<BANLkTikp6bGwVZqq7XAZ1bKVaMVLJ9XQiw@mail.gmail.com>
2011/6/9 Sverre Rabbelier <srabbelier@gmail.com>:
Show 14 quoted lines
> Heya,
>
> On Thu, Jun 9, 2011 at 15:15, Jeremie Nikaes
> <jeremie.nikaes@ensimag.imag.fr> wrote:
>> +sub mw_capabilities {
>> +       print STDOUT "push\n";
>
>> +sub mw_push {
>> +       print STDERR "Push not yet implemented\n";
>> +}
>
> If it's not supported then you shouldn't advertise it above. Is there
> any particular reason you implemented it this way? E.g., did you
> encounter a breakage in remote-helpers if push is not implemented?
Well, if you dont give the capability to push, you get the following message
error: failed to push some refs to 'mediawiki::http://mediawikiurl'
Which is less explicit than 'Push not yet implemented'.
Regards,
-- 
Jérémie Nikaes
Previous: Sverre RabbelierNext: Sverre Rabbelier
Message 5 of 10 in “[PATCHv3 1/2] Add a remote helper to interact with mediawiki, pull & clone handled”
  1. Jeremie NikaesJun 9, 2011
  2. 2/2 Git-remote-mediawiki: Add push supportJeremie Nikaes, Jun 9, 2011
  3. Junio C HamanoJun 9, 2011
  4. Sverre RabbelierJun 9, 2011
  5. Jérémie NIKAESJun 9, 2011
  6. Sverre RabbelierJun 9, 2011
  7. Jeff KingJun 9, 2011
  8. Jeff KingJun 10, 2011
  9. Arnaud LacurieJun 10, 2011
  10. Jeff KingJun 10, 2011

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.