From: Ian Jackson Subject: Re: [OSSTEST PATCH 08/13] Reporting: Break out report_blessingscond Date: Tue, 30 Jun 2015 10:31:12 +0100 Message-ID: <21906.25056.514009.551103@mariner.uk.xensource.com> References: <1435598089-21647-1-git-send-email-ian.jackson@eu.citrix.com> <1435598089-21647-9-git-send-email-ian.jackson@eu.citrix.com> <1435655479.21469.36.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z9rsz-0004KV-DU for xen-devel@lists.xenproject.org; Tue, 30 Jun 2015 09:31:25 +0000 In-Reply-To: <1435655479.21469.36.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [OSSTEST PATCH 08/13] Reporting: Break out report_blessingscond"): > Acked-by: Ian Campbell Thanks. > BTW, I noticed that your valid blessing regex here includes "-", which > is not allowed elsewhere, which breaks "./standalone make-flight -f > $branch $branch" for our common branch names meaning the flight name > needs some munging. A minor inconvenience, but if this check were moved > to a centralised helper it could be easily fixed... I guess. Do we have anywhere else that validates a blessing name ? This particular bit of code is just intended a safety catch to stop the SQL going wrong. IMO `-' is valid in blessings. Consider `commission-oseleta'. > Or at least this was once the case, I can't see the problematic check > right now and haven't actually tried this for a while. Perhaps it got > fixed already and I didn't notice? I'm not sure what check exactly you are referring to... Ian.