Patchwork [20/20] mirrors.bbclass: Add yp.org and oe.org to fallback mirrors

login
register
mail settings
Submitter Khem Raj
Date Feb. 6, 2012, 6:40 a.m.
Message ID <d311646dbcb0be12596125a5cf8c97e713741182.1328510189.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/20757/
State New
Headers show

Comments

Khem Raj - Feb. 6, 2012, 6:40 a.m.
This should improve the fetching errors users see
when upstream src_uri is unavailable

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/mirrors.bbclass |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)
Saul Wold - Feb. 7, 2012, 5:49 p.m.
On 02/05/2012 10:40 PM, Khem Raj wrote:
> This should improve the fetching errors users see
> when upstream src_uri is unavailable
>
> Signed-off-by: Khem Raj<raj.khem@gmail.com>
> ---
>   meta/classes/mirrors.bbclass |   21 ++++++++++++++++++++-
>   1 files changed, 20 insertions(+), 1 deletions(-)
>
> diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
> index 2146087..69f44cd 100644
> --- a/meta/classes/mirrors.bbclass
> +++ b/meta/classes/mirrors.bbclass
> @@ -52,5 +52,24 @@ 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/ \n \
>   ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://the.wiretapped.net/pub/security/host-security/lsof/ \n \
>   http://www.apache.org/dist  http://archive.apache.org/dist \n \
> +cvs://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
> +svn://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
> +git://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
> +hg://.*/.*      http://autobuilder.yoctoproject.org/pub/sources/ \n \
> +bzr://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
> +svk://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
> +p4://.*/.*      http://autobuilder.yoctoproject.org/pub/sources/ \n \
> +osc://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
> +https?$://.*/.* http://autobuilder.yoctoproject.org/pub/sources/ \n \
> +ftp://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \

Please use: http://downloads.yoctoproject.org/mirror/sources

That makes it clearer.

Thanks
	Sau!

> +cvs://.*/.*     http://sources.openembedded.org/ \n \
> +svn://.*/.*     http://sources.openembedded.org/ \n \
> +git://.*/.*     http://sources.openembedded.org/ \n \
> +hg://.*/.*      http://sources.openembedded.org/ \n \
> +bzr://.*/.*     http://sources.openembedded.org/ \n \
> +svk://.*/.*     http://sources.openembedded.org/ \n \
> +p4://.*/.*      http://sources.openembedded.org/ \n \
> +osc://.*/.*     http://sources.openembedded.org/ \n \
> +https?$://.*/.* http://sources.openembedded.org/ \n \
> +ftp://.*/.*     http://sources.openembedded.org/ \n \
>   "
> -
Khem Raj - Feb. 7, 2012, 6:04 p.m.
On Tue, Feb 7, 2012 at 9:49 AM, Saul Wold <sgw@linux.intel.com> wrote:
> On 02/05/2012 10:40 PM, Khem Raj wrote:
>>
>> This should improve the fetching errors users see
>> when upstream src_uri is unavailable
>>
>> Signed-off-by: Khem Raj<raj.khem@gmail.com>
>> ---
>>  meta/classes/mirrors.bbclass |   21 ++++++++++++++++++++-
>>  1 files changed, 20 insertions(+), 1 deletions(-)
>>
>> diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
>> index 2146087..69f44cd 100644
>> --- a/meta/classes/mirrors.bbclass
>> +++ b/meta/classes/mirrors.bbclass
>> @@ -52,5 +52,24 @@ 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/ \n \
>>  ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
>>  ftp://the.wiretapped.net/pub/security/host-security/lsof/ \n \
>>  http://www.apache.org/dist  http://archive.apache.org/dist \n \
>> +cvs://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
>> +svn://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
>> +git://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
>> +hg://.*/.*      http://autobuilder.yoctoproject.org/pub/sources/ \n \
>> +bzr://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
>> +svk://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
>> +p4://.*/.*      http://autobuilder.yoctoproject.org/pub/sources/ \n \
>> +osc://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
>> +https?$://.*/.* http://autobuilder.yoctoproject.org/pub/sources/ \n \
>> +ftp://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
>
>
> Please use: http://downloads.yoctoproject.org/mirror/sources

updated

>
> That makes it clearer.
>
> Thanks
>        Sau!
>
>
>> +cvs://.*/.*     http://sources.openembedded.org/ \n \
>> +svn://.*/.*     http://sources.openembedded.org/ \n \
>> +git://.*/.*     http://sources.openembedded.org/ \n \
>> +hg://.*/.*      http://sources.openembedded.org/ \n \
>> +bzr://.*/.*     http://sources.openembedded.org/ \n \
>> +svk://.*/.*     http://sources.openembedded.org/ \n \
>> +p4://.*/.*      http://sources.openembedded.org/ \n \
>> +osc://.*/.*     http://sources.openembedded.org/ \n \
>> +https?$://.*/.* http://sources.openembedded.org/ \n \
>> +ftp://.*/.*     http://sources.openembedded.org/ \n \
>>  "
>> -

Patch

diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
index 2146087..69f44cd 100644
--- a/meta/classes/mirrors.bbclass
+++ b/meta/classes/mirrors.bbclass
@@ -52,5 +52,24 @@  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/ \n \
 ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://the.wiretapped.net/pub/security/host-security/lsof/ \n \
 http://www.apache.org/dist  http://archive.apache.org/dist \n \
+cvs://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
+svn://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
+git://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
+hg://.*/.*      http://autobuilder.yoctoproject.org/pub/sources/ \n \
+bzr://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
+svk://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
+p4://.*/.*      http://autobuilder.yoctoproject.org/pub/sources/ \n \
+osc://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
+https?$://.*/.* http://autobuilder.yoctoproject.org/pub/sources/ \n \
+ftp://.*/.*     http://autobuilder.yoctoproject.org/pub/sources/ \n \
+cvs://.*/.*     http://sources.openembedded.org/ \n \
+svn://.*/.*     http://sources.openembedded.org/ \n \
+git://.*/.*     http://sources.openembedded.org/ \n \
+hg://.*/.*      http://sources.openembedded.org/ \n \
+bzr://.*/.*     http://sources.openembedded.org/ \n \
+svk://.*/.*     http://sources.openembedded.org/ \n \
+p4://.*/.*      http://sources.openembedded.org/ \n \
+osc://.*/.*     http://sources.openembedded.org/ \n \
+https?$://.*/.* http://sources.openembedded.org/ \n \
+ftp://.*/.*     http://sources.openembedded.org/ \n \
 "
-