[diffoscope] 01/01: debian: add a script to check sizes of dependencies

Ximin Luo infinity0 at debian.org
Thu Sep 22 11:30:29 CEST 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository diffoscope.

commit 30d00ec72a2dc09ddf01208cf8bf03c2d1dc8081
Author: Ximin Luo <infinity0 at debian.org>
Date:   Thu Sep 22 11:30:13 2016 +0200

    debian: add a script to check sizes of dependencies
---
 debian/check-dep-sizes.sh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/debian/check-dep-sizes.sh b/debian/check-dep-sizes.sh
new file mode 100755
index 0000000..7d6bc9b
--- /dev/null
+++ b/debian/check-dep-sizes.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# Check sizes of diffoscope's dependencies (including recommends)
+# Give ~i to only list packages installed on your system.
+LC_ALL=C aptitude search '~Rrecommends:diffoscope|~R~Rrecommends:diffoscope'" $1" \
+  --disable-columns -F '%I %p' \
+  | sed -e 's/ kB / KB /g' \
+  | LC_ALL=C sort -k2,2 -k1n,1n \
+  | sed -e 's/ KB / kB /g'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list