From a90efc7ba204365de5e9eed75a74d76c7cdd7573 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 9 Jul 2007 16:17:24 +0100 Subject: [PATCH] * Add suspicious-source: Output a list of files which are not common source files. This should be run in the root of a source tree to find files which might not be the 'prefered form of modification' that the GPL and other licenses require. --- debian/changelog | 9 +++++++++ debian/copyright | 2 ++ setup.py | 3 ++- suspicious-source | 12 ++++++++++++ 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100755 suspicious-source diff --git a/debian/changelog b/debian/changelog index 13c9d24..b7ac221 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +ubuntu-dev-tools (0.2) UNRELEASED; urgency=low + + * Add suspicious-source: Output a list of files which are not common source + files. This should be run in the root of a source tree to find files which + might not be the 'prefered form of modification' that the GPL and other + licenses require. + + -- Martin Pitt Mon, 09 Jul 2007 16:01:04 +0100 + ubuntu-dev-tools (0.1) gutsy; urgency=low * Initial Release. diff --git a/debian/copyright b/debian/copyright index f810274..fb20b46 100644 --- a/debian/copyright +++ b/debian/copyright @@ -6,12 +6,14 @@ Upstream Author: Luke Yelavich Albin Tonnerre Michael Bienia + Martin Pitt Copyright: Daniel Holbach 2006-2007 Luke Yelavich 2006-2007 Albin Tonnerre 2006-2007 Michael Bienia 2006-2007 + Martin Pitt 2007 License: diff --git a/setup.py b/setup.py index 65c1e4e..53a8c14 100755 --- a/setup.py +++ b/setup.py @@ -22,7 +22,8 @@ setup(name='ubuntu-dev-tools', 'dch-repeat', 'mk-sbuild-lv', 'pull-debian-debdiff', - 'what-patch' + 'what-patch', + 'suspicious-source', ], ) diff --git a/suspicious-source b/suspicious-source new file mode 100755 index 0000000..381bef6 --- /dev/null +++ b/suspicious-source @@ -0,0 +1,12 @@ +#!/bin/sh -e + +# Author: Martin Pitt +# License: GPL v2 or later +# +# Output a list of files which are not common source files. This +# should be run in the root of a source tree to find files which might +# not be the 'prefered form of modification' that the GPL and other +# licenses require. + +find -type f ! \( -name '*.h' -o -name '*.c' -o -name '*.cc' -o -name '*.cpp' -o -name Makefile -o -name configure -o -name '*.3' -o -name '*.html' -o -name '*.txt' -o -name '*.xml' -o -name Makefile.am -o -name Makefile.in -o -name '*.m4' -o -name config.sub -o -name config.guess -o -name ltmain.sh -o -name depcomp -o -name configure.ac -o -name *.py -o -name NEWS -o -name README -o -name INSTALL -o -name TODO -o -name ChangeLog -o -name '*.docbook' -o -name '*.png' -o -name '*.desktop' -o -name '*.ui' -o -name '*.po' -o -name '*.py' -o -name '*.svg' -o -name '*.bmp' -o -name '*.gif' -o -name '*.pot' -o -name '*.xpm' -o -name '*.glade' -o -name '*.gladep' \) +