Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2014 14:32:56 -0500
From:      Glen Barber <gjb@FreeBSD.org>
To:        freebsd-doc@FreeBSD.org
Subject:   Website now autocleans old files/pages (was: Re: FreeBSD web build failed on build-web.stream.freebsd.org)
Message-ID:  <20140218193256.GU1667@glenbarber.us>
In-Reply-To: <20140218173655.GT1667@glenbarber.us>
References:  <201402181733.s1IHXrJW066616@build-web.stream.freebsd.org> <20140218173655.GT1667@glenbarber.us>

next in thread | previous in thread | raw e-mail | index | archive | help

--AJ3oM32U01nchLSz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
> >=20
> > Stop in /home/www/build/head/en_US.ISO8859-1/htdocs.
> >         0.03 real         0.00 user         0.02 sys
>=20
> Whoops.
>=20
> This is me "fixing" things.
>=20

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.

Glen


--AJ3oM32U01nchLSz
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQIcBAEBCAAGBQJTA7VoAAoJELls3eqvi17Q/JoQAMt/WndBtIR1pY4Pig88ZGTs
ZePTQ7Tgvq3iSpbmJyt9Hvf6UguH0+KfA50bj5Ua2VvVRE3C+6EkJZ4bFABgpco9
7RFJ854NmvbJDZjgO8LnYp3/oA6Ad+SRsjBgaeUgTiXsFJwelq73tgryKgeLQWN1
PkBphJtq0sxquRTxrYiQy4oibnBIyp0OlgkObpxrTazNyt8c+ZlB6/+pc4ReTCy5
kgKB+x28CYrYsvOaTuMNFJXfENyfmdfnkBIZGLrrBdW8JmhTIUf+V0Q2BLL+062n
QSS4vDdbeZeo5dZRgxxjLZJdZj1p4ceci2Cb4/SV2JyOV01+HGu10uKXXOvY0lvg
p0FXrHbuf3AGortAVfb3zzEN3HA4t8+AqNfZBzuMUm0kEcNW1PiSW4JBrCG9lnJ/
ThvsmMI3ITfO19xy/76DDWOvW3WyUUvm8wxcQhK/zVmqu/k3ewm5W96T+qL59dVJ
I/L1j1S0LHnZYCCGeJ3UC4gI4Wr6zhE8DYXsd0DlLxVmRXO/qFLVlXCL8K+gUpR4
plUsuA2lvzk1TJ5a5p6wcrYjlsKwD21/6EW7tdmOFQ9arwEq7v1nQTRKPU1w8opJ
Ux7EoCEoPmIOR6EJ2S7nQSoNK5SpyAdscZfN5/5ibAHIQhCp7MYBSNi2fwaOQJV4
sVBawgPRxjizbnLbDghV
=RuhK
-----END PGP SIGNATURE-----

--AJ3oM32U01nchLSz--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140218193256.GU1667>