Skip to content

Commit

Permalink
Release version 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
stgraber committed May 12, 2008
1 parent 0c2467e commit 1cd0934
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 15 deletions.
10 changes: 8 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pastebinit (0.9-0ubuntu2) UNRELEASED; urgency=low
pastebinit (0.10-0ubuntu1) intrepid; urgency=low

* LP #193352 - http://yourpaste.net now supported
* LP #157082 - fixing wrong manpage
Expand All @@ -12,7 +12,13 @@ pastebinit (0.9-0ubuntu2) UNRELEASED; urgency=low
* http://paste.ubuntu.com now supported
* http://pastebin.mozilla.org now supported

-- David Paleino <d.paleino@gmail.com> Tue, 19 Feb 2008 21:07:02 +0100
[ Stéphane Graber ]
* Changed Homepage field to LP
* http://paste.stgraber.org supported again
* http://paste.f-box.org supported again
* http://1t2.us supported again

-- Stéphane Graber <stgraber@ubunut.com> Mon, 12 May 2008 16:47:12 +0200

pastebinit (0.9-0ubuntu1) hardy; urgency=low

Expand Down
16 changes: 9 additions & 7 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 5)
Build-Depends-Indep: xsltproc, docbook-xml, docbook-xsl
Standards-Version: 3.7.3
Vcs-Bzr: https://code.launchpad.net/~pastebinit-developers/pastebinit/trunk
Homepage: http://www.stgraber.org/category/pastebinit
Homepage: http://launchpad.net/pastebinit/

Package: pastebinit
Architecture: all
Expand All @@ -22,9 +22,11 @@ Description: command-line pastebin client
passed as argument.
.
It supports these pastebins:
- http://*.pastebin.com
- http://pastebin.ca
- http://rafb.net/paste
- http://pastebin.archlinux.org
- http://paste.ubuntu.com
- http://pastebin.mozilla.org
- 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
19 changes: 17 additions & 2 deletions pastebinit
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ try:
gettext.textdomain("pastebinit")

defaultPB = "http://pastebin.com" #Default pastebin
version = "0.9" #Version number to show in the usage
version = "0.10" #Version number to show in the usage
configfile = os.environ.get('HOME') + "/.pastebinit.xml"

# Custom urlopener to handle 401's
Expand Down Expand Up @@ -52,7 +52,21 @@ try:
# params['type'] = "1" #The expiration, 1 = raw
# params['save'] = "0" #Do you want a cookie ?
# params['s'] = "Submit Post"
# params['regexp'] = '">http://pastebin.ca/(.*)</a></p><p>'
# params['regexp'] = '">http://pastebin.ca/(.*)</a></p><p>
elif re.search("http://((([a-zA-Z0-9\-_\.]*)(paste\.f\-box\.org|1t2\.us|paste\.stgraber\.org)))", website):
params['poster'] = user
params['jid'] = jabberid
params['code2'] = content
params['parent_pid'] = parentpid #For reply, "" means homepage (new thread)
params['format'] = format #The format, for syntax hilighting
params['paste'] = "Send"
params['remember'] = "0" #Do you want a cookie ?
params['expiry'] = "f" #The expiration, f = forever
params['permatag'] = permatag
params['title'] = title
params['username'] = username
params['password'] = password
params['version'] = version
elif website == "http://rafb.net" :
params['page']="/paste/paste.php"
params['nick']=user
Expand Down Expand Up @@ -255,6 +269,7 @@ try:
except KeyboardInterrupt:
sys.exit(_("KeyboardInterrupt caught."))
except:
raise
sys.exit(_("Unable to read or parse the result page, it could be a server timeout or a change server side, try with another pastebin."))

except KeyboardInterrupt:
Expand Down
14 changes: 10 additions & 4 deletions pastebinit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,19 +98,25 @@
<para>http://*.pastebin.com</para>
</listitem>
<listitem>
<para>http://pastebin.ca</para>
<para>http://pastebin.mozilla.org</para>
</listitem>
<listitem>
<para>http://rafb.net/paste</para>
<para>http://rafb.net</para>
</listitem>
<listitem>
<para>http://pastebin.archlinux.org</para>
<para>http://yourpaste.net</para>
</listitem>
<listitem>
<para>http://paste.ubuntu.com</para>
</listitem>
<listitem>
<para>http://pastebin.mozilla.org</para>
<para>http://*.paste.f-box.org</para>
</listitem>
<listitem>
<para>http://*.1t2.us</para>
</listitem>
<listitem>
<para>http://paste.stgraber.org</para>
</listitem>
</itemizedlist>
</refsect1>
Expand Down

0 comments on commit 1cd0934

Please sign in to comment.