Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2017 14:07:26 +0000
From:      Glen Barber <gjb@FreeBSD.org>
To:        Wolfram Schneider <wosch@freebsd.org>
Cc:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   Re: svn commit: r50867 - head/en_US.ISO8859-1/articles/freebsd-releng
Message-ID:  <20170919140726.GC20908@FreeBSD.org>
In-Reply-To: <CAMWY7CBhq8T2HLeTdBriuaFJ=KBXs_rSK8drNxd=qDQ41CMEeQ@mail.gmail.com>
References:  <201709181657.v8IGvgho043591@repo.freebsd.org> <CAMWY7CBhq8T2HLeTdBriuaFJ=KBXs_rSK8drNxd=qDQ41CMEeQ@mail.gmail.com>

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

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

On Tue, Sep 19, 2017 at 01:39:37PM +0200, Wolfram Schneider wrote:
> On 18 September 2017 at 18:57, Glen Barber <gjb@freebsd.org> wrote:
> > Author: gjb
> > Date: Mon Sep 18 16:57:42 2017
> > New Revision: 50867
> > URL: https://svnweb.freebsd.org/changeset/doc/50867
> >
> > Log:
> >   Always rebuild the freebsd-releng article when 'make all' is invoked.
> >
> >   This fixes an issue where an update to one of the releng-*.xml files
> >   is not reflected on the Project website until after a full, clean
> >   rebuild is done (currently every 7 days).
>=20
> this is not a fix, it is a workaround. Why not fixing the Makefile and
> add the dependencies? You can add the dependencies by hand or just
> extract them from the article.xml file itself, e.g.:
>=20
> DEPS!=3D egrep '<!ENTITY release\.[^ ]+ SYSTEM "./releng-[^ ]+\.xml">'
> ${SRCS} | sed -E 's,.*"./([^"]+)".*,\1,'
> index.html ${DOC}.html: ${DEPS}
>=20

Indeed, it was a workaround.  I'll test your suggestion shortly.  Thank
you for the feedback.

BTW, I did see your followup email.  One area in which I am aware the
build always rebuilds a page is in en_*/htdocs/security/, where the
advisories.xml and notices.xml files are forcefully rebuilt, for similar
reasons as this commit.  I am unsure it is fixable in the same manner as
this, though.  Regardless, thank you for opening a PR to track this.

Glen


--GPJrCs/72TxItFYR
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAlnBJJkACgkQAxRYpUeP
4pOR6Q/+LNgIgvb9ppeCnoAho4lShhjTy6K44G2ADmd9R2V8Q168IfR5aznDc583
43dMbWYQqcaQRxQQne+0Y9q44Nv7EC/q+1sPn1jq/XJEezM0Ib2Nk1SMsHSQTxfi
gFwoDW8BTeTzO8iIy/RADblMeXZnnHXZoy4y70UlK2Vp0bied2k1rjvD3J5KKOi2
cl8F0ipjyRkfxQdNf+x86oAZUiPDhyxnEv4u/hSYgDqM2vxIbgscqa0dQmoszix4
HU0PyVXL7xpT3Ammz+Dr7MkZFARFpGrR5iWlwCthwbt/kMDWOofqtpJ43Hi+wvKm
jxPbMmnYWY5em2bP2AQbVmH3iNdhf+w8gX8xubmZOkgNHn59Fy36/Q8uMXNyGy+P
/+rYio3yfry39ko5IzzBtA4b1+B27P45qjyT9b0v5N9336b8Tbs7osMyjMwGhLZX
aisqcnq44vqMSI/Q/SHVdXj+qPYXwiSBwXfjCbG41M39iaJJvcXfTijsXf+Ofy9k
5XIPKhboGiS8tKaeSqBI6Ylrdxh9NJvIvbSUUgLBvRcEtm7KnfIq70f4nXB61m45
e07v6jJH1u9+nyR2i8TlsrHOYssfpjH+1PegAkKxVoQvlBaOBeFiHVq2X4OxUDsE
m+H7ae3Bq0PvLR04FgKlnbl5CKkp3NPKmCs7tZWGp8Jfll4b4Cc=
=EYZP
-----END PGP SIGNATURE-----

--GPJrCs/72TxItFYR--



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