From nobody Mon Apr 11 23:43:46 2022 X-Original-To: freebsd-hubs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B884213A7509 for ; Mon, 11 Apr 2022 23:43:50 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kclmk4Ryyz4kxx for ; Mon, 11 Apr 2022 23:43:50 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649720630; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=h4ZkEyLWFF2pL7p+5pkvdo/OPGPQn5qZNfM9BxQgr9Q=; b=LB68YnRB2GWToK/I+fkByXtgy+y64Mo62YZ3dU120hlMZElzLDX8rI0ozzA/2DRKWLrkoC 8cM35Z4tLJ3nopr3HJqAnNQyn/D2CI/0QUeEn0cNn2o3IgqnLM4Qpz7qmjER60pMnqdVOC lyLil9c7GIbMZswq8wAtl8sJlQaqzEqlokfS2DBVEy7qH9JVmn4pX17t8oZsH77vDQGPYY 1HuLatZNXvp1XQi798cTWf8sxUwuGl3Af8gRNue1DyHDJKizcko72rmxNvIQocxoGhRtPp 4TD1LrzuocywERV5mf/BKQz452eDlH1GDnBtlZwBVks0+QuxwCQn85kgzKEa0Q== Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: dbaio/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 72D366D40 for ; Mon, 11 Apr 2022 23:43:50 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 5F4C527C0054 for ; Mon, 11 Apr 2022 19:43:50 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 11 Apr 2022 19:43:50 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudekjedgvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepfdffrghnihhlohcuifdruceurghiohdfuceouggsrghiohes hfhrvggvuefuffdrohhrgheqnecuggftrfgrthhtvghrnhepieefjeeujedtveeigfetue eggeeftdejueetleekueegleekvedvffffhedtheeknecuffhomhgrihhnpehfrhgvvggs shgurdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepuggsrghiohdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidquddukedu feeluddvtddqvdeikedtvdejieekqdgusggrihhopeephfhrvggvuefuffdrohhrghesfh grshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 11 Apr 2022 19:43:49 -0400 (EDT) Date: Mon, 11 Apr 2022 20:43:46 -0300 From: "Danilo G. Baio" To: freebsd-hubs@FreeBSD.org Subject: Re: articles/hubs: Update WWW mirroring section Message-ID: <20220411234346.mw4voizwjqrecosy@t480.local> References: <202204112333.23BNXlUW025334@gitrepo.freebsd.org> List-Id: FreeBSD Distributions Hubs: mail sup ftp List-Archive: https://lists.freebsd.org/archives/freebsd-hubs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hubs@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7jqpdw3cnduiwgnn" Content-Disposition: inline In-Reply-To: <202204112333.23BNXlUW025334@gitrepo.freebsd.org> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649720630; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=h4ZkEyLWFF2pL7p+5pkvdo/OPGPQn5qZNfM9BxQgr9Q=; b=N3eg/1VfsuZTCrF171b28ZirfE83kV0ll3YQqvCBdUHJfk2AUIMZyHQVHsiADPWYnZLlEp mtFpJSdoFVpz15FOKH1VwKFkFBTYtIrHi1LYCSO0LQmGg2bsQkzcx1mQ8CDuUn0Qz2/pY1 N1Jh92F1xB1ZoaoVEZkNma8RZ5Hs5KDM4Tavb3Zf+2RQJ9KhxZgatpswaoYtOEWyJ+zJpC uNh7eOSI6EIprkvQ02mugBN6Yk5mlffC3Ym+G9BRP6GQrYnhGEXgMV79hC7uusOHypL9by sx4okpzt+tbVXyK5NCXOjaSoeo8oR+AyS1caw853iE9WJXzB9bkStsL0KDm9Vw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649720630; a=rsa-sha256; cv=none; b=Sz9pvhAZCsJfv8H2a2BOZ6zpZbQ6p0USMSl5d0VJfr2rHk7OxjGtVVaAOcboaTTm0CDnKW HMpJkZXUlg6z+AduFGYcpSOYgCf+ADRttT8K+F1RALAqg4Q/IpQ+0KRgvdSfh65Yjg3yRZ SdX0g9k1mQIAcjkxYSo5WcSKY0+24OVv+cymeyJzO4OlkigEpbsRvLTFY1TpbVQCd5pgRy 7SavDvvLftzf7OrOQnyFIXHOCw9C2w59Im05kir/cQlL9PkYHXGyriV6C5iPnGvvM5qZj0 0FKopLJILOQu2GQZV6vcn38yf2Vzh6wucCeIIIvCVA7t41Ub2t55KnIB2vHUYA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --7jqpdw3cnduiwgnn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable FYI This just reflects the reality. https://docs.freebsd.org/en/articles/hubs/#mirror-www On Mon, Apr 11, 2022 at 11:33:47PM +0000, Danilo G. Baio wrote: > The branch main has been updated by dbaio: >=20 > URL: https://cgit.FreeBSD.org/doc/commit/?id=3D68b40e34553002f86a41d00728= 1e1a25422e7f4a >=20 > commit 68b40e34553002f86a41d007281e1a25422e7f4a > Author: Danilo G. Baio > AuthorDate: 2022-03-05 13:14:59 +0000 > Commit: Danilo G. Baio > CommitDate: 2022-04-11 23:29:26 +0000 >=20 > articles/hubs: Update WWW mirroring section > =20 > Differential Revision: https://reviews.freebsd.org/D34454 > --- > documentation/content/en/articles/hubs/_index.adoc | 23 ++++++++++++++++= ++++-- > 1 file changed, 21 insertions(+), 2 deletions(-) >=20 > diff --git a/documentation/content/en/articles/hubs/_index.adoc b/documen= tation/content/en/articles/hubs/_index.adoc > index 1e2c9da25a..9c5bf2506e 100644 > --- a/documentation/content/en/articles/hubs/_index.adoc > +++ b/documentation/content/en/articles/hubs/_index.adoc > @@ -214,14 +214,33 @@ If you sync the whole module (unlike subdirectories= ), be aware that the module-d > [[mirror-www]] > =3D=3D=3D Mirroring the WWW Pages > =20 > -The FreeBSD website should only be mirrored via rsync. > +[WARNING] > +=3D=3D=3D=3D > +Since doc migration to Hugo/Asciidoctor on 2021-01-25, mirroring the web= site with rsync no longer works. > +=3D=3D=3D=3D > + > +There are ongoing studies to implement a website mirror with the extref:= {handbook}mirrors/[official infrastructure]. > + > +For the former website mirrors, a way to achieve mirroring the website t= oday is building the website locally with the corresponding address it will= be hosted. > + > +[source,shell] > +.... > +% cd website && env HUGO_baseURL=3D"https://www.XX.freebsd.org/" make > +.... > =20 > -A command line to mirror the FreeBSD web site might look like: > +Check for more details about the build tools on extref:{fdp-primer}overv= iew/[FreeBSD Documentation Project Primer for New Contributors, overview-qu= ick-start] book. > =20 > +//// > [source,shell] > .... > % rsync -vaHz --delete rsync://bit0.us-west.freebsd.org/FreeBSD-www-data= / /usr/local/www/ > .... > +//// > + > +[NOTE] > +=3D=3D=3D=3D > +Notice the website was split into www.FreeBSD.org and docs.FreeBSD.org, = and there are links between them; plus, at this moment, `HUGO_baseURL` vari= able won't cover all links, this way, mirroring the website is discouraged. > +=3D=3D=3D=3D > =20 > [[mirror-pkgs]] > =3D=3D=3D Mirroring Packages >=20 Regards. --=20 Danilo G. Baio (dbaio) --7jqpdw3cnduiwgnn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEORj0UTsjzCy+enIkmpN7LfMuiNcFAmJUvS4ACgkQmpN7LfMu iNfKmhAAugNqq2x3fvRteqAKkzTyqK5aSduXH3JeOOZaVOLzaw5Xorc3SImz90A/ OJisO+AdHyP/kumgVU5UzmiHFimWtn4qocOLJGZwDExa4psYlw/7M7tEOe1tqVLM xpBAZlFZZLymvCEZs4lDsTDjCKqqOlFEmgS1XmC6bQm5ZHool07WZeeWB8O3rxXL RL1Qo70FQjn6JqNUm1YSrqC3CXO8CkVcZLm/+jo6jOZAAOjoOTQErLdobeYoQw33 pGWhukxbXoJ+s7H/UoGdNW9vO1x5xCHGksXDdtkR2EXHYONAFuyhesMGgsuA8FXo tnETplgz2Vz6/WbdtjEpgBAojW4sm61W+S9V9nuiRj935W5GXP7uOgU+xDBSLo9Q wE3STmXbIzTioKKlYHbBFeCUAtbddOwIhOmBryXu1Qo/DPvdOceRABaeW/iy7uP5 JYyU5Y3EpnDI6IKCXcUzI1fyM5rC+iPunLcbrsdM/ORRW1oO4b+V7essdAFkQGaE YHKNqFBytRCHCtMX1KKCg3lLZIKaSjBA8GBW1pqSEncjWIV/Abmac18zKcvgHxV+ T9Yg88sQR+j4URClSLmj5Gar8LScYLdPkZqnEpY+4to02+c4SP7TAelRin1Gj7RG BgAo1gPtEjYaV+++J6pzXPfUjkROHOV0i5ixh4LoqW4U+4N6b1Q= =sKSZ -----END PGP SIGNATURE----- --7jqpdw3cnduiwgnn--