On 12/22/15, Natacha Porté <nata...@instinctive.eu> wrote:
>
> I would love to have such a feature.
>
> Sadly, I don't have anything useful to contribute on git protocol.

When you clone a git repo, it downloads a single "packfile" named
something like "pack-a68311ca03cf1a45c7045f55d79235c5203e0079.pack".
(The actual name will vary each time, of course).

I'm currently working on code that will transform one of these
packfiles into a valid Fossil repository.

If you want to help, one thing you can do is figure out fetch one of
these packfiles from GitHub.  Perhaps write a demo program:

     grab-pack-file  git://github.com/git/git.git  newpack.pack

This demo program would open the necessary socket connections to
GitHub, send whatever messages GitHub wants to see, then retrieves the
packfile and stores it in newpack.pack.  For best results, structure
the demo program so that it is easy to import into Fossil as a
subroutine. If you want to make a "fossil test-get-pack-file URL FILE"
command already built into Fossil on a branch, that would be amazing.

You don't know how to do that?  Well, neither do I.  It's something
we'll need to figure out.  Anything you can do to help figure this out
will be appreciated.

-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
fossil-dev mailing list
fossil-dev@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to