Upload-to-patchbin script now available

[M-x infomercial-mode]
[world is black and white]
Want to endow your patch with awesome code-review functionality and impress fellow hackers? Email, attaching patches, wrapping, line widths got you down? Want to give feedback on code but can’t because you don’t want to copy, paste, quote and appease the demons of fixed-width formatting?

Some people said patchbin.com was the answer. Yes, it made collaborating a lot easier by making each line a comment thread, and it’s a lot saner than attaching an entire patch – it would make life on IRC, email and chat so much easier. Alas, I can’t be bothered to copy an entire patch into the clipboard and paste it into a new webpage.

Sigh. You know what would be badass – a commandline based uploader for patchbin. But of course there’s no such thing. It’s not like I can just pipe the output of a diff command into another program which would automatically upload it to patchbin. I’d just say “git diff|patchbin” or “cat awesomefeature.patch | patchbin”, and that’d be it. Haha! while that would be overwhelmingly awesome, that does not exist.
[world becomes color]

Oh my! Look what the heavens have dropped into my address bar! It can’t be!

http://anirudhsanjeev.org/projects/PatchBinUploadScript

Oh! Praise the gods of open source for this 50 lines of concentrated awesome!
[/informercial-mode]

(I am bored and need coffee. Can you tell?)

1 Responses to “Upload-to-patchbin script now available”


Leave a Reply