Category Archives: pastebinit

Pastebinit 1.2 released !

So, 10 months after the last release, I’m proud to announce that release 1.2 of the command line pastebin client is out !

For these who just want to grab the branch or tarballs, that’s on Launchpad: https://launchpad.net/pastebinit

For Natty users, you’ll just have to wait for pastebinit to hit Debian and then be synced, shouldn’t take long.

Here’s a quick overview of the new features:

  • Size limit support
  • Distro-specific default pastebin
  • Pastebinit now respects the FHS
  • Quick a few more supported pastebins (see list below)
  • A LOT of bugfix (over 20 bugs fixed, remaining bugs are mostly wishlist)
  • Updated manpage
  • Test scripts to quickly check that all pastebins work
  • Updated translations (28 supported locales)

Here’s the list of currently supported pastebins:

stgraber@castiana:~/data/code/pastebinit$ ./pastebinit -l
Supported pastebins:
- sprunge.us
- pastie.org
- paste.ubuntu.org.cn
- fpaste.org
- pb.daviey.com
- slexy.org
- paste.ubuntu.com
- paste.kde.org
- stikked.com
- p.defau.lt
- paste.debian.net
- cxg.de
- paste2.org
- yourpaste.net
- pastebin.com

Pastebinit automatic testing
Yay for automated testing !

Thanks to everyone who helped with this release:

  • Dave Walker
  • Jan Urbanski
  • Nitesh Mistry
  • Rolf Leggewie
  • Soren Hansen
Posted in Planet Revolution-Linux, Planet Ubuntu, pastebinit | Tagged | 5 Comments

Help translate pastebinit

pastebinit is one of my pet projects. It’s a command line pastebin client that let you easily send any command output or file to a pastebin. It’s packaged and available in quite a few distributions.

Pastebinit started at the end of 2006 with support only for pastebin.com. Over the time, a lot of other pastebin websites have been added to end up supporting over 15 different pastebins.

I recently went through all the bugs on Launchpad, fixed most of them and I think pastebinit is now in pretty good shape. I plan on releasing version 1.2 on Friday if no major issue is found by then.

That leaves between now and Friday to have it properly translated in as many languages as possible. So please go to https://translations.launchpad.net/pastebinit and make sure your language will be included in the next release !

Posted in Planet Revolution-Linux, Planet Ubuntu, pastebinit | Tagged | 3 Comments

Pastebinit 0.11 is out

It’s been a long time since pastebinit 0.10 was released.
Some people have been asking me when I planned to finally release 0.11, fixing most of the reported bugs, getting it properly translated and add more pastebins.

Well, it’s now done, these last weeks I’ve been integrating all the proposed patches on Launchpad, had some help updating the manpage, updated the translations and finally tagged 0.11.

For those of you who don’t know what pastebinit is, it’s a small python script that simply sends whatever you give it to an online pastebin and gives you the URL in return. It’s useful when doing IRC support (when you don’t want one to paste a 200 lines log) or when working on a command line box with no way to SSH in it.

So a quick changelog. There actually is nothing new in pastebinit itself, only a minor change that some of you may find annoying is that you now always have to use the “-i” parameter. This one can either be “-” for stdin or be a filename. This had to be done to fix some issues with reading from stdin.
All bugs reported on Launchpad have been closed (most of them being about adding new pastebins) the result being:
– 13 supported pastebins
– 13 complete translations
– 9 partial translations

I updated the Launchpad project page and added the new release to the download page. You can also download it directly from the usual place.

For the next release, I plan to improve the way pastebins are handled, at least by moving the different pastebin definition to an xml file for each pastebin (containing the list of URLs and html fields) or if I find the time, having something more clever handling the different pastebin engines and guessing what fields to fill with what value depending on the index page of the URL the user entered.

Until then, feedback is as always welcome and bugs can be filed on Launchpad.

Posted in Planet Ubuntu, pastebinit | 6 Comments

Pastebinit update, translation needed

For a long time now people have been poking me on IRC/mail/IM to get an updated pastebinit released.
The pastebinit currently in Ubuntu shows some bug (piping data often fails), doesn’t support most of the newest pastebins and isn’t translated in more than 2 or 3 languages.

I fixed most of these bugs thanks to all the patches attached to the bug reports, I now just need to update the manpage with the new supported pastebins. But before I release version 0.11, I’d like to get as many supported languages as possible.

So if you like translating and want pastebinit to speak your language, all you need is a Launchpad account and go to: https://translations.launchpad.net/pastebinit/ to translate it.
I’ll then export the .po from Launchpad and include them before releasing 0.11

Thanks

Posted in Planet Ubuntu, pastebinit | 2 Comments

Pastebinit now in Debian

Thanks to Rolf Leggewie, Pastebinit 0.10 is now in Debian (unstable and testing) and has been synced in Intrepid.
I can now use the time I previously spent on packaging Pastebinit (not that much …) to actually work on it and add new pastebins.

For those of you who don’t know what Pastebinit is, here is the description taken from the Debian package :

pastebinit is a command-line tool to send data to a “pastebin”: a web site which allows its users to upload snippets of text for public viewing.

It can receive data from a pipe or from a file passed as argument.
It supports these pastebins:

  • http://*.pastebin.com
  • http://pastebin.mozilla.org
  • http://rafb.net
  • http://yourpaste.net
  • http://paste.ubuntu.com
  • http://*.paste.f-box.org
  • http://*.1t2.us
  • http://paste.stgraber.org

It’s a very useful tool on servers and I also use it a lot with thin clients to easily submit debugging informations.
Examples could be:
– pastebinit /etc/X11/xorg.conf
– ps aux | pastebinit -
– free | pastebinit -b http://paste.ubuntu.com –

Bugs can be reported on Launchpad

Posted in Planet Ubuntu, pastebinit | 27 Comments