From owner-freebsd-ports@FreeBSD.ORG Sun Sep 1 20:06:45 2013 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 15E19BF9; Sun, 1 Sep 2013 20:06:45 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward8l.mail.yandex.net (forward8l.mail.yandex.net [IPv6:2a02:6b8:0:1819::8]) by mx1.freebsd.org (Postfix) with ESMTP id CE50222F8; Sun, 1 Sep 2013 20:06:44 +0000 (UTC) Received: from smtp4h.mail.yandex.net (smtp4h.mail.yandex.net [84.201.186.21]) by forward8l.mail.yandex.net (Yandex) with ESMTP id DA2F71A40EDB; Mon, 2 Sep 2013 00:06:43 +0400 (MSK) Received: from smtp4h.mail.yandex.net (localhost [127.0.0.1]) by smtp4h.mail.yandex.net (Yandex) with ESMTP id 7AC392C1778; Mon, 2 Sep 2013 00:06:43 +0400 (MSK) Received: from 93.91.3.70.tel.ru (93.91.3.70.tel.ru [93.91.3.70]) by smtp4h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 8VfApn9cyX-6gY0c8Ui; Mon, 2 Sep 2013 00:06:42 +0400 Message-ID: <52239E52.9010100@passap.ru> Date: Mon, 02 Sep 2013 00:06:42 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130806 Thunderbird/17.0.7 MIME-Version: 1.0 To: FreeBSD ports list , Baptiste Daroussin Subject: [patch] poudriere (from repo): fix Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Sep 2013 20:06:45 -0000 Hi All, Baptiste, there is a hook (bulk.sh) which sends e-mails about starting and finishing of builds. When the command to send an e-mail about staring the build is envoked, the variable POUDRIERE_BUILD_TYPE is not defined (exported). The resilting URL at the e-mail is wrong. I propose a tiny patch to fix the issue: ----- --- bulk.sh.orig 2013-09-01 23:55:56.744091397 +0400 +++ bulk.sh 2013-09-01 23:57:20.067086589 +0400 @@ -156,12 +156,12 @@ echo " done" fi +export POUDRIERE_BUILD_TYPE=bulk + run_hook bulk start read_packages_from_params "$@" -export POUDRIERE_BUILD_TYPE=bulk - jail_start ${JAILNAME} ${PTNAME} ${SETNAME} LOGD=`log_path` ----- Thanks! -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve