From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Jon Mason <jdmason@kudzu.us>,
Michael Opdenacker <michael.opdenacker@bootlin.com>
Cc: docs@lists.yoctoproject.org, bitbake-devel@lists.openembedded.org
Subject: Re: [bitbake-devel] [docs] [PATCH 1/2] documentation: update sources mirror URL
Date: Wed, 06 Oct 2021 23:17:54 +0100 [thread overview]
Message-ID: <755f3e7bd1d40628a911b9c1d165785ad6d5a494.camel@linuxfoundation.org> (raw)
In-Reply-To: <CAPoiz9xhmQ+dCEUibDV7_evNhLVb5i83LjU_uo3k1f_4Q3Y-fA@mail.gmail.com>
On Wed, 2021-10-06 at 15:53 -0400, Jon Mason wrote:
> On Wed, Oct 6, 2021 at 10:41 AM Michael Opdenacker
> <michael.opdenacker@bootlin.com> 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 <jdmason@kudzu.us>
> > > ---
> > > 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
next prev parent reply other threads:[~2021-10-06 22:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-05 22:45 [PATCH 1/2] documentation: update sources mirror URL Jon Mason
2021-10-05 22:45 ` [PATCH 2/2] bitbake: bitbake-user-manual: " Jon Mason
2021-10-06 14:41 ` [docs] [PATCH 1/2] documentation: " Michael Opdenacker
2021-10-06 19:53 ` Jon Mason
2021-10-06 22:17 ` Richard Purdie [this message]
2021-10-07 0:48 ` [bitbake-devel] " Jon Mason
2021-10-07 8:14 ` Quentin Schulz
2021-10-07 8:42 ` Michael Opdenacker
[not found] ` <16ABB308824CB520.3789@lists.yoctoproject.org>
2021-10-07 9:04 ` Michael Opdenacker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=755f3e7bd1d40628a911b9c1d165785ad6d5a494.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=bitbake-devel@lists.openembedded.org \
--cc=docs@lists.yoctoproject.org \
--cc=jdmason@kudzu.us \
--cc=michael.opdenacker@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).