[firmware-free] 15/19: check_upstream.py: Report possibly non-free files that are not excluded

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Sun May 22 22:54:45 UTC 2016


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

benh pushed a commit to branch master
in repository firmware-free.

commit 0a0ca1c032e207fa5a138946773d4293e25f4603
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Sun May 22 23:33:12 2016 +0100

    check_upstream.py: Report possibly non-free files that are not excluded
---
 debian/bin/check_upstream.py | 4 ++++
 debian/changelog             | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/bin/check_upstream.py b/debian/bin/check_upstream.py
index f2af369..7c33d81 100755
--- a/debian/bin/check_upstream.py
+++ b/debian/bin/check_upstream.py
@@ -62,6 +62,10 @@ def main(source_dir='.'):
                     update_file(source_dir, over_dirs, file_info.binary)
                     for source in file_info.source:
                         update_file(source_dir, over_dirs, source)
+            elif dist_state == DistState.non_free:
+                if os.path.isfile(file_info.binary):
+                    print('W: %s appears to be non-free' %
+                          file_info.binary)
             elif dist_state == DistState.undistributable:
                 if os.path.isfile(file_info.binary):
                     print('W: %s appears to be undistributable' %
diff --git a/debian/changelog b/debian/changelog
index 134e22b..7081ca1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,8 @@ firmware-free (20130117-1) UNRELEASED; urgency=medium
     the appropriate package
   * debian/bin: Use Python 3 (as assumed by linux-support-4.2.0-1)
   * Update to linux-support 4.5.0-2
-  * check_upstream.py: Report possibly undistributable files that are not
-    excluded
+  * check_upstream.py: Report possibly non-free or undistributable files that
+    are not excluded
 
  -- Ben Hutchings <ben at decadent.org.uk>  Sun, 16 Aug 2015 18:43:29 +0200
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/firmware-free.git



More information about the Kernel-svn-changes mailing list