summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-05-18 06:50:33 +0100
committerLars Wirzenius <liw@liw.fi>2011-05-18 06:50:33 +0100
commit677e27e9040468d6c4a8a220c2392af5fdb4ac2d (patch)
treeaf1013e19bedea75067688b7e6e11c16f7dabf02
parente116b87e6d195447dfffef16f6642dac73e25412 (diff)
parent22ab1d29f442834d7b73b1e432e302bd071d9c0d (diff)
downloadsummain-0.6.tar.gz
Release version 0.6.summain-0.6
-rw-r--r--NEWS7
-rw-r--r--debian/changelog6
-rw-r--r--summain.110
-rw-r--r--summainlib.py2
4 files changed, 24 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index cb6850f..6a34274 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,13 @@ NEWS file for summain
=====================
+Version 0.6, released 2011-05-18
+--------------------------------
+
+* Add --exclude option to exclude some fields from the output. This also
+ prevents the field values from being computed, resulting in speedups.
+ Most important for the SHA-1 field, of course.
+
Version 0.5, released 2011-03-20
--------------------------------
diff --git a/debian/changelog b/debian/changelog
index 13f0e56..e053ead 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+summain (0.6) squeeze; urgency=low
+
+ * New upstream version.
+
+ -- Lars Wirzenius <liw@liw.fi> Wed, 18 May 2011 06:49:31 +0100
+
summain (0.5) squeeze; urgency=low
* New upstream version.
diff --git a/summain.1 b/summain.1
index ec2438c..dba776b 100644
--- a/summain.1
+++ b/summain.1
@@ -7,6 +7,7 @@ summain \- gather file checksums and metadata
.RB [ \-\-mangle\-paths ]
.RB [ \-r ]
.RB [ \-\-relative\-paths ]
+.RB [ \-\-exclude =\fIFIELD\fR]
.RI [ file ...]
.SH DESCRIPTION
.B summain
@@ -70,3 +71,12 @@ Mangle or obfuscate all paths in the output.
This is good if you need to share the output with someone else,
and your filenames may contain sensitive information,
such a client names.
+.TP
+.BR \-\-exclude =\fIFIELD
+Don't write out the given
+.IR FIELD .
+Can be given multiple times.
+The field value is also not computed,
+so excluding the
+.I SHA-1
+field will result in much speedup.
diff --git a/summainlib.py b/summainlib.py
index 1a386e7..816a1a9 100644
--- a/summainlib.py
+++ b/summainlib.py
@@ -23,7 +23,7 @@ import time
import urllib
-version = '0.5'
+version = '0.6'
class NumberNormalizer(object):