Skip to content

Cherry-pick "github-releases: add a class that consolidates version checks"#100

Merged
amstewart merged 1 commit intoni:nilrt/master/kirkstonefrom
gratian:dev/nilrt/master/kirkstone-github-releases-patch
Jun 13, 2023
Merged

Cherry-pick "github-releases: add a class that consolidates version checks"#100
amstewart merged 1 commit intoni:nilrt/master/kirkstonefrom
gratian:dev/nilrt/master/kirkstone-github-releases-patch

Conversation

@gratian
Copy link

@gratian gratian commented Jun 12, 2023

github has recently changed how the releases page is structured: the tarballs are no longer listed directly, but are included via separate 'fragment' URIs. For now, we can change the check to match against the release tags.

This also establishes a common base URI to use for both fetching and checking the latest version.

Signed-off-by: Alexander Kanavin alex@linutronix.de
Signed-off-by: Alexandre Belloni alexandre.belloni@bootlin.com
Signed-off-by: Richard Purdie richard.purdie@linuxfoundation.org
(cherry picked from commit afa57a0)
[gratian: adjust path from 'meta/classes-recipe' to 'meta/classes' to match kirkstone layout]
Signed-off-by: Gratian Crisan gratian.crisan@ni.com

Note to maintainers

Testing

  • bitbake nilrt-base-system-image
  • bitbake nilrt-safemode-rootfs

github has recently changed how the releases page is structured:
the tarballs are no longer listed directly, but are included
via separate 'fragment' URIs. For now, we can change the check
to match against the release tags.

This also establishes a common base URI to use for both
fetching and checking the latest version.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit afa57a0)
[gratian: adjust path from 'meta/classes-recipe' to 'meta/classes' to match kirkstone layout]
Signed-off-by: Gratian Crisan <gratian.crisan@ni.com>
@amstewart amstewart merged commit 14091c4 into ni:nilrt/master/kirkstone Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants