Category Archives: pastebinit

Upcoming pastebinit 1.3 release

Every year, I try to set a few hours aside to work on one of my upstream projects, pastebinit.

This is one of these projects which mostly “just works” with quite a lot of users and quite a few of them sending merge proposals and fixes in bug reports.

I’m planning on uploading pastebinit 1.3 right before Feature Freeze, either on Wednesday or early Thursday, delaying the release as much as possible to get a few last translations in.

If you speak any language other than English, please go to:
https://translations.launchpad.net/pastebinit

Any help getting this as well translated as possible would be appreciated, for Ubuntu users, you’ll have to deal with it for the next 5 years, so it’s kind of important :)

Now the changes, they’re pretty minimal but still will make some people happy I’m sure:

  • Finally merged pbget/pbput/pbputs from Dustin Kirkland, these 3 tools let you securely push and retrieve files using a pastebin. It’s using a mix of base64, tar and gpg as well as some wget and parsing to retrieve the data.
    These are nice scripts to use with pastebinit, though please don’t send huge files to the pastebins, they really aren’t meant for that ;)
  • Removed stikked.com from the supported pastebins as it’s apparently dead.
  • Now the new pastebins:
  • paste.debian.net should now work fine with the ‘-f’ (format) option, thanks for their work on making their form pastebinit-friendly.
  • pastebinit should now load pastebin definition files properly from multiple locations.
    Starting with /usr/share/pastebin.d, then going through /etc/pastebin.d, /usr/local/etc/pastebin.d, ~/.pastebin.d and finally <wherever pastebinit is>/.pastebin.d
  • A few other minor improvements and fixes merged by Rolf Leggewie over the last year or so, thanks again for taking care of these!

Testing of the current trunk before release would also be greatly appreciate, you can get the code with: bzr branch lp:pastebinit

Bug reports are welcome at: https://launchpad.net/pastebinit/+filebug

Posted in Canonical voices, pastebinit, Planet Ubuntu | 4 Comments

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 pastebinit, Planet Revolution-Linux, Planet Ubuntu | 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 pastebinit, Planet Revolution-Linux, Planet Ubuntu | 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 pastebinit, Planet Ubuntu | 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 pastebinit, Planet Ubuntu | 3 Comments