Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

I recently noticed (through the autopkgtest regression [1]) that
fatrace's power-usage-report got broken with the latest powertop 2.6.
So I made a new upstream release 0.9 which adjusts the powertop output
format parsing accordingly. It's just a two line diff (complete
debdiff attached, there no build system noise etc.). Both the
automatic and a manual test are happy again now [2].

Thanks for considering,

Martin

unblock fatrace/0.9-1


[1] 
https://jenkins.qa.ubuntu.com/job/vivid-adt-fatrace/2/ARCH=i386,label=adt/console
[2] 
https://jenkins.qa.ubuntu.com/job/vivid-adt-fatrace/3/ARCH=i386,label=adt/console
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -Nru fatrace-0.8/debian/changelog fatrace-0.9/debian/changelog
--- fatrace-0.8/debian/changelog        2014-09-23 16:07:44.000000000 +0200
+++ fatrace-0.9/debian/changelog        2014-11-07 09:19:03.000000000 +0100
@@ -1,3 +1,10 @@
+fatrace (0.9-1) unstable; urgency=medium
+
+  * New upstream release:
+    - power-usage-report: Adjust parsing to also work for powertop 2.6.
+
+ -- Martin Pitt <mp...@debian.org>  Fri, 07 Nov 2014 09:18:56 +0100
+
 fatrace (0.8-1) unstable; urgency=medium
 
   * New upstream bug fix release: Fix the "Value too large for defined data
diff -Nru fatrace-0.8/NEWS fatrace-0.9/NEWS
--- fatrace-0.8/NEWS    2014-09-23 15:56:19.000000000 +0200
+++ fatrace-0.9/NEWS    2014-11-07 09:17:24.000000000 +0100
@@ -1,3 +1,7 @@
+0.9 (2014-11-07)
+----------------
+ - power-usage-report: Adjust parsing to also work for powertop 2.6.
+
 0.8 (2014-09-23)
 ----------------
  - The previous O_LARGEFILE change to fix "Value too large for defined data
diff -Nru fatrace-0.8/power-usage-report fatrace-0.9/power-usage-report
--- fatrace-0.8/power-usage-report      2014-09-23 15:56:19.000000000 +0200
+++ fatrace-0.9/power-usage-report      2014-11-07 09:17:24.000000000 +0100
@@ -166,7 +166,7 @@
 
     for (search_header, print_header) in blocks:
         # skip until search_header
-        while i < len(lines) and not lines[i].lower().startswith('**' + 
search_header):
+        while i < len(lines) and not search_header in lines[i].lower():
             i += 1
         i += 1  # skip header
         # skip empty lines
@@ -174,7 +174,7 @@
             i += 1
 
         print('====== %s ======' % print_header)
-        while i < len(lines) and lines[i]:
+        while i < len(lines) and lines[i] and not lines[i].startswith('_____'):
             print(lines[i])
             i += 1
         print('')

Attachment: signature.asc
Description: Digital signature

Reply via email to