From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B06F2C433DF for ; Thu, 2 Jul 2020 20:20:46 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7459520760 for ; Thu, 2 Jul 2020 20:20:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="bqYsEvz8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7459520760 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Date:To:From: Subject:Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=eAuMyKw6cVNt0d1CorSIpRbEDgDKuJQIt4CGojfSpXM=; b=bqYsEvz8r+u2aD84SfK4yF9w+ cNKK6ZMO9YAKZUtQmH2EEB5W3grfXVFWD07dDsGsfi+t/byokA9aIRrgHNZMRfD3XePpmTRBtUlDh t55cCQ+nBHwl412+s6s0Xgs/ig+thQo915nQXwOxIXBeGlBri4zfB70jr3PcdRsI7iS75A0mfMOBq tKbBBhU5v+jvb8jqcD+4+t9A8Wnht1DaoFrf8pg5GWxCGJVTi53p+U9Biv8Gj8zC8tSvdGctLGCqG coR6XQUIxZTFRJ/KvGyR6V1QwKFdcdrYpf3Enb6/w3x15FB8LJnEag0KmoRheliOyRRH1JQr6WoQT g/jKOq+3Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jr5g7-00061a-8W; Thu, 02 Jul 2020 20:19:27 +0000 Received: from smtprelay0191.hostedemail.com ([216.40.44.191] helo=smtprelay.hostedemail.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jr5g2-0005zb-65 for linux-arm-kernel@lists.infradead.org; Thu, 02 Jul 2020 20:19:23 +0000 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id E89C7100E7B40; Thu, 2 Jul 2020 20:19:18 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: feast33_4f102f026e8c X-Filterd-Recvd-Size: 3791 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf11.hostedemail.com (Postfix) with ESMTPA; Thu, 2 Jul 2020 20:19:14 +0000 (UTC) Message-ID: <66df632598aeafc48ecb15434e3d997438414e7f.camel@perches.com> Subject: Re: PCI: Replace lkml.org, spinics, gmane with lore.kernel.org From: Joe Perches To: Jonathan Corbet , Bjorn Helgaas Date: Thu, 02 Jul 2020 13:19:12 -0700 In-Reply-To: <707b05c95ae3292a6b9eb04e146b1f1f6d52c125.camel@perches.com> References: <20200627103050.71712-1-grandmaster@al2klimov.de> <20200630180917.GA3455699@bjorn-Precision-5520> <20200630140417.3a2dba67@lwn.net> <707b05c95ae3292a6b9eb04e146b1f1f6d52c125.camel@perches.com> User-Agent: Evolution 3.36.3-0ubuntu1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200702_161922_336027_41904127 X-CRM114-Status: GOOD ( 12.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sathyanarayanan.kuppuswamy@linux.intel.com, rafael.j.wysocki@intel.com, linux-doc@vger.kernel.org, linux-pci@vger.kernel.org, wangbinghui@hisilicon.com, hpa@zytor.com, festevam@gmail.com, lorenzo.pieralisi@arm.com, x86@kernel.org, kishon@ti.com, hkallweit1@gmail.com, m-karicheri2@ti.com, linux-imx@nxp.com, songxiaowei@hisilicon.com, devicetree@vger.kernel.org, hongxing.zhu@nxp.com, "Alexander A. Klimov" , s.hauer@pengutronix.de, robh+dt@kernel.org, bp@alien8.de, bhelgaas@google.com, tglx@linutronix.de, linux-omap@vger.kernel.org, mingo@redhat.com, linux-arm-kernel@lists.infradead.org, rdunlap@infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, l.stach@pengutronix.de, shawnguo@kernel.org, amurray@thegoodpenguin.co.uk Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 2020-06-30 at 22:35 -0700, Joe Perches wrote: > On Tue, 2020-06-30 at 14:04 -0600, Jonathan Corbet wrote: > > On Tue, 30 Jun 2020 13:09:17 -0500 > > Bjorn Helgaas wrote: > > > > > PCI: Replace lkml.org, spinics, gmane with lore.kernel.org > > > > > > The lkml.org, spinics.net, and gmane.org archives are not very reliable > > > and, in some cases, not even easily accessible. Replace links to them with > > > links to lore.kernel.org, the archives hosted by kernel.org. > > > > > > I found the gmane items via the Wayback Machine archive at > > > https://web.archive.org/. > > > > Heh...now *that* sounds like a project that could generate a lot of churn, > > and perhaps even be worth it. Settling on a consistent (and working!) > > email archive would improve the docs quite a bit. I'll add that to the > > list... > > At least for the lkml.org/lkml links > here's the current -next diff done by a > script that looks at the message-id of > each lkml.org link. btw: if you want to run the script for specific paths, here's the script. You could run it using: bash convert_lkml_to_lore.sh --- $ cat convert_lkml_to_lore.sh #!/bin/bash cvt_lkml_to_lore () { tmpfile=$(mktemp ./.cvt_links.XXXXXXX) header=$(echo $1 | sed 's@/lkml/@/lkml/headers/@') wget -qO - $header > $tmpfile if [[ $? == 0 ]] ; then link=$(grep -i '^Message-Id:' $tmpfile | head -1 | \ sed -r -e 's/^\s*Message-Id:\s*<\s*//' -e 's/\s*>\s*$//' -e 's@^@https://lore.kernel.org/r/@') # echo "testlink: $link" if [ -n "$link" ] ; then wget -qO - $link > /dev/null if [[ $? == 0 ]] ; then echo $link fi fi fi rm -f $tmpfile } git grep -P -o "\bhttps?://(?:www.)?lkml.org/lkml[\/\w]+" $@ | while read line ; do echo $line file=$(echo $line | cut -f1 -d':') link=$(echo $line | cut -f2- -d':') newlink=$(cvt_lkml_to_lore $link) if [[ -n "$newlink" ]] ; then sed -i -e "s#\b$link\b#$newlink#" $file fi done _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel