diff mbox series

[yocto-autobuilder2,v2,1/2] schedulers: sort repo branches in maintained stable branches

Message ID 20260121174651.64212-1-yoann.congal@smile.fr
State Accepted, archived
Headers show
Series [yocto-autobuilder2,v2,1/2] schedulers: sort repo branches in maintained stable branches | expand

Commit Message

Yoann Congal Jan. 21, 2026, 5:46 p.m. UTC
From: Yoann Congal <yoann.congal@smile.fr>

This should help seeing if any branch is missing by comparing with the
"Build Properties" page of a build.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
 schedulers.py | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

Comments

Peter Kjellerstedt Jan. 21, 2026, 5:52 p.m. UTC | #1
> -----Original Message-----
> From: yocto-patches@lists.yoctoproject.org <yocto-patches@lists.yoctoproject.org> On Behalf Of Yoann Congal via lists.yoctoproject.org
> Sent: den 21 januari 2026 18:47
> To: yocto-patches@lists.yoctoproject.org
> Cc: Yoann Congal <yoann.congal@smile.fr>
> Subject: [yocto-patches] [yocto-autobuilder2][PATCH v2 1/2] schedulers: sort repo branches in maintained stable branches
> 
> From: Yoann Congal <yoann.congal@smile.fr>
> 
> This should help seeing if any branch is missing by comparing with the
> "Build Properties" page of a build.
> 
> Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
> ---
>  schedulers.py | 22 +++++++++++-----------
>  1 file changed, 11 insertions(+), 11 deletions(-)
> 
> diff --git a/schedulers.py b/schedulers.py
> index 42983a8..0018fcb 100644
> --- a/schedulers.py
> +++ b/schedulers.py
> @@ -73,16 +73,16 @@ branchdefaults = {
>      },
>      'whinlatter': {
>          'branch': 'whinlatter',
> -        'branch_poky': 'master',
>          'branch_bitbake': '2.16',
>          'branch_meta-arm': 'whinlatter',
>          'branch_meta-gplv2': 'master',
>          'branch_meta-mingw': 'whinlatter',
>          'branch_meta-openembedded': 'whinlatter',
> +        'branch_meta-virtualization': 'whinlatter',
>          'branch_meta-yocto': 'whinlatter',
> -        'branch_yocto-docs': 'whinlatter',
>          'branch_oecore': 'whinlatter',
> -        'branch_meta-virtualization': 'whinlatter',
> +        'branch_poky': 'master',

I don't know how these are actually used, but is a branch for poky 
really meaningful with Whinlatter? Though I notice that meta-gplv2 
is also mentioned above, and it has been dead and buried for years...

> +        'branch_yocto-docs': 'whinlatter',
>      },
>      'walnascar': {
>          'branch': 'walnascar',
> @@ -120,22 +120,22 @@ branchdefaults = {
>      },
>      'scarthgap': {
>          'branch': 'scarthgap',
> -        'branch_poky': 'scarthgap',
>          'branch_bitbake': '2.8',
> -        'branch_meta-arm': 'scarthgap',
>          'branch_meta-agl': 'master',
> +        'branch_meta-arm': 'scarthgap',
>          'branch_meta-aws': 'scarthgap',
>          'branch_meta-clang': 'scarthgap',
>          'branch_meta-gplv2': 'master',
>          'branch_meta-intel': 'scarthgap',
>          'branch_meta-mingw': 'scarthgap',
>          'branch_meta-openembedded': 'scarthgap',
> +        'branch_meta-qt6': '6.8.1',
>          'branch_meta-security': 'scarthgap',
>          'branch_meta-ti': 'scarthgap',
>          'branch_meta-virtualization': 'scarthgap',
> -        'branch_oecore': 'scarthgap',
>          'branch_meta-webosose': 'scarthgap-webos',
> -        'branch_meta-qt6': '6.8.1',
> +        'branch_oecore': 'scarthgap',
> +        'branch_poky': 'scarthgap',
>      },
>      'nanbield': {
>          'branch': 'nanbield',
> @@ -185,22 +185,22 @@ branchdefaults = {
>      },
>      'kirkstone': {
>          'branch': 'kirkstone',
> -        'branch_poky': 'kirkstone',
>          'branch_bitbake': '2.0',
> -        'branch_meta-arm': 'kirkstone',
>          'branch_meta-agl': 'quillback',
> +        'branch_meta-arm': 'kirkstone',
>          'branch_meta-aws': 'kirkstone',
>          'branch_meta-clang': 'kirkstone',
>          'branch_meta-gplv2': 'kirkstone',
>          'branch_meta-intel': 'kirkstone',
>          'branch_meta-mingw': 'kirkstone',
>          'branch_meta-openembedded': 'kirkstone',
> +        'branch_meta-qt6': '6.8.1',
>          'branch_meta-security': 'kirkstone',
>          'branch_meta-ti': 'kirkstone',
>          'branch_meta-virtualization': 'kirkstone',
> -        'branch_oecore': 'kirkstone',
>          'branch_meta-webosose': 'kirkstone-webos',
> -        'branch_meta-qt6': '6.8.1',
> +        'branch_oecore': 'kirkstone',
> +        'branch_poky': 'kirkstone',
>      },
>      'honister': {
>          'branch': 'honister',
> 

//Peter
Yoann Congal Jan. 24, 2026, 1:53 p.m. UTC | #2
Le mer. 21 janv. 2026 à 18:52, Peter Kjellerstedt <
peter.kjellerstedt@axis.com> a écrit :

> > -----Original Message-----
> > From: yocto-patches@lists.yoctoproject.org <
> yocto-patches@lists.yoctoproject.org> On Behalf Of Yoann Congal via
> lists.yoctoproject.org
> > Sent: den 21 januari 2026 18:47
> > To: yocto-patches@lists.yoctoproject.org
> > Cc: Yoann Congal <yoann.congal@smile.fr>
> > Subject: [yocto-patches] [yocto-autobuilder2][PATCH v2 1/2] schedulers:
> sort repo branches in maintained stable branches
> >
> > From: Yoann Congal <yoann.congal@smile.fr>
> >
> > This should help seeing if any branch is missing by comparing with the
> > "Build Properties" page of a build.
> >
> > Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
> > ---
> >  schedulers.py | 22 +++++++++++-----------
> >  1 file changed, 11 insertions(+), 11 deletions(-)
> >
> > diff --git a/schedulers.py b/schedulers.py
> > index 42983a8..0018fcb 100644
> > --- a/schedulers.py
> > +++ b/schedulers.py
> > @@ -73,16 +73,16 @@ branchdefaults = {
> >      },
> >      'whinlatter': {
> >          'branch': 'whinlatter',
> > -        'branch_poky': 'master',
> >          'branch_bitbake': '2.16',
> >          'branch_meta-arm': 'whinlatter',
> >          'branch_meta-gplv2': 'master',
> >          'branch_meta-mingw': 'whinlatter',
> >          'branch_meta-openembedded': 'whinlatter',
> > +        'branch_meta-virtualization': 'whinlatter',
> >          'branch_meta-yocto': 'whinlatter',
> > -        'branch_yocto-docs': 'whinlatter',
> >          'branch_oecore': 'whinlatter',
> > -        'branch_meta-virtualization': 'whinlatter',
> > +        'branch_poky': 'master',
>
> I don't know how these are actually used, but is a branch for poky
> really meaningful with Whinlatter? Though I notice that meta-gplv2
> is also mentioned above, and it has been dead and buried for years...
>

Those are used to pre-fill the "target branch" fields when starting a new
build on the autobuilder.
Poky and meta-gplv2 are not used in the build but since the field is
present, I'd rather have it filled to a known value instead of inheriting
the default value.
I agree that some cleanup should be done to remove those unused repos from
the UI but that is for another day.

> +        'branch_yocto-docs': 'whinlatter',
> >      },
> >      'walnascar': {
> >          'branch': 'walnascar',
> > @@ -120,22 +120,22 @@ branchdefaults = {
> >      },
> >      'scarthgap': {
> >          'branch': 'scarthgap',
> > -        'branch_poky': 'scarthgap',
> >          'branch_bitbake': '2.8',
> > -        'branch_meta-arm': 'scarthgap',
> >          'branch_meta-agl': 'master',
> > +        'branch_meta-arm': 'scarthgap',
> >          'branch_meta-aws': 'scarthgap',
> >          'branch_meta-clang': 'scarthgap',
> >          'branch_meta-gplv2': 'master',
> >          'branch_meta-intel': 'scarthgap',
> >          'branch_meta-mingw': 'scarthgap',
> >          'branch_meta-openembedded': 'scarthgap',
> > +        'branch_meta-qt6': '6.8.1',
> >          'branch_meta-security': 'scarthgap',
> >          'branch_meta-ti': 'scarthgap',
> >          'branch_meta-virtualization': 'scarthgap',
> > -        'branch_oecore': 'scarthgap',
> >          'branch_meta-webosose': 'scarthgap-webos',
> > -        'branch_meta-qt6': '6.8.1',
> > +        'branch_oecore': 'scarthgap',
> > +        'branch_poky': 'scarthgap',
> >      },
> >      'nanbield': {
> >          'branch': 'nanbield',
> > @@ -185,22 +185,22 @@ branchdefaults = {
> >      },
> >      'kirkstone': {
> >          'branch': 'kirkstone',
> > -        'branch_poky': 'kirkstone',
> >          'branch_bitbake': '2.0',
> > -        'branch_meta-arm': 'kirkstone',
> >          'branch_meta-agl': 'quillback',
> > +        'branch_meta-arm': 'kirkstone',
> >          'branch_meta-aws': 'kirkstone',
> >          'branch_meta-clang': 'kirkstone',
> >          'branch_meta-gplv2': 'kirkstone',
> >          'branch_meta-intel': 'kirkstone',
> >          'branch_meta-mingw': 'kirkstone',
> >          'branch_meta-openembedded': 'kirkstone',
> > +        'branch_meta-qt6': '6.8.1',
> >          'branch_meta-security': 'kirkstone',
> >          'branch_meta-ti': 'kirkstone',
> >          'branch_meta-virtualization': 'kirkstone',
> > -        'branch_oecore': 'kirkstone',
> >          'branch_meta-webosose': 'kirkstone-webos',
> > -        'branch_meta-qt6': '6.8.1',
> > +        'branch_oecore': 'kirkstone',
> > +        'branch_poky': 'kirkstone',
> >      },
> >      'honister': {
> >          'branch': 'honister',
> >
>
> //Peter
>
>
Richard Purdie Jan. 25, 2026, 9:52 p.m. UTC | #3
On Wed, 2026-01-21 at 17:52 +0000, Peter Kjellerstedt via lists.yoctoproject.org wrote:
> > -----Original Message-----
> > From: yocto-patches@lists.yoctoproject.org <yocto-patches@lists.yoctoproject.org> On Behalf Of Yoann Congal via lists.yoctoproject.org
> > Sent: den 21 januari 2026 18:47
> > To: yocto-patches@lists.yoctoproject.org
> > Cc: Yoann Congal <yoann.congal@smile.fr>
> > Subject: [yocto-patches] [yocto-autobuilder2][PATCH v2 1/2] schedulers: sort repo branches in maintained stable branches
> > 
> > From: Yoann Congal <yoann.congal@smile.fr>
> > 
> > This should help seeing if any branch is missing by comparing with the
> > "Build Properties" page of a build.
> > 
> > Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
> > ---
> >  schedulers.py | 22 +++++++++++-----------
> >  1 file changed, 11 insertions(+), 11 deletions(-)
> > 
> > diff --git a/schedulers.py b/schedulers.py
> > index 42983a8..0018fcb 100644
> > --- a/schedulers.py
> > +++ b/schedulers.py
> > @@ -73,16 +73,16 @@ branchdefaults = {
> >      },
> >      'whinlatter': {
> >          'branch': 'whinlatter',
> > -        'branch_poky': 'master',
> >          'branch_bitbake': '2.16',
> >          'branch_meta-arm': 'whinlatter',
> >          'branch_meta-gplv2': 'master',
> >          'branch_meta-mingw': 'whinlatter',
> >          'branch_meta-openembedded': 'whinlatter',
> > +        'branch_meta-virtualization': 'whinlatter',
> >          'branch_meta-yocto': 'whinlatter',
> > -        'branch_yocto-docs': 'whinlatter',
> >          'branch_oecore': 'whinlatter',
> > -        'branch_meta-virtualization': 'whinlatter',
> > +        'branch_poky': 'master',
> 
> I don't know how these are actually used, but is a branch for poky 
> really meaningful with Whinlatter? Though I notice that meta-gplv2 
> is also mentioned above, and it has been dead and buried for years...

It is a limitation of the build infrastructure, it needs to be set to
something resolvable. No, it isn't ideal, equally we've a lot of bigger
problems. When we drop kirkstone, we can drop that too.

Cheers,

Richard
diff mbox series

Patch

diff --git a/schedulers.py b/schedulers.py
index 42983a8..0018fcb 100644
--- a/schedulers.py
+++ b/schedulers.py
@@ -73,16 +73,16 @@  branchdefaults = {
     },
     'whinlatter': {
         'branch': 'whinlatter',
-        'branch_poky': 'master',
         'branch_bitbake': '2.16',
         'branch_meta-arm': 'whinlatter',
         'branch_meta-gplv2': 'master',
         'branch_meta-mingw': 'whinlatter',
         'branch_meta-openembedded': 'whinlatter',
+        'branch_meta-virtualization': 'whinlatter',
         'branch_meta-yocto': 'whinlatter',
-        'branch_yocto-docs': 'whinlatter',
         'branch_oecore': 'whinlatter',
-        'branch_meta-virtualization': 'whinlatter',
+        'branch_poky': 'master',
+        'branch_yocto-docs': 'whinlatter',
     },
     'walnascar': {
         'branch': 'walnascar',
@@ -120,22 +120,22 @@  branchdefaults = {
     },
     'scarthgap': {
         'branch': 'scarthgap',
-        'branch_poky': 'scarthgap',
         'branch_bitbake': '2.8',
-        'branch_meta-arm': 'scarthgap',
         'branch_meta-agl': 'master',
+        'branch_meta-arm': 'scarthgap',
         'branch_meta-aws': 'scarthgap',
         'branch_meta-clang': 'scarthgap',
         'branch_meta-gplv2': 'master',
         'branch_meta-intel': 'scarthgap',
         'branch_meta-mingw': 'scarthgap',
         'branch_meta-openembedded': 'scarthgap',
+        'branch_meta-qt6': '6.8.1',
         'branch_meta-security': 'scarthgap',
         'branch_meta-ti': 'scarthgap',
         'branch_meta-virtualization': 'scarthgap',
-        'branch_oecore': 'scarthgap',
         'branch_meta-webosose': 'scarthgap-webos',
-        'branch_meta-qt6': '6.8.1',
+        'branch_oecore': 'scarthgap',
+        'branch_poky': 'scarthgap',
     },
     'nanbield': {
         'branch': 'nanbield',
@@ -185,22 +185,22 @@  branchdefaults = {
     },
     'kirkstone': {
         'branch': 'kirkstone',
-        'branch_poky': 'kirkstone',
         'branch_bitbake': '2.0',
-        'branch_meta-arm': 'kirkstone',
         'branch_meta-agl': 'quillback',
+        'branch_meta-arm': 'kirkstone',
         'branch_meta-aws': 'kirkstone',
         'branch_meta-clang': 'kirkstone',
         'branch_meta-gplv2': 'kirkstone',
         'branch_meta-intel': 'kirkstone',
         'branch_meta-mingw': 'kirkstone',
         'branch_meta-openembedded': 'kirkstone',
+        'branch_meta-qt6': '6.8.1',
         'branch_meta-security': 'kirkstone',
         'branch_meta-ti': 'kirkstone',
         'branch_meta-virtualization': 'kirkstone',
-        'branch_oecore': 'kirkstone',
         'branch_meta-webosose': 'kirkstone-webos',
-        'branch_meta-qt6': '6.8.1',
+        'branch_oecore': 'kirkstone',
+        'branch_poky': 'kirkstone',
     },
     'honister': {
         'branch': 'honister',