Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Holger Hans Peter Freyther <holger+oe@freyther.de>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] base.bbclass: introduce OE source mirror network as last resort for do_fetch
Date: Mon, 17 Aug 2009 15:13:48 +0200	[thread overview]
Message-ID: <200908171513.49062.holger+oe@freyther.de> (raw)
In-Reply-To: <1250260162-9541-1-git-send-email-oe-devel@rolf.leggewie.biz>

On Friday 14 August 2009 16:29:22 Rolf Leggewie wrote:
> Updating recipes and checksums.ini for vanishing upstream hosts or simple
> restructuring can quickly become a chore for OE devs if taken seriously.
> The OE user experience suffers severely when at any given point in time 4
> to 5 recipes on average fail do_fetch for a simple image.
>
> The solution is for OE to provide its own caching of upstream sources.
> mirrors.openembedded.org is a swarm of possibly incomplete source mirrors
> provided by the community and load-balanced via DNS round robin.  They
> act as a first line of defense and lower bandwidth load on melo which
> hosts sources.openembedded.org.  The melo mirror aims to have a complete
> copy of free-to-publish sources used by the current org.oe.dev branch.
>
> Some distributions have provided source mirrors in the past for their
> users. I think it's time for a general and all-encompassing solution.
>
> The infrastructure is being currently put in place.  This patch will
> turn on the OE sources mirror network by default.

Acked-by: Holger Freyther <zecke@selfish.org>

I think having a last resort is good to have. Some recipes are unfetchable 
faster than you can commit it (fakeroot I look like you...giving me that hong 
kong feeling)


> ---
>  classes/base.bbclass |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/classes/base.bbclass b/classes/base.bbclass
> index 5363e5c..51648da 100644
> --- a/classes/base.bbclass
> +++ b/classes/base.bbclass
> @@ -1312,6 +1312,10 @@ ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ 
> ftp://gd.tuwien.ac.at/utils/adm
> ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ 
> ftp://sunsite.ualberta.ca/pub/Mirror/lsof/
> ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ 
> ftp://the.wiretapped.net/pub/security/host-security/lsof/
> http://www.apache.org/dist  http://archive.apache.org/dist
> +ftp://.*/.*     http://mirrors.openembedded.org/
> +https?$://.*/.* http://mirrors.openembedded.org/
> +ftp://.*/.*     http://sources.openembedded.org/
> +https?$://.*/.* http://sources.openembedded.org/
>
>  }



  reply	other threads:[~2009-08-17 13:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-14 14:29 [PATCH] base.bbclass: introduce OE source mirror network as last resort for do_fetch Rolf Leggewie
2009-08-17 13:13 ` Holger Hans Peter Freyther [this message]
2009-08-18 17:24 ` Chris Larson
2009-08-19  7:56   ` Martyn Welch
2009-08-19 12:27     ` Rolf Leggewie
2009-08-19 13:11       ` Martyn Welch
2009-09-05 23:34         ` Leon Woestenberg

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=200908171513.49062.holger+oe@freyther.de \
    --to=holger+oe@freyther.de \
    --cc=openembedded-devel@lists.openembedded.org \
    /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