git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Sverre Rabbelier <srabbelier@gmail.com>
To: Gabriel Filion <lelutin@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: RFD: git-bzr: anyone interested?
Date: Fri, 19 Feb 2010 08:49:44 +0100	[thread overview]
Message-ID: <fabb9a1e1002182349h923d4acv55d9a41a249d4f51@mail.gmail.com> (raw)
In-Reply-To: <4B7E3856.3080609@gmail.com>

Heya,

[please do not cull the cc list, it is considered rude on this list]

On Fri, Feb 19, 2010 at 08:05, Gabriel Filion <lelutin@gmail.com> wrote:
> On 2010-02-18 13:37, Sverre Rabbelier wrote:
>> If you're interested have a look at
>> Documentation/git-remote-helpers.txt, and read the mailing list
>> archives on the subject.
>
> The Documentation/git-remote-helpers.txt file wasn't really of much help
> .. It really only barely scratches the subject, but it does not mention
> how remote-helpers really work internally (e.g. how do they get called:
> based on protocol used in URLs?)

True, I hope to document that better when I submit my git-remote-hg
implementation.

> I'm still trying to dig up information about how to actually build, test
> and use a remote helper. I'll probably be reading code for examples.

Perhaps you could benefit from looking at my git-remote-hg code so
far, I'll put it up on github [0] today as 'remote-hg'. If you're too
soon you'll see commit 21215675c as the head, which isn't that useful,
in that case just look again later :P.

> Another detail hit me: external interaction in git seems like it's
> almost always using librairies. If I'm not mistaken, bzr does not have a
> separate library. So to have access to it's API, you need bzr to be
> installed. This is why the current git-bzr script is using bzr +
> bzr-fastimport plugin to do the job.

That is part of the reason why the remote-helpers are implemented as
separate programs, so that whatever backend they interact with does
not become a dependency of git itself.

> Is it normal / acceptable for a remote helper to have such dependancies?

Yes, git-remote-hg depends on mercurial being installed.

> And for the language used, maybe python could be logical if I can bind
> directly to Bazaar's API. Tell me what you think about this.

Yup, that would make sense, you could put your code in
/git_remote_helpers/bzr/, alongside with the to-be-added
/git_remote_helpers/hg and /git_remote_helpers/cvs.

[0] http://github.com/SRabbelier/git

-- 
Cheers,

Sverre Rabbelier

  reply	other threads:[~2010-02-19  7:50 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-18 18:13 RFD: git-bzr: anyone interested? Gabriel Filion
2010-02-18 18:37 ` Sverre Rabbelier
2010-02-19  7:05   ` Gabriel Filion
2010-02-19  7:49     ` Sverre Rabbelier [this message]
2010-02-19 12:52       ` Gabriel
2010-02-19 13:38         ` Sverre Rabbelier
2010-02-19 15:15           ` Writing git remote helpers Gabriel
2010-02-22  4:53       ` RFD: git-bzr: anyone interested? Gabriel Filion
2010-02-19 13:55     ` Ilari Liusvaara
2010-02-22  4:42       ` Gabriel Filion
2010-02-22 10:51         ` Ilari Liusvaara
2010-02-23  3:20           ` Gabriel Filion
2010-02-23 12:45             ` Ilari Liusvaara
2010-04-26 21:41               ` Chris Packham
2010-04-26 23:46                 ` Dmitrijs Ledkovs
2010-04-27  0:58                   ` Chris Packham
2010-04-27  2:10                   ` Miles Bader
2010-04-27  2:53                 ` Gabriel Filion
2010-04-27  8:47                   ` Dmitrijs Ledkovs
2010-04-27 17:00                     ` Chris Packham
2010-04-27 17:13                   ` Chris Packham
2010-04-27 23:22                     ` Dmitrijs Ledkovs
2010-08-06  7:19                 ` Conrad Parker
2010-08-07  3:36                   ` Miles Bader
2010-08-07  8:48                     ` Gabriel Filion
2010-08-07 13:37                       ` Miles Bader
2010-08-07 13:03                   ` git-archimport (was: Re: RFD: git-bzr: anyone interested?) Jakub Narebski
2010-08-07 13:11                     ` git-archimport Matthieu Moy
2010-02-20 13:58 ` RFD: git-bzr: anyone interested? Felipe Contreras
2010-02-22  2:43   ` Gabriel Filion

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fabb9a1e1002182349h923d4acv55d9a41a249d4f51@mail.gmail.com \
    --to=srabbelier@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=lelutin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).