From: Ian Jackson Subject: Re: [PATCH OSSTEST v6] mg-all-branch-statuses: Show how up to date each branch is Date: Wed, 8 Jul 2015 16:28:37 +0100 Message-ID: <21917.16805.322440.688479@mariner.uk.xensource.com> References: <1436367019-3297-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: <1436367019-3297-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 v6] mg-all-branch-statuses: Show how up to date each branch is"): > Using report_find_push_age_info allows us to provide counts of > attempts since the last baseline on current tip as well as the first > attempt of each of those. ... > v6: - Propagate cron output to logs (untested apart from "bash -n" due > to lack of local infra). ... > +pub=`getconfig Publish` > +if [ -n "$pub" ] ; then > + rsync --stats -au "$abs" "$pub"/$(basename "$abs") > +fi cr-publish-flight-logs already knows how to do this. Maybe it should be extended to cope if passed some kind of NONE value for flight. Otherwise I'm going to complain that you don't specify -e "ssh -o batchmode=yes" and don't take any kind of lock. And by the time you've dealt with that, you really will have redone a third of cr-publish-flight-logs. Ian.