From: Ian Jackson Subject: Re: [PATCH OSSTEST v7 1/2] cr-publish-flight-logs: support publishing files from $HOME/public_html Date: Thu, 9 Jul 2015 13:48:00 +0100 Message-ID: <21918.28032.605611.97888@mariner.uk.xensource.com> References: <1436443165-13837-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1436443165-13837-1-git-send-email-ian.campbell@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.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("[PATCH OSSTEST v7 1/2] cr-publish-flight-logs: support publishing files from $HOME/public_html"): > Any arguments given after the flight are assumed to be files or > directories relative to $HOME/public_html which should be published to > $c{Publish} at the same relative path. > > Removing the requirement that a flight be provided, by accepting '', > allows this to be used even in contexts which have no flight. > > The results subtree is always published if $c{ResultsPublish} is set, > since it doesn't depend on any particular flight. Uh. Looking at this, I hadn't spotted that in your other patch you generate the output in ~/public_html. Shouldn't it be in results/ (which is nowadays a general place for publicly visible output) ? At the very least, if you do mean ~/public_html, you should be using WebspaceFile. Also: > -sub copydir ($$) { > +sub copylogs ($$) { Why did you rename this function ? Ian.