From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9783 invoked by alias); 4 Feb 2015 22:32:02 -0000 Mailing-List: contact jit-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: Sender: jit-owner@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-Checked: by ClamAV 0.98.5 on sourceware.org 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-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-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com 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: Thu, 01 Jan 2015 00:00:00 -0000 In-Reply-To: References: <1423074736-47636-1-git-send-email-dmalcolm@redhat.com> <1423077032.29180.125.camel@surprise> Content-Type: multipart/mixed; boundary="=-j6X9jZP0SVaNI4l0NrTS" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-SW-Source: 2015-q1/txt/msg00062.txt.bz2 --=-j6X9jZP0SVaNI4l0NrTS Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Content-length: 913 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) --=-j6X9jZP0SVaNI4l0NrTS Content-Disposition: attachment; filename="or-true.patch" Content-Type: text/x-patch; name="or-true.patch"; charset="UTF-8" Content-Transfer-Encoding: 7bit Content-length: 538 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 --=-j6X9jZP0SVaNI4l0NrTS--