All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jon Mason <jdmason@kudzu.us>
To: Michael Opdenacker <michael.opdenacker@bootlin.com>
Cc: docs@lists.yoctoproject.org, bitbake-devel@lists.openembedded.org
Subject: Re: [docs] [PATCH 1/2] documentation: update sources mirror URL
Date: Wed, 6 Oct 2021 15:53:32 -0400	[thread overview]
Message-ID: <CAPoiz9xhmQ+dCEUibDV7_evNhLVb5i83LjU_uo3k1f_4Q3Y-fA@mail.gmail.com> (raw)
In-Reply-To: <35bcdc42-9ed6-5232-c94e-c69f3fd7af94@bootlin.com>

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.

Thanks,
Jon

> Thanks again,
> Michael.
>
> --
> Michael Opdenacker, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>


  reply	other threads:[~2021-10-06 19:54 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 [this message]
2021-10-06 22:17     ` [bitbake-devel] " Richard Purdie
2021-10-07  0:48       ` 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=CAPoiz9xhmQ+dCEUibDV7_evNhLVb5i83LjU_uo3k1f_4Q3Y-fA@mail.gmail.com \
    --to=jdmason@kudzu.us \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=docs@lists.yoctoproject.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.