Skip to content

RDKEMW-17085 : MW feed for support/8.5.3.0#88

Open
aktamilbe wants to merge 1 commit intosupport/8.5.3.0from
feature/RDKEMW-17085
Open

RDKEMW-17085 : MW feed for support/8.5.3.0#88
aktamilbe wants to merge 1 commit intosupport/8.5.3.0from
feature/RDKEMW-17085

Conversation

@aktamilbe
Copy link
Copy Markdown

No description provided.

Copilot AI review requested due to automatic review settings April 17, 2026 07:44
@aktamilbe aktamilbe requested a review from a team as a code owner April 17, 2026 07:44
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the middleware OPKG feed configuration for the support/8.5.3.0 line by changing the release identifier and the base artifact feed paths.

Changes:

  • Update RELEASE_NUM used to construct middleware feed URLs.
  • Switch middleware and OSS middleware IPK feed base paths from middleware-rel/... to middleware-dbg/....

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
conf/machine/include/middleware.inc Changes the release identifier and middleware feed base path used to build IPK_FEED_URIS.
conf/machine/include/oss_mw.inc Changes the OSS middleware feed base path used to build IPK_FEED_URIS.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +8 to +10
RELEASE_NUM = "RDKEMW-17085"

MW_IPK_PATH ?= "middleware-rel/${RELEASE_NUM}"
MW_IPK_PATH ?= "middleware-dbg/${RELEASE_NUM}"
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR title indicates this change is for support/8.5.3.0, but RELEASE_NUM is now set to "RDKEMW-17085". Since RELEASE_NUM is used to construct the feed URL path, this will redirect clients to a different artifacts location than 8.5.3.0. Please align RELEASE_NUM with the intended release identifier (or update the PR title/branch intent if the ticket ID is the correct directory name).

Copilot uses AI. Check for mistakes.
RELEASE_NUM = "RDKEMW-17085"

MW_IPK_PATH ?= "middleware-rel/${RELEASE_NUM}"
MW_IPK_PATH ?= "middleware-dbg/${RELEASE_NUM}"
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MW_IPK_PATH was switched from "middleware-rel/${RELEASE_NUM}" to "middleware-dbg/${RELEASE_NUM}". This changes the base feed location and may cause production builds to consume debug-only artifacts (or fail to resolve packages) depending on how the artifact repository is structured. If the intent is to use release artifacts for a support branch, keep the "middleware-rel" path (or make the dbg/rel selection depend on BUILD_VARIANT to avoid hard-coding debug).

Suggested change
MW_IPK_PATH ?= "middleware-dbg/${RELEASE_NUM}"
MW_IPK_PATH ?= "${@('middleware-dbg' if d.getVar('BUILD_VARIANT') == 'dbg' else 'middleware-rel')}/${RELEASE_NUM}"

Copilot uses AI. Check for mistakes.
PACKAGE_EXTRA_ARCHS:append = " ${MW_OSS} "
OPKG_ARCH_PRIORITY:${MW_OSS} = "205"
MW_OSS_IPK_PATH ?= "middleware-rel/${RELEASE_NUM}"
MW_OSS_IPK_PATH ?= "middleware-dbg/${RELEASE_NUM}"
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MW_OSS_IPK_PATH was changed from "middleware-rel/${RELEASE_NUM}" to "middleware-dbg/${RELEASE_NUM}", which will redirect the OSS feed to a debug artifacts location. If this feed is consumed in non-debug builds, this can lead to missing/incorrect packages; consider keeping the release path or tying the dbg/rel prefix to BUILD_VARIANT (consistent with how the server path already includes ${BUILD_VARIANT}).

Suggested change
MW_OSS_IPK_PATH ?= "middleware-dbg/${RELEASE_NUM}"
MW_OSS_IPK_PATH ?= "${@'middleware-dbg/%s' % d.getVar('RELEASE_NUM') if (d.getVar('BUILD_VARIANT') or '').lower() in ('dbg', 'debug') else 'middleware-rel/%s' % d.getVar('RELEASE_NUM')}"

Copilot uses AI. Check for mistakes.
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.

2 participants