[SCM] ci-tooling packaging branch, master, updated. 40b6bb173d38ed4d5756aa9304d575a92bb580bd

Rohan Garg rohangarg-guest at moszumanska.debian.org
Wed Dec 10 23:46:21 UTC 2014


Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=40b6bb1

The following commit has been merged in the master branch:
commit 40b6bb173d38ed4d5756aa9304d575a92bb580bd
Author: Rohan Garg <rohan at kde.org>
Date:   Thu Dec 11 00:46:13 2014 +0100

    Implement lintian checks
---
 dci/build.rb | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dci/build.rb b/dci/build.rb
index b4ad71a..6dc906c 100644
--- a/dci/build.rb
+++ b/dci/build.rb
@@ -58,6 +58,13 @@ else
           changes_files.each do |changes_file|
               logger.info("Copying #{changes_file} ...")
               system("dcmd chmod 666 #{changes_file}")
+              logger.info("Running lintian checks ...")
+
+              # Lintian checks
+              system("lintian #{changes_file}")
+              logger.error("Lintian check failed!") unless $?.success?
+              logger.info("Finished running lintian checks")
+
               system("dcmd mv #{changes_file} #{result_dir}")
               system("chmod 2770 #{result_dir}") unless File.stat(result_dir).setgid?
           end

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list