From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YDHICsAU1l+BPgAA0tVLHw (envelope-from ) for ; Sun, 13 Dec 2020 13:18:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8EGGBsAU1l+LQAAAbx9fmQ (envelope-from ) for ; Sun, 13 Dec 2020 13:18:56 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E2AEF94042C for ; Sun, 13 Dec 2020 13:18:55 +0000 (UTC) Received: from localhost ([::1]:34824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koRH4-0004TC-Tg for larch@yhetil.org; Sun, 13 Dec 2020 08:18:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koRGE-0004HS-OS for guix-patches@gnu.org; Sun, 13 Dec 2020 08:18:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36179) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koRGE-0004lR-GR for guix-patches@gnu.org; Sun, 13 Dec 2020 08:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koRGE-00088y-C0 for guix-patches@gnu.org; Sun, 13 Dec 2020 08:18:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39430] Use =?UTF-8?Q?CRAN=E2=80=99s?= canonical URL as home-page Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 13 Dec 2020 13:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39430 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Lars-Dominik Braun Received: via spool by 39430-submit@debbugs.gnu.org id=B39430.160786543931169 (code B ref 39430); Sun, 13 Dec 2020 13:18:02 +0000 Received: (at 39430) by debbugs.gnu.org; 13 Dec 2020 13:17:19 +0000 Received: from localhost ([127.0.0.1]:47725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koRFX-00086f-Df for submit@debbugs.gnu.org; Sun, 13 Dec 2020 08:17:19 -0500 Received: from mira.cbaines.net ([212.71.252.8]:36926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koRFV-00086R-ER for 39430@debbugs.gnu.org; Sun, 13 Dec 2020 08:17:18 -0500 Received: from localhost (92.41.183.229.threembb.co.uk [92.41.183.229]) by mira.cbaines.net (Postfix) with ESMTPSA id 7BFE827BC04; Sun, 13 Dec 2020 13:17:16 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id a5ded53e; Sun, 13 Dec 2020 13:17:14 +0000 (UTC) References: <20200205074933.GH2917@zpidnp36> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Baines In-reply-to: <20200205074933.GH2917@zpidnp36> Date: Sun, 13 Dec 2020 13:17:11 +0000 Message-ID: <87blex4zhk.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 39430@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.40 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: E2AEF94042C X-Spam-Score: -4.40 X-Migadu-Scanner: scn1.migadu.com X-TUID: unRHPQKCmla7 --=-=-= Content-Type: text/plain Lars-Dominik Braun writes: > I noticed for packages not specifying any URL the CRAN importer emits home-page > URLs like https://cran.r-project.org/web/packages/ (without trailing > slash). These are permanent redirects, thus the linter complains about them. > One option would be adding a trailing slash or use the canonical URL, as > provided by CRAN (on the bottom of the description page). The attached patch > does the latter. Hi, Sorry for the delay in following up on this. I gave this patch a try, testing using gProfileR as just a random package I picked. So, my take on this is that the canonical URLs still redirect, but using a 303 redirect, which the linter doesn't complain about. Given I see [1] on the page, I guess it makes sense to use these URLs. 1: Please use the canonical form https://CRAN.R-project.org/package=gProfileR to link to this page. I'll leave it a day or two for others to comment, as I'm not particularly familiar with CRAN, but I'm happy to merge this. Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl/WFFdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdIfg/9Hb9f/KgNnZtHPp1ew4b3ytvteSWjN0pP LMQRGlx5iJ4JsqrTY0b5m5gV1A5h46xpMcu9DatE4jMe6HU4dbHIRLCBSz4F1hG/ /rkY7tWqjAx/y1F8CvI5FEXIB0Cx5XUkacMTMz2APl0YUjmgKFqIlXV6T8IdwTih uAxBCZcgPouzkZLncHwe09FZwPLeC6CWQk64zXAQ7TGAAuqh/DvgzVJdnHrRzvI6 YdIM6SVU8SZg/ClXOa3/LzzUYYU2YYOC6SAD/GzI8CHq1OyTphQkgXujHTN5C3Jp FcKmvf+4wvYPFCkupbgft4Bh1CC7per8uhtxV+O/Hnjg8gBIJGqzovC8Nf9nA+j0 kFlYGcPfO0KttBP1tr5eDKcGp/Guisdsqs0rQ58eUecq6RNAL9HYRCTuR/kfbwvp fYOnnrJu9epjSHxNQxzuS5VpeXL1Yx7Fa/3I5olUGASW4ADG/2I3kRpVecDaCsN8 tWZH1P7koYKb7Gfei7IAPMOPEI5/Qwi6G3X/GPyJsW3bmj2rfRVCqvM6Jx79aR38 mf4AS/5uW4kxtMUOUegsYYsvEBQezguuprKBiyGgz+UZCfOCeK4OwxyZJUzvEg0T B2BC0EVRb2kUsQTbfZKmrLWVMMzS2zNuO0AvwAshb1hP8dQF4MXA8zYvfg8URL7l JBk9doGVIZY= =u6h1 -----END PGP SIGNATURE----- --=-=-=--