From patchwork Wed Feb 4 22:26:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Malcolm X-Patchwork-Id: 436500 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 61A0614016A for ; Thu, 5 Feb 2015 09:32:33 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:subject:from:to:cc:date:in-reply-to:references :content-type:mime-version; q=dns; s=default; b=cwbeigaUlAlVQZof Vl2+/Wd3/WL9XF2e54h0tCJihRKJEaRmfVf029LCm+qKoNgHQCZmnGq8ZZJYJckO 3/465n2bpFCer83STxO73GREVw7r/3yl1rhG20/0mf8d7/nznl8xdvqMqyv1CmxH 1NKclhXBIZSvip1dHUXRlNfFxwQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:subject:from:to:cc:date:in-reply-to:references :content-type:mime-version; s=default; bh=gv8Huthzdplci9KkV89mux leHsQ=; b=NT3Y9QiettRifQ5D8cex6OeEYf1L5vNkQlkVyFTHv/fzSYwS1dD3Pr VJk+zBoJ8nJIpVZn/IjoTdbEeZZK57ig3iH5KHczx1bZO53sW3vgL3w366ubNXcO gHvSiWVe7bnphE6symjL6q4J7xDuNVpg6tFT8TAqhLDfWUAVEVTyA= Received: (qmail 9784 invoked by alias); 4 Feb 2015 22:32:02 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 8718 invoked by uid 89); 4 Feb 2015 22:32:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 04 Feb 2015 22:32:00 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t14MVvWQ028254 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 4 Feb 2015 17:31:58 -0500 Received: from [10.3.230.202] (vpn-230-202.phx2.redhat.com [10.3.230.202]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t14MVu8I024696; Wed, 4 Feb 2015 17:31:57 -0500 Message-ID: <1423088766.29180.129.camel@surprise> Subject: Re: [PATCH] More fixes for update_web_docs_svn for jit docs (PR jit/64257) From: David Malcolm To: Gerald Pfeifer Cc: jit@gcc.gnu.org, gcc-patches@gcc.gnu.org, Jeff Law Date: Wed, 04 Feb 2015 17:26:06 -0500 In-Reply-To: References: <1423074736-47636-1-git-send-email-dmalcolm@redhat.com> <1423077032.29180.125.camel@surprise> Mime-Version: 1.0 X-IsSubscribed: yes On Wed, 2015-02-04 at 22:21 +0100, Gerald Pfeifer wrote: > On Wednesday 2015-02-04 14:10, David Malcolm wrote: > > Gerald: Please can you do the "svn up" on the relevant machine again, > > so that it gets the updated "update_web_docs_svn"? > > That was my plan, yes. :-) I just did that and manually ran > the script, and it seems to work. Thank you! The jit docs are now visible on the GCC website at: https://gcc.gnu.org/onlinedocs/jit/ (sadly the "Show Source" link on each page is a 404; iirc the "pyramid" theme didn't show these links so I didn't bother copying up the files; I'll look at fixing that). > Still, do you think you can add a bit of error handling such > that an issue like the one we had (cf. > https://gcc.gnu.org/ml/gccadmin/2015-q1/msg00077.html ) does > not kill the entire script? A bit of resilience would be good. Something like the attached? (completely untested, sorry) diff --git a/maintainer-scripts/update_web_docs_svn b/maintainer-scripts/update_web_docs_svn index e0132dc..c1ff903 100755 --- a/maintainer-scripts/update_web_docs_svn +++ b/maintainer-scripts/update_web_docs_svn @@ -180,7 +180,7 @@ done # /usr/bin/sphinx-1.0-build # so we need to override SPHINXBUILD with this when invoking "make". pushd gcc/gcc/jit/docs -make SPHINXBUILD=/usr/bin/sphinx-1.0-build html +make SPHINXBUILD=/usr/bin/sphinx-1.0-build html || true popd cp -a gcc/gcc/jit/docs/_build/html jit mkdir -p $DOCSDIR/jit