Merge lp:~mbp/launchpad/remove-bsondump2 into lp:launchpad

Proposed by Martin Pool
Status: Merged
Approved by: Martin Pool
Approved revision: no longer in the source branch.
Merged at revision: 14842
Proposed branch: lp:~mbp/launchpad/remove-bsondump2
Merge into: lp:launchpad
Diff against target: 27 lines (+0/-18)
2 files modified
utilities/bsondump (+0/-9)
utilities/less-oops.sh (+0/-9)
To merge this branch: bzr merge lp:~mbp/launchpad/remove-bsondump2
Reviewer Review Type Date Requested Status
William Grant code Approve
Review via email: mp+93778@code.launchpad.net

Commit message

remove bsondump and less-oops.sh

Description of the change

This removes utilities/bsondump, which we agreed (in <https://code.launchpad.net/~mbp/python-oops-datedir-repo/bsondump/+merge/86338>) would be better off in python-oops-datedir-repo not in launchpad itself.

It also deletes less-oops.sh to which I'm fairly sure similar reasoning applies.

To post a comment you must log in.
Revision history for this message
William Grant (wgrant) :
review: Approve (code)
Revision history for this message
Martin Pool (mbp) wrote :

verbal +1 from wgrant

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== removed file 'utilities/bsondump'
2--- utilities/bsondump 2012-01-01 03:10:25 +0000
3+++ utilities/bsondump 1970-01-01 00:00:00 +0000
4@@ -1,9 +0,0 @@
5-#! /usr/bin/python
6-
7-from pprint import pprint
8-import sys
9-
10-import bson
11-
12-
13-pprint(bson.decode_all(file(sys.argv[1], 'rb').read()))
14
15=== removed file 'utilities/less-oops.sh'
16--- utilities/less-oops.sh 2010-04-22 09:30:31 +0000
17+++ utilities/less-oops.sh 1970-01-01 00:00:00 +0000
18@@ -1,9 +0,0 @@
19-#!/bin/bash
20-#
21-# Copyright 2009 Canonical Ltd. This software is licensed under the
22-# GNU Affero General Public License version 3 (see the file LICENSE).
23-#
24-# Outputs the contents of the OOPS report for a given OOPS ID.
25-
26-OOPS_ID=$1
27-grep -rl "$OOPS_ID" /var/tmp/lperr* | xargs less