man page gives incorrect default pastebin (should mention distro specific defaults)

Bug #755997 reported by Scott Kitterman on 2011-04-10
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pastebinit
Low
Unassigned
pastebinit (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: pastebinit

man pastebinit says -b [pastebin url] (default: http://pastebin.com). The default is acutally paste.ubuntu.com.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: pastebinit 1.2-2
ProcVersionSignature: Ubuntu 2.6.38-8.41-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
Architecture: i386
Date: Sat Apr 9 20:40:26 2011
EcryptfsInUse: Yes
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: pastebinit
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Scott Kitterman (kitterman) wrote :
Changed in pastebinit (Ubuntu):
status: New → Confirmed
Stéphane Graber (stgraber) wrote :

Well, actually the default upstream pastebin is pastebin.com.
It's overriden for some distros based on LSB information.

defaultPB = "http://pastebin.com" #Default pastebin
try:
    import lsb_release
    release = lsb_release.get_distro_information()['ID'].lower()
    if release == 'debian':
        defaultPB = "http://paste.debian.net"
    elif release == 'fedora':
        defaultPB = "http://fpaste.org"
    elif release == 'ubuntu':
        defaultPB = "http://paste.ubuntu.com"
except ImportError:
    pass

Still worth mentioning in the manpage though.

Changed in pastebinit:
importance: Undecided → Low
status: New → Triaged
summary: - man page gives incorrect default pastebin
+ man page gives incorrect default pastebin (should mention distro
+ specific defaults)
Rolf Leggewie (r0lf) wrote :

I've fixed this in upstream revision 124. Should be available in the next upstream release.

Changed in pastebinit:
status: Triaged → Fix Committed
Changed in pastebinit:
status: Fix Committed → Fix Released
Changed in pastebinit (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers