From owner-freebsd-doc@FreeBSD.ORG Tue Feb 18 19:41:44 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E6467FE9 for ; Tue, 18 Feb 2014 19:41:44 +0000 (UTC) Received: from mail-qa0-x22c.google.com (mail-qa0-x22c.google.com [IPv6:2607:f8b0:400d:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9DC1C1C03 for ; Tue, 18 Feb 2014 19:41:44 +0000 (UTC) Received: by mail-qa0-f44.google.com with SMTP id w5so24211673qac.3 for ; Tue, 18 Feb 2014 11:41:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=NVFCRuo/88JE2xr6nK50F9kpLbySRBUnveLDScrHplA=; b=NZnCEbG2S6H11/Fc9jnFC4OaZVkHqdAaKH7F0i8IP/6S81wnJFLWqRr5Cbi7pVf1KB qUY4QAk2Qs/Lln/FZYX+7hb884vc3wRW3NHQo2eJOGU9WaFfIt+mKOe0dOeYL0g3D24O o44BXa4+pSAyRiTGKxPnLpCVcVKX6VRNVZO6M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=NVFCRuo/88JE2xr6nK50F9kpLbySRBUnveLDScrHplA=; b=hxi32ziQFfNMejkDX/kMFrSlTNqTLSJJvjlkcYm8UiHJm0sh6tXkO8bacuHsZ9OAnx INg7uLj5+n6+u7GO1uXKmqyapeWZLpxXN9X6uH76zsiVftY+pN8a/Pez6p2BRKF6TPy6 MJoGEHMPu1IFWhpzEAMr+IZ960hC2dfaXTtJohIb7/aID/0iiasKmrFc5/p12JIto9yE 7HOj9bUMS7/zWReXRCs3vC0m5FP1RhpiU9cKZx8UT8lfUPzg/E9GYEqksHtnhPqjL0R3 Hgvn/8PSNOah2SziqYWrp4KEU8jXt2S05StnUEYjKPjkly/i3TNQ2fiMEsLAf2Al2Jgw JbTw== X-Gm-Message-State: ALoCoQnnuwEr9MzyfKucsrmBs5GIOKWF/brYnLCWSrvyMqp3XlfYPN4sCslE/Nhy0dswDtu1MYzL X-Received: by 10.140.85.179 with SMTP id n48mr12133488qgd.91.1392752503603; Tue, 18 Feb 2014 11:41:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.96.175.169 with HTTP; Tue, 18 Feb 2014 11:41:13 -0800 (PST) In-Reply-To: <20140218193256.GU1667@glenbarber.us> References: <201402181733.s1IHXrJW066616@build-web.stream.freebsd.org> <20140218173655.GT1667@glenbarber.us> <20140218193256.GU1667@glenbarber.us> From: Eitan Adler Date: Tue, 18 Feb 2014 14:41:13 -0500 Message-ID: Subject: Re: Website now autocleans old files/pages (was: Re: FreeBSD web build failed on build-web.stream.freebsd.org) To: Glen Barber Content-Type: text/plain; charset=UTF-8 Cc: freebsd-doc@freebsd.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Feb 2014 19:41:45 -0000 On Tue, Feb 18, 2014 at 2:32 PM, Glen Barber wrote: > On Tue, Feb 18, 2014 at 12:36:55PM -0500, Glen Barber wrote: >> On Tue, Feb 18, 2014 at 05:33:53PM +0000, User Www-data wrote: >> > [...] >> > >> > 13.59 real 6.06 user 8.14 sys >> > mkdir: /usr/local/www/www.freebsd.org-clean: Permission denied >> > *** [realinstall] Error code 1 >> > >> > Stop in /home/www/build/head/en_US.ISO8859-1/htdocs. >> > 0.03 real 0.00 user 0.02 sys >> >> Whoops. >> >> This is me "fixing" things. >> > > So, what I was working on is making the build clean up after itself, in > particular, things that are no longer part of the build. > > DESTDIR has changed, and is purged before every build (even the "quick" > incremental builds). Once the build finishes, the files are installed > to the new DESTDIR, then synced to the public web root. > > When a full site refresh is done (once a week, as was done before), > rsync is called with '--delete', so anything removed from the DESTDIR > will be purged from the public web root. This is awesome. Thanks for working on it! -- Eitan Adler