Re: [Development] Qt 5.12.12 branches disappeared from code.qt.io?

2023-01-13 Thread Thiago Macieira
On Friday, 13 January 2023 10:50:41 PST Edward Welbourne via Development 
wrote:
> Indeed, git can: for example
> 
>  git tag --contains  --list v5.15.*
> 
> just the same as for branches, but using a glob for the tags.

Indeed. But for tags, it should verify that the tag is exactly the one that 
was intended (read: the tag wasn't deleted and recreated).

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering


smime.p7s
Description: S/MIME cryptographic signature
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Qt 5.12.12 branches disappeared from code.qt.io?

2023-01-13 Thread Edward Welbourne via Development
On Friday, 13 January 2023 06:12:44 PST Samuli Piippo via Development wrote:
>> bitbake runs branch validation as 'git branch --contains  --list
>> '

Thiago Macieira (13 January 2023 16:32) replied:
> Then don't do *branch* validation. I'm sure it can validate tags too.

Indeed, git can: for example

 git tag --contains  --list v5.15.*

just the same as for branches, but using a glob for the tags.

Eddy.
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Qt 5.12.12 branches disappeared from code.qt.io?

2023-01-13 Thread Thiago Macieira
On Friday, 13 January 2023 06:12:44 PST Samuli Piippo via Development wrote:
> bitbake runs branch validation as 'git branch --contains  --list
> '

Then don't do *branch* validation. I'm sure it can validate tags too.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering



___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Qt 5.12.12 branches disappeared from code.qt.io?

2023-01-13 Thread Samuli Piippo via Development
bitbake runs branch validation as 'git branch --contains  --list '

From: Development  on behalf of Thiago 
Macieira 
Sent: 13 January 2023 15:25
To: development@qt-project.org 
Subject: Re: [Development] Qt 5.12.12 branches disappeared from code.qt.io?

On Thursday, 12 January 2023 23:03:27 PST Samuli Piippo via Development wrote:
> Using tags for the yocto builds is not going to help, since the way bitbake
> tries to validate the SHA1s that are already being used in the meta-qt5 and
> meta-qt6 recipes.

That's an explanation that doesn't explain anything. I understand it verifies
the content, but what does that mechanism have to do with using tags? Tags are
just as verifiable as branches. In fact, they're more verifiable than branches.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering



___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Qt 5.12.12 branches disappeared from code.qt.io?

2023-01-13 Thread Thiago Macieira
On Thursday, 12 January 2023 23:03:27 PST Samuli Piippo via Development wrote:
> Using tags for the yocto builds is not going to help, since the way bitbake
> tries to validate the SHA1s that are already being used in the meta-qt5 and
> meta-qt6 recipes.

That's an explanation that doesn't explain anything. I understand it verifies 
the content, but what does that mechanism have to do with using tags? Tags are 
just as verifiable as branches. In fact, they're more verifiable than branches.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering



___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Qt 5.12.12 branches disappeared from code.qt.io?

2023-01-12 Thread Samuli Piippo via Development
Using tags for the yocto builds is not going to help, since the way bitbake 
tries to validate the SHA1s that are already being used in the meta-qt5 and 
meta-qt6 recipes.

Instead, you can add
  QT_MODULE_BRANCH_PARAM:append = ";nobranch=1"
somewhere in your own configs.
This tells bitbake to stop the validation [1].

We've included the same workaround [2] for all active meta-qt6 branches so that 
this won't happen with the future releases.

-samuli

[1] 
https://docs.yoctoproject.org/migration-guides/migration-1.6.html?highlight=nobranch#matching-branch-requirement-for-git-fetching
[2] https://codereview.qt-project.org/c/yocto/meta-qt6/+/447775

From: Development  on behalf of Thiago 
Macieira 
Sent: 12 January 2023 20:50
To: development@qt-project.org 
Subject: Re: [Development] Qt 5.12.12 branches disappeared from code.qt.io?

On Thursday, 12 January 2023 07:54:33 PST Jon Trulson wrote:
> The reason this became a problem for me was that meta-qt5's warrior
> branch uses these Qt branches (5.12.12 in my case), and these builds now
> fail.

They should use the tags, not the branches.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering



___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Qt 5.12.12 branches disappeared from code.qt.io?

2023-01-12 Thread Thiago Macieira
On Thursday, 12 January 2023 07:54:33 PST Jon Trulson wrote:
> The reason this became a problem for me was that meta-qt5's warrior
> branch uses these Qt branches (5.12.12 in my case), and these builds now
> fail.

They should use the tags, not the branches.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering



___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Qt 5.12.12 branches disappeared from code.qt.io?

2023-01-12 Thread Jon Trulson

On 1/12/23 05:26, Edward Welbourne via Development wrote:

On Wednesday, 11 January 2023 15:29:11 PST Jon Trulson wrote:

Will these be returning at some point?

On 1/12/23 01:24, Thiago Macieira wrote:

No.

Christian Kandeler (12 January 2023 09:24) asked:

Out of curiosity: Who gains what by removing branches?

On Gerrit it makes sense; we should kill dead branches there.  I suspect
the code.qt.io deletions were more by accident than design, probably the
mirroring scripts doing something that made no difference until December
(when I believe the old branches were deleted).  I see that github
retains old branches still.


On git://github.com/qt/qtbase.git for example, these branches are 
missing too.  I can only see 5.12, 5.12.5 and 5.12.7 there (of all the 
5.12* branches that were present), same as on code.qt.io,  so these 
deletions looked more like an accident than intentional (as they are not 
/all/ gone), hence my email.


Am I looking in the wrong place?

The reason this became a problem for me was that meta-qt5's warrior 
branch uses these Qt branches (5.12.12 in my case), and these builds now 
fail.


So I'll need to now fork and maintain my own version of meta-qt5, 
modified to use the tags instead for each of the qt repos.  I have no 
choice but to use this version of Qt for this particular project.  I'm 
now wondering what other project will be affected.


But if that's the way it is, so be it.

--
Jon Trulson

  "The less you know, the more you believe."
   -- Bono
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Qt 5.12.12 branches disappeared from code.qt.io?

2023-01-12 Thread Thiago Macieira
On Thursday, 12 January 2023 00:24:16 PST Christian Kandeler via Development 
wrote:
> On 1/12/23 01:24, Thiago Macieira wrote:
> > On Wednesday, 11 January 2023 15:29:11 PST Jon Trulson wrote:
> >> Will these be returning at some point?
> > 
> > No.
> 
> Out of curiosity: Who gains what by removing branches?

They should never have remained so long. The release branch should be deleted 
right after the release is tagged.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering



___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Qt 5.12.12 branches disappeared from code.qt.io?

2023-01-12 Thread Edward Welbourne via Development
On Wednesday, 11 January 2023 15:29:11 PST Jon Trulson wrote:
>>> Will these be returning at some point?

On 1/12/23 01:24, Thiago Macieira wrote:
>> No.

Christian Kandeler (12 January 2023 09:24) asked:
> Out of curiosity: Who gains what by removing branches?

On Gerrit it makes sense; we should kill dead branches there.  I suspect
the code.qt.io deletions were more by accident than design, probably the
mirroring scripts doing something that made no difference until December
(when I believe the old branches were deleted).  I see that github
retains old branches still.

Eddy.
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Qt 5.12.12 branches disappeared from code.qt.io?

2023-01-12 Thread Christian Kandeler via Development

On 1/12/23 01:24, Thiago Macieira wrote:

On Wednesday, 11 January 2023 15:29:11 PST Jon Trulson wrote:

Will these be returning at some point?

No.


Out of curiosity: Who gains what by removing branches?


Christian

___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Qt 5.12.12 branches disappeared from code.qt.io?

2023-01-11 Thread Jon Trulson

On 1/11/23 17:24, Thiago Macieira wrote:

On Wednesday, 11 January 2023 15:29:11 PST Jon Trulson wrote:

Will these be returning at some point?

No.



Fair enough.  I'll let the customer know there is some work ahead to 
keep their builds going.


Thanks!

--
Jon Trulson

  "The less you know, the more you believe."
   -- Bono
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Qt 5.12.12 branches disappeared from code.qt.io?

2023-01-11 Thread Thiago Macieira
On Wednesday, 11 January 2023 15:29:11 PST Jon Trulson wrote:
> Will these be returning at some point?

No.

Use the tag instead.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering



___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


[Development] Qt 5.12.12 branches disappeared from code.qt.io?

2023-01-11 Thread Jon Trulson

Hi,

I've been building Qt 5.12.12 for some time (via yocto/meta-qt5). 
Recently I've had fetcher failures.  This appears to be due to many 
branches disappearing from various repos (qtbase, qtxmlpatterns, etc), 
including 5.12.12 - the one I need to keep the yocto builds happy.


Will these be returning at some point?

For example, from qtbase recently checked out from code.qt.io:

[ m5: qtbase ] git br -a |grep 5.12
  remotes/origin/5.12
  remotes/origin/5.12.5
  remotes/origin/5.12.7

Thanks!

--
Jon Trulson

  "The less you know, the more you believe."
   -- Bono
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development