Re: [RFC/PATCH 0/3] fast-import: give importers access to the object store

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Heya,

On Sun, Sep 5, 2010 at 01:08, Ramkumar Ramachandra <artagnon@xxxxxxxxx> wrote:
>> Another possible concern is that this is very much git specific.
>> Other fast-import backends are just not going to be able to do
>> it with the same format.  Is there a convention for naming
>> options like that?
>
> Why is this a concern? We aren't even breaking backward
> compatibility. This bidi interface should only be used by SVN-like
> frontends.

I don't agree, imagine implementing hg-remote-svn (or the conceptual
equivalent at least), it would require the same functionality, yes?
You need to retrieve something from fast-import that you previously
gave it.

> We'll get ideas to improve this as svn-fe gets built up. On a related
> note, we should probably extend the git-remote-testgit helper to use
> this feature in future to facilitate writing unittests.

Hmmm, that would be somewhat difficult I suspect, the reason
git-remote-testgit was so easy to write is because git-fast-export and
git-fast-import do exactly what I wanted to test. You'd have to teach
munge the fast-export stream even more to insert this feature somehow,
I suspect that'll be a non-trivial feat. Of course, you will need to
test it somehow, I suspect that Jonathan's current approach (using
hardcoded streams) might be the easiest.

-- 
Cheers,

Sverre Rabbelier
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]