From e7f8a195371845169e245be790b61bcd6589fefb Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 8 Jul 2025 15:28:02 +0530 Subject: [PATCH 01/36] Create auto_pr_creation_target_repo_caller.yml --- .../auto_pr_creation_target_repo_caller.yml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/auto_pr_creation_target_repo_caller.yml diff --git a/.github/workflows/auto_pr_creation_target_repo_caller.yml b/.github/workflows/auto_pr_creation_target_repo_caller.yml new file mode 100644 index 00000000..d4ca35cb --- /dev/null +++ b/.github/workflows/auto_pr_creation_target_repo_caller.yml @@ -0,0 +1,23 @@ +name: Auto PR Creation Caller + +on: + push: + branches: + - RDKEMW-4778 + +jobs: + debug_check: + runs-on: ubuntu-latest + steps: + - run: echo "Triggered" + + call_auto_pr_workflow: + #secrets: + #RDKCM_RDKE: ${{ secrets.RDKCM_RDKE }} + uses: rdkcentral/build_tools_workflows/.github/workflows/auto_pr_creation_meta.yml@RDKEMW-4778 + secrets: + RDKCM_RDKE: ${{ secrets.RDKCM_RDKE }} + #runs-on: ubuntu-latest + #steps: + # - name: Print placeholder instead of actual logic + # run: echo "This is a placeholder for the actual logic." From 8eb747a024328d88a7c702d9457e0856067bbc36 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 8 Jul 2025 15:31:59 +0530 Subject: [PATCH 02/36] Update auto_pr_creation_target_repo_caller.yml --- .github/workflows/auto_pr_creation_target_repo_caller.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_pr_creation_target_repo_caller.yml b/.github/workflows/auto_pr_creation_target_repo_caller.yml index d4ca35cb..8e5d6f85 100644 --- a/.github/workflows/auto_pr_creation_target_repo_caller.yml +++ b/.github/workflows/auto_pr_creation_target_repo_caller.yml @@ -3,7 +3,7 @@ name: Auto PR Creation Caller on: push: branches: - - RDKEMW-4778 + - RDKEMW-4778 jobs: debug_check: From 16f54637916b8c26ed16e6e5855a42e8ce279304 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 8 Jul 2025 15:41:45 +0530 Subject: [PATCH 03/36] Update auto_pr_creation_target_repo_caller.yml --- .github/workflows/auto_pr_creation_target_repo_caller.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_pr_creation_target_repo_caller.yml b/.github/workflows/auto_pr_creation_target_repo_caller.yml index 8e5d6f85..d4ca35cb 100644 --- a/.github/workflows/auto_pr_creation_target_repo_caller.yml +++ b/.github/workflows/auto_pr_creation_target_repo_caller.yml @@ -3,7 +3,7 @@ name: Auto PR Creation Caller on: push: branches: - - RDKEMW-4778 + - RDKEMW-4778 jobs: debug_check: From c8625e93941feeddaefc73bb6124ecefc7256371 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 8 Jul 2025 15:44:29 +0530 Subject: [PATCH 04/36] Update auto_pr_creation_target_repo_caller.yml --- .github/workflows/auto_pr_creation_target_repo_caller.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_pr_creation_target_repo_caller.yml b/.github/workflows/auto_pr_creation_target_repo_caller.yml index d4ca35cb..8e5d6f85 100644 --- a/.github/workflows/auto_pr_creation_target_repo_caller.yml +++ b/.github/workflows/auto_pr_creation_target_repo_caller.yml @@ -3,7 +3,7 @@ name: Auto PR Creation Caller on: push: branches: - - RDKEMW-4778 + - RDKEMW-4778 jobs: debug_check: From 921fb9586cc6e561971d6d220e39f797a015cb81 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 8 Jul 2025 15:48:26 +0530 Subject: [PATCH 05/36] Update auto_pr_creation_target_repo_caller.yml --- .github/workflows/auto_pr_creation_target_repo_caller.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_pr_creation_target_repo_caller.yml b/.github/workflows/auto_pr_creation_target_repo_caller.yml index 8e5d6f85..d4ca35cb 100644 --- a/.github/workflows/auto_pr_creation_target_repo_caller.yml +++ b/.github/workflows/auto_pr_creation_target_repo_caller.yml @@ -3,7 +3,7 @@ name: Auto PR Creation Caller on: push: branches: - - RDKEMW-4778 + - RDKEMW-4778 jobs: debug_check: From e1b06b9a85681eb6a5443eddbfb0ad6fb6c10168 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 8 Jul 2025 15:55:36 +0530 Subject: [PATCH 06/36] Update auto_pr_creation_target_repo_caller.yml From 66a51f29652832a94eae75b8f32e77780471cc2e Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 8 Jul 2025 17:32:27 +0530 Subject: [PATCH 07/36] Update auto_pr_creation_target_repo_caller.yml --- .github/workflows/auto_pr_creation_target_repo_caller.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_pr_creation_target_repo_caller.yml b/.github/workflows/auto_pr_creation_target_repo_caller.yml index d4ca35cb..8e5d6f85 100644 --- a/.github/workflows/auto_pr_creation_target_repo_caller.yml +++ b/.github/workflows/auto_pr_creation_target_repo_caller.yml @@ -3,7 +3,7 @@ name: Auto PR Creation Caller on: push: branches: - - RDKEMW-4778 + - RDKEMW-4778 jobs: debug_check: From 6bc4e698621370def4ebcc99da60aeb73c2b6359 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 8 Jul 2025 17:42:16 +0530 Subject: [PATCH 08/36] Update auto_pr_creation_target_repo_caller.yml --- .github/workflows/auto_pr_creation_target_repo_caller.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_pr_creation_target_repo_caller.yml b/.github/workflows/auto_pr_creation_target_repo_caller.yml index 8e5d6f85..d4ca35cb 100644 --- a/.github/workflows/auto_pr_creation_target_repo_caller.yml +++ b/.github/workflows/auto_pr_creation_target_repo_caller.yml @@ -3,7 +3,7 @@ name: Auto PR Creation Caller on: push: branches: - - RDKEMW-4778 + - RDKEMW-4778 jobs: debug_check: From 6c99d7074ffa19840b9717d0dab6a571765d0560 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 8 Jul 2025 17:46:39 +0530 Subject: [PATCH 09/36] Update auto_pr_creation_target_repo_caller.yml --- .github/workflows/auto_pr_creation_target_repo_caller.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_pr_creation_target_repo_caller.yml b/.github/workflows/auto_pr_creation_target_repo_caller.yml index d4ca35cb..8e5d6f85 100644 --- a/.github/workflows/auto_pr_creation_target_repo_caller.yml +++ b/.github/workflows/auto_pr_creation_target_repo_caller.yml @@ -3,7 +3,7 @@ name: Auto PR Creation Caller on: push: branches: - - RDKEMW-4778 + - RDKEMW-4778 jobs: debug_check: From c964491e27c8e250395dd06458377beadda0fda5 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 8 Jul 2025 17:53:22 +0530 Subject: [PATCH 10/36] Update auto_pr_creation_target_repo_caller.yml --- .github/workflows/auto_pr_creation_target_repo_caller.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_pr_creation_target_repo_caller.yml b/.github/workflows/auto_pr_creation_target_repo_caller.yml index 8e5d6f85..d4ca35cb 100644 --- a/.github/workflows/auto_pr_creation_target_repo_caller.yml +++ b/.github/workflows/auto_pr_creation_target_repo_caller.yml @@ -3,7 +3,7 @@ name: Auto PR Creation Caller on: push: branches: - - RDKEMW-4778 + - RDKEMW-4778 jobs: debug_check: From 2d9d0fd0d7557baf7fd92d81f06774257ca4ba4b Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 8 Jul 2025 18:23:30 +0530 Subject: [PATCH 11/36] Update auto_pr_creation_target_repo_caller.yml --- .github/workflows/auto_pr_creation_target_repo_caller.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_pr_creation_target_repo_caller.yml b/.github/workflows/auto_pr_creation_target_repo_caller.yml index d4ca35cb..0963d748 100644 --- a/.github/workflows/auto_pr_creation_target_repo_caller.yml +++ b/.github/workflows/auto_pr_creation_target_repo_caller.yml @@ -3,7 +3,7 @@ name: Auto PR Creation Caller on: push: branches: - - RDKEMW-4778 + - test_develop jobs: debug_check: From 4194158ff8e4b43e1169ab2e46d1dd8975290951 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Wed, 9 Jul 2025 11:29:04 +0530 Subject: [PATCH 12/36] Update auto_pr_creation_target_repo_caller.yml --- .github/workflows/auto_pr_creation_target_repo_caller.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto_pr_creation_target_repo_caller.yml b/.github/workflows/auto_pr_creation_target_repo_caller.yml index 0963d748..4e5d12dc 100644 --- a/.github/workflows/auto_pr_creation_target_repo_caller.yml +++ b/.github/workflows/auto_pr_creation_target_repo_caller.yml @@ -1,7 +1,8 @@ name: Auto PR Creation Caller on: - push: + pull_request: + types: [closed] branches: - test_develop @@ -20,4 +21,4 @@ jobs: #runs-on: ubuntu-latest #steps: # - name: Print placeholder instead of actual logic - # run: echo "This is a placeholder for the actual logic." + # run: echo "This is a placeholder for the actual logic." From b6ef3abd5ff273fd9f5676da86ac526e0c993dbe Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Wed, 9 Jul 2025 11:54:32 +0530 Subject: [PATCH 13/36] Update IXCast.h --- apis/XCast/IXCast.h | 1 + 1 file changed, 1 insertion(+) diff --git a/apis/XCast/IXCast.h b/apis/XCast/IXCast.h index 7c75bac9..b7983aaa 100644 --- a/apis/XCast/IXCast.h +++ b/apis/XCast/IXCast.h @@ -71,6 +71,7 @@ namespace WPEFramework { virtual uint32_t getManufacturerName(string &manufacturername /* @out */ ) const = 0; virtual uint32_t setModelName(string modelname) const = 0; virtual uint32_t getModelName(string &modelname /* @out */ ) const = 0; + }; } // Exchange From c6dbc97d4cc634f9cf740b8c01a9cf92c8b44c6f Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Wed, 9 Jul 2025 12:32:14 +0530 Subject: [PATCH 14/36] Update IXCast.h --- apis/XCast/IXCast.h | 1 + 1 file changed, 1 insertion(+) diff --git a/apis/XCast/IXCast.h b/apis/XCast/IXCast.h index b7983aaa..47c26ea4 100644 --- a/apis/XCast/IXCast.h +++ b/apis/XCast/IXCast.h @@ -72,6 +72,7 @@ namespace WPEFramework { virtual uint32_t setModelName(string modelname) const = 0; virtual uint32_t getModelName(string &modelname /* @out */ ) const = 0; + }; } // Exchange From 58e0feb877e145f29bfde720e2eed3373fa658ec Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Wed, 9 Jul 2025 19:14:24 +0530 Subject: [PATCH 15/36] Update IXCast.h --- apis/XCast/IXCast.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apis/XCast/IXCast.h b/apis/XCast/IXCast.h index 47c26ea4..04a2d644 100644 --- a/apis/XCast/IXCast.h +++ b/apis/XCast/IXCast.h @@ -24,6 +24,8 @@ // @stubgen:include + + namespace WPEFramework { namespace Exchange { struct EXTERNAL IXCast : virtual public Core::IUnknown { From 342a40cc4a5b88c071f611ec8ad239d237c30294 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Fri, 11 Jul 2025 18:33:40 +0530 Subject: [PATCH 16/36] Update IXCast.h --- apis/XCast/IXCast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/XCast/IXCast.h b/apis/XCast/IXCast.h index 04a2d644..14546a1e 100644 --- a/apis/XCast/IXCast.h +++ b/apis/XCast/IXCast.h @@ -24,7 +24,7 @@ // @stubgen:include - +//Test1 namespace WPEFramework { namespace Exchange { From 3be66b743d13c869d7feaba76bbe893ff0829c8b Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 15 Jul 2025 12:40:08 +0530 Subject: [PATCH 17/36] Update IUSBDevice.h --- apis/USBDevice/IUSBDevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/USBDevice/IUSBDevice.h b/apis/USBDevice/IUSBDevice.h index ea3fb6f3..7b4dcdbd 100644 --- a/apis/USBDevice/IUSBDevice.h +++ b/apis/USBDevice/IUSBDevice.h @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - +//Test1 #pragma once #include "Module.h" From 1c678d73a514f702b3c5b4ec55977c33bd8efaf4 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 15 Jul 2025 13:05:56 +0530 Subject: [PATCH 18/36] Update IUSBDevice.h --- apis/USBDevice/IUSBDevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/USBDevice/IUSBDevice.h b/apis/USBDevice/IUSBDevice.h index 7b4dcdbd..be17c98c 100644 --- a/apis/USBDevice/IUSBDevice.h +++ b/apis/USBDevice/IUSBDevice.h @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -//Test1 +//Test2 #pragma once #include "Module.h" From 2ba1facea8bcd96c79ce8b849212be1605d1f13c Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 15 Jul 2025 14:55:18 +0530 Subject: [PATCH 19/36] Update IUSBDevice.h --- apis/USBDevice/IUSBDevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/USBDevice/IUSBDevice.h b/apis/USBDevice/IUSBDevice.h index be17c98c..d1437545 100644 --- a/apis/USBDevice/IUSBDevice.h +++ b/apis/USBDevice/IUSBDevice.h @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -//Test2 +//Test3 #pragma once #include "Module.h" From a23b5809ee7de9e3fbab69697762a59f398d1197 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 15 Jul 2025 15:07:47 +0530 Subject: [PATCH 20/36] Update IUSBDevice.h --- apis/USBDevice/IUSBDevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/USBDevice/IUSBDevice.h b/apis/USBDevice/IUSBDevice.h index d1437545..b5f120ab 100644 --- a/apis/USBDevice/IUSBDevice.h +++ b/apis/USBDevice/IUSBDevice.h @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -//Test3 +//Test4 #pragma once #include "Module.h" From 12e138d5cd35227089603141029c2feb0d9c6f16 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 15 Jul 2025 15:26:57 +0530 Subject: [PATCH 21/36] Update IUSBDevice.h --- apis/USBDevice/IUSBDevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/USBDevice/IUSBDevice.h b/apis/USBDevice/IUSBDevice.h index b5f120ab..556395c0 100644 --- a/apis/USBDevice/IUSBDevice.h +++ b/apis/USBDevice/IUSBDevice.h @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -//Test4 +//Test5 #pragma once #include "Module.h" From 7058ff52849c07c04eb3d534a9c6f011a2d38172 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 15 Jul 2025 15:47:42 +0530 Subject: [PATCH 22/36] Update IUSBDevice.h --- apis/USBDevice/IUSBDevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/USBDevice/IUSBDevice.h b/apis/USBDevice/IUSBDevice.h index 556395c0..007bc464 100644 --- a/apis/USBDevice/IUSBDevice.h +++ b/apis/USBDevice/IUSBDevice.h @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -//Test5 +//Test6 #pragma once #include "Module.h" From 94d3bc9926b8f28ea164c9d88ea7e8b2f9edcb27 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 15 Jul 2025 16:01:51 +0530 Subject: [PATCH 23/36] Update IUSBDevice.h --- apis/USBDevice/IUSBDevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/USBDevice/IUSBDevice.h b/apis/USBDevice/IUSBDevice.h index 007bc464..38d74cc7 100644 --- a/apis/USBDevice/IUSBDevice.h +++ b/apis/USBDevice/IUSBDevice.h @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -//Test6 +//Test7 #pragma once #include "Module.h" From ce89686d2ddb5f003e1a3af70bf3821bbe4864d1 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 15 Jul 2025 17:11:45 +0530 Subject: [PATCH 24/36] Update IUSBDevice.h --- apis/USBDevice/IUSBDevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/USBDevice/IUSBDevice.h b/apis/USBDevice/IUSBDevice.h index 38d74cc7..53daf6b3 100644 --- a/apis/USBDevice/IUSBDevice.h +++ b/apis/USBDevice/IUSBDevice.h @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -//Test7 +//Test8 #pragma once #include "Module.h" From cd12c08fb16dfd88ce58127974d9f60369a82032 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 15 Jul 2025 19:24:31 +0530 Subject: [PATCH 25/36] Update IUSBDevice.h --- apis/USBDevice/IUSBDevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/USBDevice/IUSBDevice.h b/apis/USBDevice/IUSBDevice.h index 53daf6b3..5a5e01be 100644 --- a/apis/USBDevice/IUSBDevice.h +++ b/apis/USBDevice/IUSBDevice.h @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -//Test8 +//Test9 #pragma once #include "Module.h" From 9a83db317246ccb1a8f294959b727eea1319672c Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Tue, 15 Jul 2025 22:41:04 +0530 Subject: [PATCH 26/36] Update IUSBDevice.h --- apis/USBDevice/IUSBDevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/USBDevice/IUSBDevice.h b/apis/USBDevice/IUSBDevice.h index 5a5e01be..09e07147 100644 --- a/apis/USBDevice/IUSBDevice.h +++ b/apis/USBDevice/IUSBDevice.h @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -//Test9 +//Test10 #pragma once #include "Module.h" From bc66676c96e3bd0fedcb8cddaacfdccd315aa274 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Wed, 16 Jul 2025 10:50:52 +0530 Subject: [PATCH 27/36] Update IDeviceInfo.h --- apis/DeviceInfo/IDeviceInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/DeviceInfo/IDeviceInfo.h b/apis/DeviceInfo/IDeviceInfo.h index ee5f769b..a65c1786 100644 --- a/apis/DeviceInfo/IDeviceInfo.h +++ b/apis/DeviceInfo/IDeviceInfo.h @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - +//Test1 #pragma once #include "Module.h" From f378f73731f850a5ccd6c83d182e507867f5d4db Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Wed, 16 Jul 2025 13:17:15 +0530 Subject: [PATCH 28/36] Update IDeviceInfo.h --- apis/DeviceInfo/IDeviceInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/DeviceInfo/IDeviceInfo.h b/apis/DeviceInfo/IDeviceInfo.h index a65c1786..e0e6ee25 100644 --- a/apis/DeviceInfo/IDeviceInfo.h +++ b/apis/DeviceInfo/IDeviceInfo.h @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -//Test1 +//Test2 #pragma once #include "Module.h" From 5bd8f061fd7cc6d9a6cbbe67cf050eeb7f97b707 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Wed, 16 Jul 2025 16:39:55 +0530 Subject: [PATCH 29/36] Update auto_pr_creation_target_repo_caller.yml --- .../auto_pr_creation_target_repo_caller.yml | 60 ++++++++++++++++--- 1 file changed, 51 insertions(+), 9 deletions(-) diff --git a/.github/workflows/auto_pr_creation_target_repo_caller.yml b/.github/workflows/auto_pr_creation_target_repo_caller.yml index 4e5d12dc..608e2d31 100644 --- a/.github/workflows/auto_pr_creation_target_repo_caller.yml +++ b/.github/workflows/auto_pr_creation_target_repo_caller.yml @@ -7,18 +7,60 @@ on: - test_develop jobs: - debug_check: + check_linked_prs_merged: runs-on: ubuntu-latest + outputs: + proceed: ${{ steps.check.outputs.proceed }} steps: - - run: echo "Triggered" - + - name: Check if all linked PRs are merged + id: check + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PR_NUMBER: ${{ github.event.pull_request.number }} + REPO: ${{ github.repository }} + run: | + pip install PyGithub + python <<'EOF' + import os, sys, re + from github import Github + token = os.environ['GITHUB_TOKEN'] + repo_name = os.environ['REPO'] + pr_number = int(os.environ['PR_NUMBER']) + g = Github(token) + repo = g.get_repo(repo_name) + pr = repo.get_pull(pr_number) + issue_numbers = re.findall(r'#(\d+)', pr.body or '') + if not issue_numbers: + print('::set-output name=proceed::true') + sys.exit(0) + for issue_number in issue_numbers: + issue = repo.get_issue(int(issue_number)) + linked_prs = set() + # Use timeline to find connected PRs + try: + for event in issue.get_timeline(): + if hasattr(event, 'source') and hasattr(event.source, 'number'): + linked_prs.add(event.source.number) + except Exception: + pass + if not linked_prs: + linked_prs = {pr_number} + all_merged = True + for pr_num in linked_prs: + linked_pr = repo.get_pull(pr_num) + if not linked_pr.merged: + all_merged = False + print(f'PR #{pr_num} is not merged. Skipping workflow.') + break + if not all_merged: + print('::set-output name=proceed::false') + sys.exit(0) + print('::set-output name=proceed::true') + EOF + call_auto_pr_workflow: - #secrets: - #RDKCM_RDKE: ${{ secrets.RDKCM_RDKE }} + needs: check_linked_prs_merged + if: needs.check_linked_prs_merged.outputs.proceed == 'true' uses: rdkcentral/build_tools_workflows/.github/workflows/auto_pr_creation_meta.yml@RDKEMW-4778 secrets: RDKCM_RDKE: ${{ secrets.RDKCM_RDKE }} - #runs-on: ubuntu-latest - #steps: - # - name: Print placeholder instead of actual logic - # run: echo "This is a placeholder for the actual logic." From fe848b41e8d37d710f8f595cfa66b3a2a710c8e3 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Wed, 16 Jul 2025 16:43:34 +0530 Subject: [PATCH 30/36] Update IXCast.h --- apis/XCast/IXCast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/XCast/IXCast.h b/apis/XCast/IXCast.h index 14546a1e..7e0b7a3a 100644 --- a/apis/XCast/IXCast.h +++ b/apis/XCast/IXCast.h @@ -24,7 +24,7 @@ // @stubgen:include -//Test1 +//Test2 namespace WPEFramework { namespace Exchange { From 360b26b9b3c17d6a70db0388b5f22c43eaf3519c Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Wed, 16 Jul 2025 17:21:47 +0530 Subject: [PATCH 31/36] Update auto_pr_creation_target_repo_caller.yml --- .../auto_pr_creation_target_repo_caller.yml | 52 +++++++++---------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/auto_pr_creation_target_repo_caller.yml b/.github/workflows/auto_pr_creation_target_repo_caller.yml index 608e2d31..64f0fdd1 100644 --- a/.github/workflows/auto_pr_creation_target_repo_caller.yml +++ b/.github/workflows/auto_pr_creation_target_repo_caller.yml @@ -21,7 +21,7 @@ jobs: run: | pip install PyGithub python <<'EOF' - import os, sys, re + import os, sys, re, requests from github import Github token = os.environ['GITHUB_TOKEN'] repo_name = os.environ['REPO'] @@ -30,32 +30,32 @@ jobs: repo = g.get_repo(repo_name) pr = repo.get_pull(pr_number) issue_numbers = re.findall(r'#(\d+)', pr.body or '') - if not issue_numbers: - print('::set-output name=proceed::true') - sys.exit(0) - for issue_number in issue_numbers: - issue = repo.get_issue(int(issue_number)) - linked_prs = set() - # Use timeline to find connected PRs - try: - for event in issue.get_timeline(): - if hasattr(event, 'source') and hasattr(event.source, 'number'): - linked_prs.add(event.source.number) - except Exception: - pass - if not linked_prs: - linked_prs = {pr_number} - all_merged = True - for pr_num in linked_prs: - linked_pr = repo.get_pull(pr_num) - if not linked_pr.merged: - all_merged = False - print(f'PR #{pr_num} is not merged. Skipping workflow.') + proceed = 'true' + if issue_numbers: + headers = {'Authorization': f'token {token}'} + owner, repo_short = repo_name.split('/') + for issue_number in issue_numbers: + url = f'https://api.github.com/repos/{owner}/{repo_short}/issues/{issue_number}/timeline' + r = requests.get(url, headers={**headers, 'Accept': 'application/vnd.github.mockingbird-preview+json'}) + events = r.json() + linked_prs = set() + for event in events: + if event.get('event') == 'connected' and event.get('source', {}).get('type') == 'pull_request': + pr_url = event['source']['issue']['pull_request']['url'] + pr_id = int(pr_url.split('/')[-1]) + linked_prs.add(pr_id) + if not linked_prs: + linked_prs = {pr_number} + for pr_num in linked_prs: + linked_pr = repo.get_pull(pr_num) + if not linked_pr.merged: + print(f'PR #{pr_num} is not merged. Skipping workflow.') + proceed = 'false' + break + if proceed == 'false': break - if not all_merged: - print('::set-output name=proceed::false') - sys.exit(0) - print('::set-output name=proceed::true') + with open(os.environ['GITHUB_OUTPUT'], 'a') as fh: + fh.write(f'proceed={proceed}\n') EOF call_auto_pr_workflow: From ea6f890a194cfaadfd74fdf607eae228a143bccc Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Wed, 16 Jul 2025 17:23:16 +0530 Subject: [PATCH 32/36] Update IXCast.h --- apis/XCast/IXCast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/XCast/IXCast.h b/apis/XCast/IXCast.h index 7e0b7a3a..e45f2b69 100644 --- a/apis/XCast/IXCast.h +++ b/apis/XCast/IXCast.h @@ -24,7 +24,7 @@ // @stubgen:include -//Test2 +//Test3 namespace WPEFramework { namespace Exchange { From dcf58b774f7d285709ffd0126b5fc7ddd000a1da Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Wed, 16 Jul 2025 17:38:25 +0530 Subject: [PATCH 33/36] Update auto_pr_creation_target_repo_caller.yml --- .../auto_pr_creation_target_repo_caller.yml | 109 ++++++++++++++---- 1 file changed, 89 insertions(+), 20 deletions(-) diff --git a/.github/workflows/auto_pr_creation_target_repo_caller.yml b/.github/workflows/auto_pr_creation_target_repo_caller.yml index 64f0fdd1..dcc49146 100644 --- a/.github/workflows/auto_pr_creation_target_repo_caller.yml +++ b/.github/workflows/auto_pr_creation_target_repo_caller.yml @@ -21,39 +21,108 @@ jobs: run: | pip install PyGithub python <<'EOF' - import os, sys, re, requests + import os, sys, requests from github import Github token = os.environ['GITHUB_TOKEN'] repo_name = os.environ['REPO'] pr_number = int(os.environ['PR_NUMBER']) + print(f"[DEBUG] Token: {'set' if token else 'not set'}") + print(f"[DEBUG] Repo: {repo_name}, PR number: {pr_number}") g = Github(token) repo = g.get_repo(repo_name) pr = repo.get_pull(pr_number) - issue_numbers = re.findall(r'#(\d+)', pr.body or '') + owner, repo_short = repo_name.split('/') + headers = {'Authorization': f'bearer {token}'} proceed = 'true' - if issue_numbers: - headers = {'Authorization': f'token {token}'} - owner, repo_short = repo_name.split('/') - for issue_number in issue_numbers: - url = f'https://api.github.com/repos/{owner}/{repo_short}/issues/{issue_number}/timeline' - r = requests.get(url, headers={**headers, 'Accept': 'application/vnd.github.mockingbird-preview+json'}) - events = r.json() - linked_prs = set() - for event in events: - if event.get('event') == 'connected' and event.get('source', {}).get('type') == 'pull_request': - pr_url = event['source']['issue']['pull_request']['url'] - pr_id = int(pr_url.split('/')[-1]) - linked_prs.add(pr_id) + + # GraphQL query to get issues officially linked to this PR + query = """ + query($owner: String!, $repo: String!, $pr: Int!) { + repository(owner: $owner, name: $repo) { + pullRequest(number: $pr) { + closingIssuesReferences(first: 10) { + nodes { + number + } + } + } + } + } + """ + variables = { + 'owner': owner, + 'repo': repo_short, + 'pr': pr_number + } + r = requests.post( + 'https://api.github.com/graphql', + json={'query': query, 'variables': variables}, + headers=headers + ) + data = r.json() + print(f"[DEBUG] GraphQL response for linked issues: {data}") + issue_nodes = data.get('data', {}).get('repository', {}).get('pullRequest', {}).get('closingIssuesReferences', {}).get('nodes', []) + linked_issues = [n['number'] for n in issue_nodes] + print(f"[DEBUG] Officially linked issues: {linked_issues}") + + if linked_issues: + for issue_number in linked_issues: + # For each linked issue, get all connected PRs and check if all are merged + issue_query = """ + query($owner: String!, $repo: String!, $issue: Int!) { + repository(owner: $owner, name: $repo) { + issue(number: $issue) { + timelineItems(last: 100, itemTypes: [CONNECTED_EVENT]) { + nodes { + ... on ConnectedEvent { + subject { + __typename + ... on PullRequest { + number + merged + } + } + } + } + } + } + } + } + """ + variables = { + 'owner': owner, + 'repo': repo_short, + 'issue': int(issue_number) + } + r2 = requests.post( + 'https://api.github.com/graphql', + json={'query': issue_query, 'variables': variables}, + headers=headers + ) + data2 = r2.json() + print(f"[DEBUG] GraphQL response for PRs linked to issue {issue_number}: {data2}") + nodes = data2.get('data', {}).get('repository', {}).get('issue', {}).get('timelineItems', {}).get('nodes', []) + linked_prs = [] + for node in nodes: + subject = node.get('subject', {}) + if subject.get('__typename') == 'PullRequest': + linked_prs.append({ + 'number': subject['number'], + 'merged': subject['merged'] + }) + print(f"[DEBUG] PRs linked to issue {issue_number}: {linked_prs}") if not linked_prs: - linked_prs = {pr_number} - for pr_num in linked_prs: - linked_pr = repo.get_pull(pr_num) - if not linked_pr.merged: - print(f'PR #{pr_num} is not merged. Skipping workflow.') + linked_prs = [{'number': pr_number, 'merged': pr.merged}] + for pr_info in linked_prs: + print(f"[DEBUG] Checking PR #{pr_info['number']} merged status: {pr_info['merged']}") + if not pr_info['merged']: + print(f"PR #{pr_info['number']} is not merged. Skipping workflow.") proceed = 'false' break if proceed == 'false': break + + print(f"[DEBUG] Final proceed value: {proceed}") with open(os.environ['GITHUB_OUTPUT'], 'a') as fh: fh.write(f'proceed={proceed}\n') EOF From 89dbd059c4e6b3976629b962a563c4015d8d82d7 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Wed, 16 Jul 2025 17:56:49 +0530 Subject: [PATCH 34/36] Update auto_pr_creation_target_repo_caller.yml --- .../auto_pr_creation_target_repo_caller.yml | 129 ++---------------- 1 file changed, 9 insertions(+), 120 deletions(-) diff --git a/.github/workflows/auto_pr_creation_target_repo_caller.yml b/.github/workflows/auto_pr_creation_target_repo_caller.yml index dcc49146..e39f13ad 100644 --- a/.github/workflows/auto_pr_creation_target_repo_caller.yml +++ b/.github/workflows/auto_pr_creation_target_repo_caller.yml @@ -7,129 +7,18 @@ on: - test_develop jobs: - check_linked_prs_merged: + debug_check: runs-on: ubuntu-latest - outputs: - proceed: ${{ steps.check.outputs.proceed }} steps: - - name: Check if all linked PRs are merged - id: check - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PR_NUMBER: ${{ github.event.pull_request.number }} - REPO: ${{ github.repository }} - run: | - pip install PyGithub - python <<'EOF' - import os, sys, requests - from github import Github - token = os.environ['GITHUB_TOKEN'] - repo_name = os.environ['REPO'] - pr_number = int(os.environ['PR_NUMBER']) - print(f"[DEBUG] Token: {'set' if token else 'not set'}") - print(f"[DEBUG] Repo: {repo_name}, PR number: {pr_number}") - g = Github(token) - repo = g.get_repo(repo_name) - pr = repo.get_pull(pr_number) - owner, repo_short = repo_name.split('/') - headers = {'Authorization': f'bearer {token}'} - proceed = 'true' - - # GraphQL query to get issues officially linked to this PR - query = """ - query($owner: String!, $repo: String!, $pr: Int!) { - repository(owner: $owner, name: $repo) { - pullRequest(number: $pr) { - closingIssuesReferences(first: 10) { - nodes { - number - } - } - } - } - } - """ - variables = { - 'owner': owner, - 'repo': repo_short, - 'pr': pr_number - } - r = requests.post( - 'https://api.github.com/graphql', - json={'query': query, 'variables': variables}, - headers=headers - ) - data = r.json() - print(f"[DEBUG] GraphQL response for linked issues: {data}") - issue_nodes = data.get('data', {}).get('repository', {}).get('pullRequest', {}).get('closingIssuesReferences', {}).get('nodes', []) - linked_issues = [n['number'] for n in issue_nodes] - print(f"[DEBUG] Officially linked issues: {linked_issues}") - - if linked_issues: - for issue_number in linked_issues: - # For each linked issue, get all connected PRs and check if all are merged - issue_query = """ - query($owner: String!, $repo: String!, $issue: Int!) { - repository(owner: $owner, name: $repo) { - issue(number: $issue) { - timelineItems(last: 100, itemTypes: [CONNECTED_EVENT]) { - nodes { - ... on ConnectedEvent { - subject { - __typename - ... on PullRequest { - number - merged - } - } - } - } - } - } - } - } - """ - variables = { - 'owner': owner, - 'repo': repo_short, - 'issue': int(issue_number) - } - r2 = requests.post( - 'https://api.github.com/graphql', - json={'query': issue_query, 'variables': variables}, - headers=headers - ) - data2 = r2.json() - print(f"[DEBUG] GraphQL response for PRs linked to issue {issue_number}: {data2}") - nodes = data2.get('data', {}).get('repository', {}).get('issue', {}).get('timelineItems', {}).get('nodes', []) - linked_prs = [] - for node in nodes: - subject = node.get('subject', {}) - if subject.get('__typename') == 'PullRequest': - linked_prs.append({ - 'number': subject['number'], - 'merged': subject['merged'] - }) - print(f"[DEBUG] PRs linked to issue {issue_number}: {linked_prs}") - if not linked_prs: - linked_prs = [{'number': pr_number, 'merged': pr.merged}] - for pr_info in linked_prs: - print(f"[DEBUG] Checking PR #{pr_info['number']} merged status: {pr_info['merged']}") - if not pr_info['merged']: - print(f"PR #{pr_info['number']} is not merged. Skipping workflow.") - proceed = 'false' - break - if proceed == 'false': - break - - print(f"[DEBUG] Final proceed value: {proceed}") - with open(os.environ['GITHUB_OUTPUT'], 'a') as fh: - fh.write(f'proceed={proceed}\n') - EOF - + - run: echo "Triggered" + call_auto_pr_workflow: - needs: check_linked_prs_merged - if: needs.check_linked_prs_merged.outputs.proceed == 'true' + #secrets: + #RDKCM_RDKE: ${{ secrets.RDKCM_RDKE }} uses: rdkcentral/build_tools_workflows/.github/workflows/auto_pr_creation_meta.yml@RDKEMW-4778 secrets: RDKCM_RDKE: ${{ secrets.RDKCM_RDKE }} + #runs-on: ubuntu-latest + #steps: + # - name: Print placeholder instead of actual logic + # run: echo "This is a placeholder for the actual logic." From 0191d2c40e2349968a9b66943f5c13d9fc1cc895 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Wed, 23 Jul 2025 12:04:16 +0530 Subject: [PATCH 35/36] Update IAmazonPrime.h --- apis/AmazonPrime/IAmazonPrime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/AmazonPrime/IAmazonPrime.h b/apis/AmazonPrime/IAmazonPrime.h index 61bdea0d..4e1f2708 100644 --- a/apis/AmazonPrime/IAmazonPrime.h +++ b/apis/AmazonPrime/IAmazonPrime.h @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - +//Test1 #ifndef __IAMAZON_PRIME_H #define __IAMAZON_PRIME_H From f6712dcef77a46828a5d01486e3036bb208dbba0 Mon Sep 17 00:00:00 2001 From: ssitar583 Date: Wed, 23 Jul 2025 12:16:47 +0530 Subject: [PATCH 36/36] Update IAmazonPrime.h --- apis/AmazonPrime/IAmazonPrime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/AmazonPrime/IAmazonPrime.h b/apis/AmazonPrime/IAmazonPrime.h index 4e1f2708..7155af9f 100644 --- a/apis/AmazonPrime/IAmazonPrime.h +++ b/apis/AmazonPrime/IAmazonPrime.h @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -//Test1 +//Test2 #ifndef __IAMAZON_PRIME_H #define __IAMAZON_PRIME_H