Projects : PatchbinUploadScript

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

Patchbin upload script

Use this little tool to upload your patches and diffs very easily to patchbin, thus endowing them with awesome code-review and commenting functionality that your fellow hackers will love. Now you just say:

git diff | patchbin
svn diff | patchbin
cat awesomefeature.patch | patchbin

That's it! And you'll get a link that you can use.

Installation

Currently, there's no major "released" version of the script. However, you can fetch the latest version of the script from the "production" branch of my git repo.

wget http://github.com/ninjagod/patchbin/raw/production/tools/patchbin.py
chmod +x patchbin.py
sudo ln -s `pwd`/patchbin.py /usr/bin/patchbin


Usage

Just enter a command which would normally print the diff into stdout. This may be "git diff", "svn diff", "diff file1 file2" or the command for $YOUR_FAVORITE_VCS, and pipe it to the 'patchbin', which will work only if the link is present in your path.

TODO


BUGS

Known bugs: Please report on Github Issues, or email me ("anirudh@ani" + "rudhsanje" + "ev.org")
There are no comments on this page.
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0886 seconds