diff mbox series

[3/4] bitbake-setup: add contrib extra-remotes to default-registry configs

Message ID 20260406202430.1856836-4-adrian.freihofer@siemens.com
State New
Headers show
Series bitbake-setup: extra-remotes support for contrib push mirrors | expand

Commit Message

AdrianF April 6, 2026, 8:24 p.m. UTC
From: Adrian Freihofer <adrian.freihofer@siemens.com>

Extend the default-registry configurations with 'contrib' extra-remotes
for the bitbake, openembedded-core, and meta-yocto layer sources.

The contrib remotes point to the SSH push mirrors on push.openembedded.org
and are marked optional=true, meaning they are excluded by the default
'non-optional' filter and must be explicitly requested via:

    bitbake-setup init --extra-remotes-filter all ...
    bitbake-setup init --extra-remotes-filter contrib ...

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
---
 .../oe-nodistro-master.conf.json              | 16 +++++++++++--
 .../oe-nodistro-whinlatter.conf.json          | 16 +++++++++++--
 .../configurations/poky-master.conf.json      | 24 ++++++++++++++++---
 .../configurations/poky-whinlatter.conf.json  | 24 ++++++++++++++++---
 4 files changed, 70 insertions(+), 10 deletions(-)
diff mbox series

Patch

diff --git a/default-registry/configurations/oe-nodistro-master.conf.json b/default-registry/configurations/oe-nodistro-master.conf.json
index 5aa148d42..c06f5602a 100644
--- a/default-registry/configurations/oe-nodistro-master.conf.json
+++ b/default-registry/configurations/oe-nodistro-master.conf.json
@@ -5,14 +5,26 @@ 
             "git-remote": {
                 "uri": "https://git.openembedded.org/bitbake",
                 "branch": "master",
-                "rev": "master"
+                "rev": "master",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://git@push.openembedded.org/bitbake-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "openembedded-core": {
             "git-remote": {
                 "uri": "https://git.openembedded.org/openembedded-core",
                 "branch": "master",
-                "rev": "master"
+                "rev": "master",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://git@push.openembedded.org/openembedded-core-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "yocto-docs": {
diff --git a/default-registry/configurations/oe-nodistro-whinlatter.conf.json b/default-registry/configurations/oe-nodistro-whinlatter.conf.json
index 7b183ae1c..b8d5b1eca 100644
--- a/default-registry/configurations/oe-nodistro-whinlatter.conf.json
+++ b/default-registry/configurations/oe-nodistro-whinlatter.conf.json
@@ -10,7 +10,13 @@ 
                     }
                 },
                 "branch": "2.16",
-                "rev": "2.16"
+                "rev": "2.16",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://git@push.openembedded.org/bitbake-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "openembedded-core": {
@@ -21,7 +27,13 @@ 
                     }
                 },
                 "branch": "whinlatter",
-                "rev": "whinlatter"
+                "rev": "whinlatter",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://git@push.openembedded.org/openembedded-core-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "yocto-docs": {
diff --git a/default-registry/configurations/poky-master.conf.json b/default-registry/configurations/poky-master.conf.json
index 58d379648..bb7c53e10 100644
--- a/default-registry/configurations/poky-master.conf.json
+++ b/default-registry/configurations/poky-master.conf.json
@@ -5,21 +5,39 @@ 
             "git-remote": {
                 "uri": "https://git.openembedded.org/bitbake",
                 "branch": "master",
-                "rev": "master"
+                "rev": "master",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://git@push.openembedded.org/bitbake-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "openembedded-core": {
             "git-remote": {
                 "uri": "https://git.openembedded.org/openembedded-core",
                 "branch": "master",
-                "rev": "master"
+                "rev": "master",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://git@push.openembedded.org/openembedded-core-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "meta-yocto": {
             "git-remote": {
                 "uri": "https://git.yoctoproject.org/meta-yocto",
                 "branch": "master",
-                "rev": "master"
+                "rev": "master",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://git@push.openembedded.org/meta-yocto-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "yocto-docs": {
diff --git a/default-registry/configurations/poky-whinlatter.conf.json b/default-registry/configurations/poky-whinlatter.conf.json
index 4827ebe11..ba82c5ed6 100644
--- a/default-registry/configurations/poky-whinlatter.conf.json
+++ b/default-registry/configurations/poky-whinlatter.conf.json
@@ -10,7 +10,13 @@ 
                     }
                 },
                 "branch": "2.16",
-                "rev": "2.16"
+                "rev": "2.16",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://git@push.openembedded.org/bitbake-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "openembedded-core": {
@@ -21,7 +27,13 @@ 
                     }
                 },
                 "branch": "whinlatter",
-                "rev": "whinlatter"
+                "rev": "whinlatter",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://git@push.openembedded.org/openembedded-core-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "meta-yocto": {
@@ -32,7 +44,13 @@ 
                     }
                 },
                 "branch": "whinlatter",
-                "rev": "whinlatter"
+                "rev": "whinlatter",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://git@push.openembedded.org/meta-yocto-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "yocto-docs": {