From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 06 12:55:08 2017 Received: (at 26006) by debbugs.gnu.org; 6 Dec 2017 17:55:09 +0000 Received: from localhost ([127.0.0.1]:49351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMduW-00051s-Ih for submit@debbugs.gnu.org; Wed, 06 Dec 2017 12:55:08 -0500 Received: from mail.pompo.co ([87.243.223.35]:41575 helo=ronja.pompo.co) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMduU-00051J-Vi for 26006@debbugs.gnu.org; Wed, 06 Dec 2017 12:55:07 -0500 Received: from rosser (unknown [87.236.135.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ronja.pompo.co (Postfix) with ESMTPSA id D8859402F8; Wed, 6 Dec 2017 17:55:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pompo.co; s=mail; t=1512582900; bh=eeaqQFq4uohiJX+LX8098Kx7oPaKFyMZBawtzJMpcBs=; h=References:From:To:Cc:Subject:Reply-To:In-reply-to:Date:From; b=dZlK1eS1ZYiK+nBeew+cAQLm1rV/oe796yh6N0kWN479oMfceaByqZ8LZXit9cKir 4uFAT8QORfUr5T32w2zase1c3SbXrLxdWbR1W7kBfhjTNwpBgRQ/HFe95+e4wYMtGj UvD+dJ40ulzaED0rzu4CyVjz9UovZRMBVDC7gN44= 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> <87k1xz93zb.fsf_-_@gnu.org> User-agent: mu4e 0.9.18; emacs 25.3.1 From: Alex Sassmannshausen To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#26006: New web site is on line! In-reply-to: <87k1xz93zb.fsf_-_@gnu.org> Date: Wed, 06 Dec 2017 18:55:00 +0100 Message-ID: <87indjbv2j.fsf@pompo.co> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26006 Cc: 26006@debbugs.gnu.org, sirgazil X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: alex@pompo.co Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Wow, that looks super cool, well done! Really smooth and modern feel. Joyful to explore :-) Ludovic Courtès writes: > Hello! > > It’s embarrassing that it took us so long, but I’m happy to say that the > new web site is on line! > > https://www.gnu.org/software/guix/ > > I’ve created redirects from the old /news URLs to the new /blog URLs, > using the oh-so-elegant script below (I can’t believe it’s not Scheme!). > > Please report: > > • broken links; > > • other pages that need a redirect; > > • information that disappeared—I’m thinking in particular 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; > > • anything else that’s broken. > > For web design issues, I hope sirgazil or someone else can answer and > take action—I’m still not much of a web person and it’s 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’ll try to come up with something else > with proper GuixSD integration and run it from berlin.guixsd.org. > > Thanks again sirgazil for all the work! > > Ludo’. > > #!/bin/sh > > function gen_redirect > { > TARGET_URL="$1" > cat < > > > > Page has moved! — GNU Guix > > > > Redirecting to the new page location... > > > EOF > } > > URL_PREFIX="/software/guix/" > > for page in "$@" > do > page_without_extension="`echo $page | sed -es'/\.html$//g'`" > new_page="`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="$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