Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2014 14:41:13 -0500
From:      Eitan Adler <lists@eitanadler.com>
To:        Glen Barber <gjb@freebsd.org>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: Website now autocleans old files/pages (was: Re: FreeBSD web build failed on build-web.stream.freebsd.org)
Message-ID:  <CAF6rxgmwLYMaAtB-PiK-8uPddGbG_%2Bb93N8Ss9emLsw5jPmFNA@mail.gmail.com>
In-Reply-To: <20140218193256.GU1667@glenbarber.us>
References:  <201402181733.s1IHXrJW066616@build-web.stream.freebsd.org> <20140218173655.GT1667@glenbarber.us> <20140218193256.GU1667@glenbarber.us>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 18, 2014 at 2:32 PM, Glen Barber <gjb@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgmwLYMaAtB-PiK-8uPddGbG_%2Bb93N8Ss9emLsw5jPmFNA>