Allow to pass pastebin to use by basename

Bug #977331 reported by Daniel Hahler on 2012-04-09
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Stéphane Graber
pastebinit (Debian)
Fix Released
pastebinit (Ubuntu)

Bug Description

When overriding the pastebin backend to use on the command line, only the "regexp" from the config is being matched.

It would be nice to also look at the "basename" field from the config to find a matching pastebin to use.

This would allow to use "pastebinit -b" (instead of "pastebinit -b").

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: pastebinit 1.3-2ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-22.35-generic-pae 3.2.14
Uname: Linux 3.2.0-22-generic-pae i686
ApportVersion: 2.0-0ubuntu4
Architecture: i386
Date: Mon Apr 9 18:23:40 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
PackageArchitecture: all
SourcePackage: pastebinit
UpgradeStatus: Upgraded to precise on 2011-12-16 (115 days ago)

Daniel Hahler (blueyed) wrote :
Rolf Leggewie (r0lf) wrote :


Changed in pastebinit (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Changed in pastebinit:
importance: Undecided → Wishlist
status: New → Triaged
Changed in pastebinit:
assignee: nobody → Stéphane Graber (stgraber)
Changed in pastebinit:
status: Triaged → Fix Committed
Changed in pastebinit:
status: Fix Committed → Fix Released
Changed in pastebinit (Debian):
status: Unknown → New
Changed in pastebinit (Debian):
status: New → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pastebinit - 1.4-2ubuntu1

pastebinit (1.4-2ubuntu1) trusty; urgency=medium

  * Merge from Debian unstable. Remaining changes:
    - Don't build-depend on python-support.

pastebinit (1.4-2) unstable; urgency=low

  * patches:
    ~ update upstream to r205. Fix unicode problem. LP: #1270359
      This essentially gives us upstream release 1.4.1
    ~ increase timeout to 15s to account for bad networks
  * watch: only check for 2-level (major.minor) upstream releases
  * drop preinst script as obsolete

pastebinit (1.4-1) unstable; urgency=low

  [ Bart Martens ]
  * update watch file

  [ Rolf Leggewie ]
  * new upstream release 1.4
    - upstream bugfixes
      ~ crash in create_connection(). LP: #1032221
      ~ point shebang to python3. LP: #988468
      ~ allow calling pastebin by basename. Closes: #705979, LP: #977331
      ~ allow pasting several files at once. Closes: #662242
    - control: bump python to python3 in run-time dependencies
               remove python-configobj from run-time dependencies
    - drop all debian-patches as obsolete
  * control:
    - drop obsolete DMUA field
    - update to standard version 3.9.5. No further changes.
  * copyright: update upstream and my copyright to 2014
 -- Stephane Graber <email address hidden> Thu, 23 Jan 2014 21:52:07 -0500

Changed in pastebinit (Ubuntu):
status: Triaged → 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

Remote bug watches

Bug watches keep track of this bug in other bug trackers.