On Wed, Mar 11, 2009 at 7:30 AM, Matthew Toseland
<toad at amphibian.dyndns.org> wrote:
> On Monday 09 March 2009 11:35:38 Daniel Cheng wrote:
>> On Mon, Mar 9, 2009 at 6:46 PM, ?<bo-le at web.de> wrote:
>> >> -----Urspr?ngliche Nachricht-----
>> >> Von: "Daniel Cheng (aka SDiZ)" <j16sdiz+freenet at gmail.com>
>> >> Gesendet: 09.03.09 04:36:25
>> >> An: ?git at vger.kernel.org
>> >> Betreff: [freenet-dev] [PoC PATCH JGIT 0/2] Proof of concept code for Git
> Freenet transport
>> >
>> >> Hi JGit / Freenet community,
>> >>
>> >> Here is some proof-of-concept code for Git-over-Freenet.
>> >> I am sending this to see the feedback from communities.
>> >>
>> >> The code need some more cleanups, so it it is not ready for apply (yet).
>> >>
>> >> This is a real-life example
>> >>
>> >> Push:
>> >> ? ?$ git remote add fcp fcp://SSK@[my public key]^[my private
> key]/test.git
>> >> ? ?$ ./jgit push fcp refs/remotes/origin/stable:refs/heads/master
>> >>
>> >> ?/ALTERNATIVLY/
>> >>
>> >> ? ?Insert a bare repository under USK@<.....>/test.git/-1/
>> >>
>> >> Pull:
>> >> ?$ ./jgit clone fcp://SSK@[my public key]^[my private key]/test.git
>> >
>> > a pull from fproxy should be possible. so the average user can grab and
> build sources with an unpatched/regular git version
>> > $ git clone http://127.0.0.1:8888/key/app.git ?//grab & build a app
>> > $ git clone http://127.0.0.1:8888/key/jFreeGit.git ?//ha, bootstrap! grab
> & build the modified git for creating repos in freenet
>> >
>> >>
>> >>
>> >> To workaround the metadata update problem, this client translate the
>> >> path seperator to "-", that means:
>> >
>> > you need to mangele path names properly, it may fail on names with '-'
> inside.
>>
>> It doesn't matter -- we don't have to convert it back.
>>
>> >> On push:
>> >> ? ?objects/aa/bbbbbbbb ? --> USK at ..../test.git-objects-aa-bbbbbbb/-1/
>> >> ? ?refs/heads/xxx ? ? ? ?--> USK at 
>> >> ..../test.git-objects-ref-heads-xxx/-1/
>> >>
>> > why not 'USK at ..../test.git/1/objects/aa/bbbbbbb' ?
>>
>> In freenet,
>> all files under ? USK at ..../test.git/1/* are packed in a zip file and
>> must be updated at once.
>> If we do this, we have to upload all pack files again on every push --
>> this is very bad.
>>
>> see http://wiki.github.com/j16sdiz/egit-freenet for more detail reply.
>
> From TODO:
>
> ? ?* ?jGit pack everything into one pack file. But freenet does not handle
> large files well. How can we, lets say, generate a pack file for every 200
> objects? every 2MiB?
>
> It doesn't? What's the issue here?
>

It work, it just take longer then what i am comfortable in an
interactive session.

Reply via email to