Git push over XMPP
joeyh.name
joeyh.name
All git patches boil can be boiled down to ASCII patches. There's no reason you can't write a framework to send/receive ASCII-formatted git patches/pulls/pushes via email, xmpp, twitter, etc.
https://git.kernel.org/?p=git/git.git;a=blob;f=diff-delta.c;...
https://git.kernel.org/?p=git/git.git;a=blob;f=diffcore-delt...
* "git commit" learned "-S" to GPG-sign the commit; this can be shown
with the "--show-signature" option to "git log".
man git: All objects are named by the SHA1 hash of their contents, normally
written as a string of 40 hex digits. Such names are globally unique.
The entire history leading up to a commit can be vouched for by signing
just that commit."Take a commit with signature[s], add a new signature (create a new commit that contains the previous signature[s] (which should still be valid if you don't change anything else) + your own).
I looked into this very briefly and think it should be possible, but didn't go any further than that.
This would I think be neat for creating things like code review systems that require a certain number of signatures from a larger set of potential signers before automatic deployment.
[1]: A good example would be http://git.eclipse.org/c/jgit/jgit.git/tree/org.eclipse.jgit... (Git over Amazon S3)
[2]: If programming Java allows you to do this, of course. I'm not too deep into the JVM ecosystem, so I don't know if you could just use a language that compiles to JVM bytecode.
> Imagine if you could send git pushes to any of your friends on
> Google Talk or other Jabber (XMPP) servers. Even though you're in
> different places and your computers probably cannot talk to
> one-another directly, you can share a git repository, without
> relying on a git hosting provider such as GitHub.
I really just want to weep. Hopefully some of this will go away with ip6 (no more silly NATing for nothing). Broken networks with asymmetric bandwidth hawked by dying conglomerates protecting their ancient signalling technology (and now antiquated media distribution channels) will haunt us for decades.[edit: quote formatting]
I have little confidence in the Internet's end-to-end routing getting fixed unless and until the Internet backbone itself changes shape to something less conducive to monopoly.