mbox

[0/5] liburi-perl upgrade

Message ID cover.1668793524.git.tim.orling@konsulko.com
State Not Applicable, archived
Headers show

Pull-request

https://git.yoctoproject.org/git/poky-contrib timo/recipe-upgrades

Message

Tim Orling Nov. 18, 2022, 5:52 p.m. UTC
AUH has been missing upgrades to liburi-perl because the author changed
back from ETHER to OALDERS, which changes the SRC_URI. In the mean time,
the dependencies for -ptest have grown a little bit, so we add two new
recipes and import one from meta-perl.

While we are at it, correct the redirects in CPAN_MIRROR.

The following changes since commit 44bb88cc869f3b42440d6f7aad000e706b739a2b:

  mesa: do not rely on native llvm-config in target sysroot (2022-11-15 09:38:38 +0000)

are available in the Git repository at:

  https://git.yoctoproject.org/git/poky-contrib timo/recipe-upgrades
  http://git.yoctoproject.org/cgit.cgi/git/poky-contrib/log/?h=timo/recipe-upgrades

Tim Orling (5):
  mirrors.bbclass: update CPAN_MIRROR
  libtry-tiny-perl: add recipe for 0.31
  libtest-fatal-perl: add recipe for 0.016
  libtest-warnings-perl: move from meta-perl
  liburi-perl: upgrade 5.08 -> 5.17

 meta/classes-global/mirrors.bbclass           |   3 +-
 meta/conf/distro/include/maintainers.inc      |   3 +
 .../distro/include/ptest-packagelists.inc     |   3 +
 .../perl/libtest-fatal-perl_0.016.bb          |  36 ++++++
 .../perl/libtest-warnings-perl_0.031.bb       |  39 +++++++
 .../perl/libtry-tiny-perl_0.31.bb             |  36 ++++++
 .../0001-Skip-TODO-test-cases-that-fail.patch | 110 ++++++++++++++++++
 ...iburi-perl_5.08.bb => liburi-perl_5.17.bb} |  34 +++---
 8 files changed, 248 insertions(+), 16 deletions(-)
 create mode 100644 meta/recipes-devtools/perl/libtest-fatal-perl_0.016.bb
 create mode 100644 meta/recipes-devtools/perl/libtest-warnings-perl_0.031.bb
 create mode 100644 meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb
 create mode 100644 meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch
 rename meta/recipes-devtools/perl/{liburi-perl_5.08.bb => liburi-perl_5.17.bb} (65%)

Comments

Alexander Kanavin Nov. 18, 2022, 5:59 p.m. UTC | #1
I trust all of the affected recipes still pass 'devtool
check-upgrade-status'? AUH won't work if that is broken.

Alex

On Fri, 18 Nov 2022 at 18:52, Tim Orling <ticotimo@gmail.com> wrote:
>
> AUH has been missing upgrades to liburi-perl because the author changed
> back from ETHER to OALDERS, which changes the SRC_URI. In the mean time,
> the dependencies for -ptest have grown a little bit, so we add two new
> recipes and import one from meta-perl.
>
> While we are at it, correct the redirects in CPAN_MIRROR.
>
> The following changes since commit 44bb88cc869f3b42440d6f7aad000e706b739a2b:
>
>   mesa: do not rely on native llvm-config in target sysroot (2022-11-15 09:38:38 +0000)
>
> are available in the Git repository at:
>
>   https://git.yoctoproject.org/git/poky-contrib timo/recipe-upgrades
>   http://git.yoctoproject.org/cgit.cgi/git/poky-contrib/log/?h=timo/recipe-upgrades
>
> Tim Orling (5):
>   mirrors.bbclass: update CPAN_MIRROR
>   libtry-tiny-perl: add recipe for 0.31
>   libtest-fatal-perl: add recipe for 0.016
>   libtest-warnings-perl: move from meta-perl
>   liburi-perl: upgrade 5.08 -> 5.17
>
>  meta/classes-global/mirrors.bbclass           |   3 +-
>  meta/conf/distro/include/maintainers.inc      |   3 +
>  .../distro/include/ptest-packagelists.inc     |   3 +
>  .../perl/libtest-fatal-perl_0.016.bb          |  36 ++++++
>  .../perl/libtest-warnings-perl_0.031.bb       |  39 +++++++
>  .../perl/libtry-tiny-perl_0.31.bb             |  36 ++++++
>  .../0001-Skip-TODO-test-cases-that-fail.patch | 110 ++++++++++++++++++
>  ...iburi-perl_5.08.bb => liburi-perl_5.17.bb} |  34 +++---
>  8 files changed, 248 insertions(+), 16 deletions(-)
>  create mode 100644 meta/recipes-devtools/perl/libtest-fatal-perl_0.016.bb
>  create mode 100644 meta/recipes-devtools/perl/libtest-warnings-perl_0.031.bb
>  create mode 100644 meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb
>  create mode 100644 meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch
>  rename meta/recipes-devtools/perl/{liburi-perl_5.08.bb => liburi-perl_5.17.bb} (65%)
>
> --
> 2.30.2
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#173482): https://lists.openembedded.org/g/openembedded-core/message/173482
> Mute This Topic: https://lists.openembedded.org/mt/95117529/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Tim Orling Nov. 18, 2022, 6:24 p.m. UTC | #2
On Fri, Nov 18, 2022 at 9:59 AM Alexander Kanavin <alex.kanavin@gmail.com>
wrote:

> I trust all of the affected recipes still pass 'devtool
> check-upgrade-status'? AUH won't work if that is broken.
>
> It doesn't matter when the author changes and CPAN changes the URL out
from under us. Unless we figure out a different URL to use for the AUH
query.
liburi-perl was happily reporting no change for a long time.


> Alex
>
> On Fri, 18 Nov 2022 at 18:52, Tim Orling <ticotimo@gmail.com> wrote:
> >
> > AUH has been missing upgrades to liburi-perl because the author changed
> > back from ETHER to OALDERS, which changes the SRC_URI. In the mean time,
> > the dependencies for -ptest have grown a little bit, so we add two new
> > recipes and import one from meta-perl.
> >
> > While we are at it, correct the redirects in CPAN_MIRROR.
> >
> > The following changes since commit
> 44bb88cc869f3b42440d6f7aad000e706b739a2b:
> >
> >   mesa: do not rely on native llvm-config in target sysroot (2022-11-15
> 09:38:38 +0000)
> >
> > are available in the Git repository at:
> >
> >   https://git.yoctoproject.org/git/poky-contrib timo/recipe-upgrades
> >
> http://git.yoctoproject.org/cgit.cgi/git/poky-contrib/log/?h=timo/recipe-upgrades
> >
> > Tim Orling (5):
> >   mirrors.bbclass: update CPAN_MIRROR
> >   libtry-tiny-perl: add recipe for 0.31
> >   libtest-fatal-perl: add recipe for 0.016
> >   libtest-warnings-perl: move from meta-perl
> >   liburi-perl: upgrade 5.08 -> 5.17
> >
> >  meta/classes-global/mirrors.bbclass           |   3 +-
> >  meta/conf/distro/include/maintainers.inc      |   3 +
> >  .../distro/include/ptest-packagelists.inc     |   3 +
> >  .../perl/libtest-fatal-perl_0.016.bb          |  36 ++++++
> >  .../perl/libtest-warnings-perl_0.031.bb       |  39 +++++++
> >  .../perl/libtry-tiny-perl_0.31.bb             |  36 ++++++
> >  .../0001-Skip-TODO-test-cases-that-fail.patch | 110 ++++++++++++++++++
> >  ...iburi-perl_5.08.bb => liburi-perl_5.17.bb} |  34 +++---
> >  8 files changed, 248 insertions(+), 16 deletions(-)
> >  create mode 100644 meta/recipes-devtools/perl/
> libtest-fatal-perl_0.016.bb
> >  create mode 100644 meta/recipes-devtools/perl/
> libtest-warnings-perl_0.031.bb
> >  create mode 100644 meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb
> >  create mode 100644
> meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch
> >  rename meta/recipes-devtools/perl/{liburi-perl_5.08.bb =>
> liburi-perl_5.17.bb} (65%)
> >
> > --
> > 2.30.2
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#173482):
> https://lists.openembedded.org/g/openembedded-core/message/173482
> > Mute This Topic: https://lists.openembedded.org/mt/95117529/1686489
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> alex.kanavin@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>
Alexander Kanavin Nov. 18, 2022, 6:35 p.m. UTC | #3
On Fri, 18 Nov 2022 at 19:24, Tim Orling <ticotimo@gmail.com> wrote:
>> I trust all of the affected recipes still pass 'devtool
>> check-upgrade-status'? AUH won't work if that is broken.
>>
> It doesn't matter when the author changes and CPAN changes the URL out from under us. Unless we figure out a different URL to use for the AUH query.
> liburi-perl was happily reporting no change for a long time.

What I mean is does version check work properly for the fixed recipe,
and the ones that were newly introduced in your patchset?

Alex
Tim Orling Nov. 18, 2022, 6:56 p.m. UTC | #4
On Fri, Nov 18, 2022 at 10:35 AM Alexander Kanavin <alex.kanavin@gmail.com>
wrote:

> On Fri, 18 Nov 2022 at 19:24, Tim Orling <ticotimo@gmail.com> wrote:
> >> I trust all of the affected recipes still pass 'devtool
> >> check-upgrade-status'? AUH won't work if that is broken.
> >>
> > It doesn't matter when the author changes and CPAN changes the URL out
> from under us. Unless we figure out a different URL to use for the AUH
> query.
> > liburi-perl was happily reporting no change for a long time.
>
> What I mean is does version check work properly for the fixed recipe,
> and the ones that were newly introduced in your patchset?
>
> I know what you mean. Yes, all of them happily report back a value if you
run 'devtool check-upgrade-status'.

What I am trying to get across is that:
5.0.7 the author was OALDERS, so the URL was
https://cpan.metacpan.org/authors/id/O/OA/OALDERS/URI-5.07.tar.gz
5.0.8 the author was ETHER, so the URL was
https://cpan.metacpan.org/authors/id/E/ET/ETHER/URI-5.08.tar.gz
5.0.9+ the author went back to OALDERS so the URL became
https://cpan.metacpan.org/authors/id/O/OA/OALDERS/URI-${PV}.tar.gz again

So for ALL perl modules, we would need some other scheme for checking if
the author changed. For example:
https://metacpan.org/pod/URI

Alex
>
Alexander Kanavin Nov. 18, 2022, 7:23 p.m. UTC | #5
On Fri, 18 Nov 2022 at 19:57, Tim Orling <ticotimo@gmail.com> wrote:
> So for ALL perl modules, we would need some other scheme for checking if the author changed. For example:
> https://metacpan.org/pod/URI

This should work as UPSTREAM_CHECK_URI/REGEX, as long as the latest
tarball is linked from it.

Alex