From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#26006: New web site is on line! Date: Wed, 06 Dec 2017 18:10:48 +0100 Message-ID: <87k1xz93zb.fsf_-_@gnu.org> References: <57bc6255-c3a1-61e2-fee4-5b6f523a9885@zoho.com> <87injztuax.fsf@gnu.org> <877f0d65qe.fsf@gnu.org> <877f0cjtul.fsf@gnu.org> <493e9e04-fc8f-2a77-0927-a862f174aa55@zoho.com> <87bmo3i0zk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMdDw-0000YU-S7 for bug-guix@gnu.org; Wed, 06 Dec 2017 12:11:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMdDs-00088A-Cv for bug-guix@gnu.org; Wed, 06 Dec 2017 12:11:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:40648) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eMdDs-00087m-8F for bug-guix@gnu.org; Wed, 06 Dec 2017 12:11:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eMdDp-00028f-R7 for bug-guix@gnu.org; Wed, 06 Dec 2017 12:11:03 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (sirgazil@zoho.com's message of "Tue, 1 Aug 2017 17:13:36 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: sirgazil Cc: 26006@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello! It=E2=80=99s embarrassing that it took us so long, but I=E2=80=99m happy to= say that the new web site is on line! https://www.gnu.org/software/guix/ I=E2=80=99ve created redirects from the old /news URLs to the new /blog URL= s, using the oh-so-elegant script below (I can=E2=80=99t believe it=E2=80=99s = not Scheme!). Please report: =E2=80=A2 broken links; =E2=80=A2 other pages that need a redirect; =E2=80=A2 information that disappeared=E2=80=94I=E2=80=99m thinking in pa= rticular of talks, which used to appear under /help, but are now supposed to be made available via a blog post, the advantage being that we get /blog/tag/TOPIC links to the post; =E2=80=A2 anything else that=E2=80=99s broken. For web design issues, I hope sirgazil or someone else can answer and take action=E2=80=94I=E2=80=99m still not much of a web person and it=E2=80= =99s probably better for everyone when I stick to writing Scheme. ;-) Note that the cron job that used to update package pages from hydra.gnu.org is now broken. I=E2=80=99ll try to come up with something el= se with proper GuixSD integration and run it from berlin.guixsd.org. Thanks again sirgazil for all the work! Ludo=E2=80=99. --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline; filename=gen-redirect.sh Content-Transfer-Encoding: quoted-printable Content-Description: the script #!/bin/sh function gen_redirect { TARGET_URL=3D"$1" cat < Page has moved! =E2=80=94 GNU Guix Redirecting to the new page location... EOF } URL_PREFIX=3D"/software/guix/" for page in "$@" do page_without_extension=3D"`echo $page | sed -es'/\.html$//g'`" new_page=3D"`find ../blog -name $page_without_extension -type d | head = -1`" if [ -z "$new_page" ] then echo "no new page for '$page'" >&2 exit 1 fi # Strip '../'. new_page_url=3D"$URL_PREFIX`echo $new_page | cut -c 4-`" echo "redirect '$page' -> '$new_page_url'" gen_redirect "$new_page_url" > "$page".new && mv "$page".new "$page" done --=-=-=--