[Python-modules-commits] r11406 - in packages/python-whisper/trunk/debian (5 files)

statik-guest at users.alioth.debian.org statik-guest at users.alioth.debian.org
Fri Jan 29 15:57:37 UTC 2010


    Date: Friday, January 29, 2010 @ 15:57:36
  Author: statik-guest
Revision: 11406

Bunch of cleanups based on a great review from jwilk:

Switched to dh7 and renamed all scripts to no longer have .py suffix
Added a missing copyright
Cleaned up short and long description.
Added missing XS-Python-Version and dropped debian/pycompat.

Modified:
  packages/python-whisper/trunk/debian/changelog
  packages/python-whisper/trunk/debian/control
  packages/python-whisper/trunk/debian/copyright
  packages/python-whisper/trunk/debian/rules
Deleted:
  packages/python-whisper/trunk/debian/pycompat

Modified: packages/python-whisper/trunk/debian/changelog
===================================================================
--- packages/python-whisper/trunk/debian/changelog	2010-01-29 09:14:53 UTC (rev 11405)
+++ packages/python-whisper/trunk/debian/changelog	2010-01-29 15:57:36 UTC (rev 11406)
@@ -2,4 +2,4 @@
 
   * Initial release (Closes: #563765)
 
- -- Elliot Murphy <elliot at ubuntu.com>  Thu, 28 Jan 2010 16:36:57 -0500
+ -- Elliot Murphy <elliot at ubuntu.com>  Thu, 28 Jan 2010 16:48:43 -0500

Modified: packages/python-whisper/trunk/debian/control
===================================================================
--- packages/python-whisper/trunk/debian/control	2010-01-29 09:14:53 UTC (rev 11405)
+++ packages/python-whisper/trunk/debian/control	2010-01-29 15:57:36 UTC (rev 11406)
@@ -1,35 +1,17 @@
 Source: python-whisper
 Section: python
-Priority: extra
+Priority: optional
 Maintainer: Elliot Murphy <elliot at ubuntu.com>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7), cdbs, python-support (>= 0.6.4), python (>= 2.5)
-Standards-Version: 3.8.3
+Build-Depends: debhelper (>= 7), quilt (>= 0.46-7), python-support (>= 0.6.4), python (>= 2.5)
+XS-Python-Version: >= 2.5
+Standards-Version: 3.8.4
 Homepage: https://launchpad.net/graphite
 
 Package: python-whisper
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}
-Provides: ${python:Provides}
-Description: database engine for fast, reliable fixed-sized databases.
+Description: database engine for fast, reliable fixed-sized databases
  Whisper is a fixed size database, similar in design to RRD.
- RRD is great, and initially Graphite did use RRD for storage. 
- Over time though, we ran into several issues inherent to RRD's design.
- 1. RRD can't take updates for a timestamp prior to its most recent update.
- So for example, if you miss an update for some reason you have no simple
- way of back-filling your RRD file by telling rrdtool to apply an update
- to the past. Whisper does not have this limitation, and this makes
- importing historical data into Graphite way way easier.
- 2. At the time whisper was written, RRD did not support compacting multiple
- updates into a single operation. This feature is critical to Graphite's
- scalability.
- 3. RRD doesn't like irregular updates. If you update an RRD but don't follow
- up another update soon, your original update will be lost. This is the
- straw that broke the camel's back, since Graphite is used for various
- operational metrics, some of which do not occur regularly (randomly
- occuring errors for instance) we started to notice that Graphite
- sometimes wouldn't display data points which we knew existed because
- we'd received alarms on them from other tools. The problem turned out
- to be that RRD was dropping the data points because they were
- irregular. Whisper had to be written to ensure that all data was
- reliably stored and accessible.
+ Whisper is used by the Graphite scalable real time graphing system to
+ store data points for later display.

Modified: packages/python-whisper/trunk/debian/copyright
===================================================================
--- packages/python-whisper/trunk/debian/copyright	2010-01-29 09:14:53 UTC (rev 11405)
+++ packages/python-whisper/trunk/debian/copyright	2010-01-29 15:57:36 UTC (rev 11406)
@@ -10,6 +10,7 @@
 
 Copyright:
 
+    Copyright (C) 2008 Orbitz WorldWide
     Copyright (C) 2009 Chris Davis <chrismd at gmail.com>
     Copyright (C) 2009 Kraig Amador <kraig at ucla.edu>
     Copyright (C) 2009 Steffen Higel

Deleted: packages/python-whisper/trunk/debian/pycompat
===================================================================
--- packages/python-whisper/trunk/debian/pycompat	2010-01-29 09:14:53 UTC (rev 11405)
+++ packages/python-whisper/trunk/debian/pycompat	2010-01-29 15:57:36 UTC (rev 11406)
@@ -1 +0,0 @@
-2

Modified: packages/python-whisper/trunk/debian/rules
===================================================================
--- packages/python-whisper/trunk/debian/rules	2010-01-29 09:14:53 UTC (rev 11405)
+++ packages/python-whisper/trunk/debian/rules	2010-01-29 15:57:36 UTC (rev 11406)
@@ -1,5 +1,24 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-DEB_PYTHON_SYSTEM = pysupport
-include /usr/share/cdbs/1/class/python-distutils.mk
+%:
+	dh --with quilt $@
+
+override_dh_quilt_patch:
+	dh_quilt_patch
+	[ -f bin/rrd2whisper ] || mv bin/rrd2whisper.py bin/rrd2whisper
+	[ -f bin/whisper-create ] || mv bin/whisper-create.py bin/whisper-create
+	[ -f bin/whisper-fetch ] || mv bin/whisper-fetch.py bin/whisper-fetch
+	[ -f bin/whisper-info ] || mv bin/whisper-info.py bin/whisper-info
+	[ -f bin/whisper-resize ] || mv bin/whisper-resize.py bin/whisper-resize
+	[ -f bin/whisper-update ] || mv bin/whisper-update.py bin/whisper-update
+
+override_dh_quilt_unpatch:
+	[ -f bin/rrd2whisper.py ] || mv bin/rrd2whisper bin/rrd2whisper.py
+	[ -f bin/whisper-create.py ] || mv bin/whisper-create bin/whisper-create.py
+	[ -f bin/whisper-fetch.py ] || mv bin/whisper-fetch bin/whisper-fetch.py
+	[ -f bin/whisper-info.py ] || mv bin/whisper-info bin/whisper-info.py
+	[ -f bin/whisper-resize.py ] || mv bin/whisper-resize bin/whisper-resize.py
+	[ -f bin/whisper-update.py ] || mv bin/whisper-update bin/whisper-update.py
+	dh_quilt_unpatch
+
+




More information about the Python-modules-commits mailing list