From 34db0cce099b2e4f2968866bf3ea8d3896afc98e Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Tue, 6 Mar 2012 23:59:40 +0000 Subject: drop missing-deps --- modules/buildsystem/files/missing-deps.sh | 26 ---------------------- .../buildsystem/manifests/check_missing_deps.pp | 15 ------------- modules/buildsystem/manifests/init.pp | 1 - 3 files changed, 42 deletions(-) delete mode 100755 modules/buildsystem/files/missing-deps.sh delete mode 100644 modules/buildsystem/manifests/check_missing_deps.pp (limited to 'modules') diff --git a/modules/buildsystem/files/missing-deps.sh b/modules/buildsystem/files/missing-deps.sh deleted file mode 100755 index fade8d51..00000000 --- a/modules/buildsystem/files/missing-deps.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -# Copyright 2011, Pascal Terjan -# -# This program is free software. It comes without any warranty, to -# the extent permitted by applicable law. You can redistribute it -# and/or modify it under the terms of the Do What The Fuck You Want -# To Public License, Version 2, as published by Sam Hocevar. See -# http://sam.zoy.org/wtfpl/COPYING for more details. -# -# Creates missing-deps.$arch.txt for each arch, listing broken -# dependencies inside the associated media. - -repo="/distrib/bootstrap/distrib/cauldron" - -missing() { - arch=$1 - d="${repo}/${arch}" - urpmf --requires --use-distrib $d : | cut -d: -f2- | sed 's/\[.*//' | sort -u | xargs urpmq -p --use-distrib $d 2>&1 >/dev/null | sed -n 's/No package named //p' -} - -for arch in i586 x86_64 -do - missing $arch > missing-deps.$arch.txt.new - mv -f missing-deps.$arch.txt.new missing-deps.$arch.txt -done diff --git a/modules/buildsystem/manifests/check_missing_deps.pp b/modules/buildsystem/manifests/check_missing_deps.pp deleted file mode 100644 index 9ddf2a27..00000000 --- a/modules/buildsystem/manifests/check_missing_deps.pp +++ /dev/null @@ -1,15 +0,0 @@ -class buildsystem { - class check_missing_deps { - file { "/usr/local/bin/missing-deps.sh": - mode => 755, - source => "puppet:///modules/buildsystem/missing-deps.sh", - } - - # FIXME hardcoded path - cron { "check missing deps": - command => "cd /var/www/bs/data && /usr/local/bin/missing-deps.sh", - minute => "*/15", - } - } -} - diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp index 88e5e0f9..ef8f84a7 100644 --- a/modules/buildsystem/manifests/init.pp +++ b/modules/buildsystem/manifests/init.pp @@ -75,7 +75,6 @@ class buildsystem { include buildsystem::mgarepo include buildsystem::signbot include youri_submit - include buildsystem::check_missing_deps cron { "dispatch jobs": user => $sched_login, -- cgit v1.2.1