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 Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87E8AC433F5 for ; Wed, 6 Oct 2021 22:18:00 +0000 (UTC) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by mx.groups.io with SMTP id smtpd.web09.3565.1633558679482724734 for ; Wed, 06 Oct 2021 15:17:59 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=fwN8OFYp; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.51, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f51.google.com with SMTP id t8so13147452wri.1 for ; Wed, 06 Oct 2021 15:17:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=/VVBn5ogEg5Co+pUTwuW6ImxlZ0vRF0UNyA7gzcKz3g=; b=fwN8OFYpyRyRxHLHjxEGggBBls3w62UvojN5EYjCl5SyIeCSKFhqbFntkuGLlkn4IP mcxqT+OxFtTNYM6mTvA+1u93x+3RiKKFQpEVHBVmlEYI7URU/pELyhouOJwtwIvwpPTG DIdXRjsCiVSGARkGz/itn+4daCvkMZPH84jXk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=/VVBn5ogEg5Co+pUTwuW6ImxlZ0vRF0UNyA7gzcKz3g=; b=0QKN67ddogkhpgR4g2VFLeVSdCIWBkunrJqw+ZG2nGTM6kZBuGWsZaqEcKGkIK4kCi 3jpI5V8yqFfiN7I67j5gU9daHBWrkkPHuhWeZ4/uTImnrSWTTyIRn5YWQ1o1brFivCrJ Mf+E3XjfKc+Ykjf7K+TLO+DNVE8eNt7HEZ7eMFH7yA/g1irTsAiV5h6o8OqPM2xuPSiN NpT6R4oWMaHZMtJwRRgfQbidI0lQLjItv0/J6fT0Lv2bfT0LYHQCibp542g5ivdt3GdI THD44zWfey40NIU9AY+VQSuCTIRmTM+wHqWrVNbrcoubn0xQxonOKWFmziA1zPjkvxyc bK2w== X-Gm-Message-State: AOAM5320KDtedjIdtB71gd/DF2tATUc10cMLS7WfTUa6tw4vFzUh36ff Yd6rqwoIOsw4Fa8TmX6tbe/e6w== X-Google-Smtp-Source: ABdhPJwG5XPprOFvvGccEZjnsDJdIiMRnXTaQ2W6D1gsYWeQSwX8YJUs0e7WrICoEHz2Pi21p4QgvQ== X-Received: by 2002:adf:a34b:: with SMTP id d11mr799700wrb.107.1633558677841; Wed, 06 Oct 2021 15:17:57 -0700 (PDT) Received: from ?IPv6:2001:8b0:aba:5f3c:4ef0:3e29:718c:a98a? ([2001:8b0:aba:5f3c:4ef0:3e29:718c:a98a]) by smtp.gmail.com with ESMTPSA id y5sm7159852wma.5.2021.10.06.15.17.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Oct 2021 15:17:57 -0700 (PDT) Message-ID: <755f3e7bd1d40628a911b9c1d165785ad6d5a494.camel@linuxfoundation.org> Subject: Re: [bitbake-devel] [docs] [PATCH 1/2] documentation: update sources mirror URL From: Richard Purdie To: Jon Mason , Michael Opdenacker Cc: docs@lists.yoctoproject.org, bitbake-devel@lists.openembedded.org Date: Wed, 06 Oct 2021 23:17:54 +0100 In-Reply-To: References: <20211005224513.14134-1-jdmason@kudzu.us> <35bcdc42-9ed6-5232-c94e-c69f3fd7af94@bootlin.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.4-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 06 Oct 2021 22:18:00 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/1936 On Wed, 2021-10-06 at 15:53 -0400, Jon Mason wrote: > On Wed, Oct 6, 2021 at 10:41 AM Michael Opdenacker > wrote: > > > > Hi Jon > > > > Thanks for the proposed update ! > > > > On 10/6/21 12:45 AM, Jon Mason wrote: > > > The URL for the sources mirror no longer works. Update to the new > > > location. > > > > > > Signed-off-by: Jon Mason > > > --- > > > documentation/ref-manual/faq.rst | 15 ++++++++------- > > > documentation/ref-manual/variables.rst | 8 ++++---- > > > 2 files changed, 12 insertions(+), 11 deletions(-) > > > > > > diff --git a/documentation/ref-manual/faq.rst b/documentation/ref-manual/faq.rst > > > index d3a603d4a438..f06abc84ee6f 100644 > > > --- a/documentation/ref-manual/faq.rst > > > +++ b/documentation/ref-manual/faq.rst > > > @@ -302,10 +302,10 @@ attempt before any others by adding something like the following to the > > > ``local.conf`` configuration file:: > > > > > > PREMIRRORS:prepend = "\ > > > - git://.*/.* http://www.yoctoproject.org/sources/ \n \ > > > - ftp://.*/.* http://www.yoctoproject.org/sources/ \n \ > > > - http://.*/.* http://www.yoctoproject.org/sources/ \n \ > > > - https://.*/.* http://www.yoctoproject.org/sources/ \n" > > > + git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ > > > + ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ > > > + http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ > > > + https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" > > > > > > Hey, doesn't it sound weird to show an example that proposes to use http > > when https is usually recommended? > > What about proposing https://downloads.yoctoproject.org/mirror/sources/ > > instead? > > > > Or we don't really care because we use source checksums anyway? > > > > Just my two cents. I don't mind accepting the patch as is. > > A quick and dirty grep of the trees shows many occurrences of > downloads.yoctoproject.org without https. Perhaps it would be good to > correct all of these in a follow-on patch. I can do a quick patch of > all of these and get that out in the next day or so. > > Also, looking at documentation/profile-manual/usage.rst (where most of > the occurrences in the docs are), shouldn't we have a newer kernel > than 2.6.19.2 as an example? I mean, it's almost 15 years old. Careful, some of us remember working on the 2.6.19 kernel and have patches in it :) I don't think we've worried too much about http vs https for the downloads as they are checksumed but it is probably cleaner just to convert them. Cheers, Richard