All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/2] mirrors.bbclass: provide additional rule for git repo fallbacks
@ 2021-09-02  6:31 Daniel Wagenknecht
  2021-09-02  6:31 ` [meta-oe][PATCH 2/2] mirrors.bbclass: remove redundant server-specific mirrors Daniel Wagenknecht
       [not found] ` <16A0EDB4F6A75062.29496@lists.openembedded.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel Wagenknecht @ 2021-09-02  6:31 UTC (permalink / raw)
  To: openembedded-core

Git hosting servers that require a slightly different URL when accessing
repositories via https protocol instead of the git native protocol
are not uncommon (servers using cgit as web UI). Provide a general rule
to try HOST/git/PATH via https as git repo fallback.

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
---
 meta/classes/mirrors.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
index 87bba41472..ab75ca1bb6 100644
--- a/meta/classes/mirrors.bbclass
+++ b/meta/classes/mirrors.bbclass
@@ -73,4 +73,5 @@ git://git.gnome.org/.*        git://gitlab.gnome.org/GNOME/PATH;protocol=https \
 git://git.savannah.gnu.org/.* git://git.savannah.gnu.org/git/PATH;protocol=https \n \
 git://git.yoctoproject.org/.* git://git.yoctoproject.org/git/PATH;protocol=https \n \
 git://.*/.*                   git://HOST/PATH;protocol=https \n \
+git://.*/.*                   git://HOST/git/PATH;protocol=https \n \
 "
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [meta-oe][PATCH 2/2] mirrors.bbclass: remove redundant server-specific mirrors
  2021-09-02  6:31 [meta-oe][PATCH 1/2] mirrors.bbclass: provide additional rule for git repo fallbacks Daniel Wagenknecht
@ 2021-09-02  6:31 ` Daniel Wagenknecht
       [not found] ` <16A0EDB4F6A75062.29496@lists.openembedded.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Wagenknecht @ 2021-09-02  6:31 UTC (permalink / raw)
  To: openembedded-core

With the previously added general git repo fallback rule the server
specific fallback mirrors for git.savannah.gnu.org and
git.yoctoproject.org are redundant. Remove them.

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
---
 meta/classes/mirrors.bbclass | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
index ab75ca1bb6..ba325a658b 100644
--- a/meta/classes/mirrors.bbclass
+++ b/meta/classes/mirrors.bbclass
@@ -70,8 +70,6 @@ ${CPAN_MIRROR}  http://search.cpan.org/CPAN/ \n \
 MIRRORS += "\
 git://salsa.debian.org/.*     git://salsa.debian.org/PATH;protocol=https \n \
 git://git.gnome.org/.*        git://gitlab.gnome.org/GNOME/PATH;protocol=https \n \
-git://git.savannah.gnu.org/.* git://git.savannah.gnu.org/git/PATH;protocol=https \n \
-git://git.yoctoproject.org/.* git://git.yoctoproject.org/git/PATH;protocol=https \n \
 git://.*/.*                   git://HOST/PATH;protocol=https \n \
 git://.*/.*                   git://HOST/git/PATH;protocol=https \n \
 "
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [OE-core] [meta-oe][PATCH 2/2] mirrors.bbclass: remove redundant server-specific mirrors
       [not found] ` <16A0EDB4F6A75062.29496@lists.openembedded.org>
@ 2021-09-02  6:44   ` Daniel Wagenknecht
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Wagenknecht @ 2021-09-02  6:44 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1334 bytes --]

Sorry for the incorrect prefix, the patches are meant for OE-core and NOT meta-
oe.
-- 
Daniel Wagenknecht

emlix - smart embedded open source

On Thu, 2021-09-02 at 08:31 +0200, Daniel Wagenknecht wrote:
> With the previously added general git repo fallback rule the server
> specific fallback mirrors for git.savannah.gnu.org and
> git.yoctoproject.org are redundant. Remove them.
> 
> Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
> ---
>  meta/classes/mirrors.bbclass | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
> index ab75ca1bb6..ba325a658b 100644
> --- a/meta/classes/mirrors.bbclass
> +++ b/meta/classes/mirrors.bbclass
> @@ -70,8 +70,6 @@ ${CPAN_MIRROR}  http://search.cpan.org/CPAN/ \n \
>  MIRRORS += "\
>  git://salsa.debian.org/.*     git://salsa.debian.org/PATH;protocol=https \n \
>  git://git.gnome.org/.*        git://gitlab.gnome.org/GNOME/PATH;protocol=https \n \
> -git://git.savannah.gnu.org/.* git://git.savannah.gnu.org/git/PATH;protocol=https \n \
> -git://git.yoctoproject.org/.* git://git.yoctoproject.org/git/PATH;protocol=https \n \
>  git://.*/.*                   git://HOST/PATH;protocol=https \n \
>  git://.*/.*                   git://HOST/git/PATH;protocol=https \n \
>  "
> 
> 

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-02  6:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-02  6:31 [meta-oe][PATCH 1/2] mirrors.bbclass: provide additional rule for git repo fallbacks Daniel Wagenknecht
2021-09-02  6:31 ` [meta-oe][PATCH 2/2] mirrors.bbclass: remove redundant server-specific mirrors Daniel Wagenknecht
     [not found] ` <16A0EDB4F6A75062.29496@lists.openembedded.org>
2021-09-02  6:44   ` [OE-core] " Daniel Wagenknecht

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.