The code need some more cleanups, so it is not ready for apply (yet). It will be rebased / reorganized from time to time, until it is merged upstream.
make_jgit.sh
) here . This is a JAR file, prepadded with a shell script. After chmod 755 jgit
, it should be usable in any linux system with java installed.
The full source is only aviliable on github , or in the git repository. See page footer for the repository address.
$ echo "publicKey=USK@VoFcfs8Y3VQfwD66ZgXAb4HBiS~WJe8w9mOy2hS9Mh8,OS6~bhX8LHxMLw-sruBkWDeACo-fg4yBZqueMPVj1Uc,AQACAAE/" > .git/egit-freenet $ echo "privateKey=USK@.........,AQECAAE/" >> .git/egit-freenet $ git remote add fcp freenet://egit-freenet/egit-freenet.git/0/ $ ./jgit push fcp master
git update-server-info
USK@[.....]/egit-freenet.git/0/
$ ./jgit clone freenet://USK@VoFcfs8Y3VQfwD66ZgXAb4HBiS~WJe8w9mOy2hS9Mh8,OS6~bhX8LHxMLw-sruBkWDeACo-fg4yBZqueMPVj1Uc,AQACAAE/egit-freenet.git/6/OR
$ echo "publicKey=USK@VoFcfs8Y3VQfwD66ZgXAb4HBiS~WJe8w9mOy2hS9Mh8,OS6~bhX8LHxMLw-sruBkWDeACo-fg4yBZqueMPVj1Uc,AQACAAE/" > ~/egit-freenet $ ./jgit clone freenet://egit-freenet/test.git
$ echo "publicKey=USK@VoFcfs8Y3VQfwD66ZgXAb4HBiS~WJe8w9mOy2hS9Mh8,OS6~bhX8LHxMLw-sruBkWDeACo-fg4yBZqueMPVj1Uc,AQACAAE/" > .git/egit-freenet
$ git remote add fcp freenet://egit-freenet/egit-freenet.git/0/ $ ./jgit push fcp master:master
git clone 'http://localhost:8888/?type=text/plain&max-size=2147483647&key=USK@VoFcfs8Y3VQfwD66ZgXAb4HBiS~WJe8w9mOy2hS9Mh8,OS6~bhX8LHxMLw-sruBkWDeACo-fg4yBZqueMPVj1Uc,AQACAAE/egit-freenet.git/6/' egit-freenet
To support updateing / re-inserting the git repository as archive, egit-freenet
keep a file list (named .JGIT-FREENET-FILELIST
) internatlly. The format is:
# File List ^SSK@[...],AQACAAE/egit-freenet.git-5/ (1) objects/pack/pack-[...].idx SSK@[..]/egit-freenet.git-7/objects/pack/pack-[...].idx (2) objects/pack/pack-[...].pack CHK@[..],AAIA--8 info/refs * objects/info/packs * (4) refs/heads/master *
egit-freenet
would try to fetch the file from the base archive. Successful fetchs would be added to the file list.objects/info/packs
are added.TAB
. USK@
are always resolved to SSK@
. Large files are inserted as CHK@
s.*
as the key indicate that file is new in this archive and have been inserted as a part of SSK@
.Website: | http://j16sdiz.github.com/egit-freenet/ |
Git Repository: | git://github.com/j16sdiz/egit-freenet.git |
freenet://USK@VoFcfs8Y3VQfwD66ZgXAb4HBiS~WJe8w9mOy2hS9Mh8,OS6~bhX8LHxMLw-sruBkWDeACo-fg4yBZqueMPVj1Uc,AQACAAE/egit-freenet.git/6/ | |
Freesite: | freenet:USK@VoFcfs8Y3VQfwD66ZgXAb4HBiS~WJe8w9mOy2hS9Mh8,OS6~bhX8LHxMLw-sruBkWDeACo-fg4yBZqueMPVj1Uc,AQACAAE/egit-freenet/-1/ |
PGP Key | sec 1024D/75494252 |
Freemail: | sdiz@sdiz.freemail |