feat(libSceIcu): implement uprv_stableBinarySearch #19972

Open
MarcZX10 wants to merge 12 commits from upstream-pr/19972 into main
MarcZX10 commented 2026-11-14 09:56:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-14T09:56:23Z.


What

uprv_stableBinarySearch is still a stub in libSceIcu, throwing NotImplemented_nid_no_patch. It is ICU's stable binary search from common/uarrsort.cpp, which the sort helpers use for insertion sort.

This PR implements it in a new file, core/libs/prx/libSceIcu/ArraySearch.cpp, following ICU 68.2's uarrsort.cpp:
github.com/unicode-org/icu@84e1f26ea7/icu4c/source/common/uarrsort.cpp

It keeps ICU's behaviour: a linear scan below nine elements, a binary search above that, the last occurrence of equal items, and the complement of the insertion point for absent items. The comparator is called directly, the same way libc's qsort calls its comparator.

History: the implementation commit (stub removed, declaration given the real signature, CMake source added), then one test commit per behaviour, then the documentation commit. The first test commit also registers guest_icu_array_search in CMakeLists.txt.

Licence (please confirm)

The adapted code comes from ICU, distributed under the Unicode licence (icu4c/LICENSE, linked from the file header). This repository is GPL-2.0. The author of this PR believes the Unicode licence is compatible; maintainers should check before merging.

Tested

  • Environment: Linux x86-64 (Debian 12, GCC 12.2), throwaway archive build of the branch head 4728c6bbe7.
  • ctest -R '^guest_icu': 44 of 44 tests pass, including the new guest_icu_array_search.
  • The test uses its own comparator on int32_t arrays and pins: a unique value's index; the complement of the insertion point for an absent value; the last occurrence among duplicates (index 13 in a 20-element array with a run of 5s); the linear path for a three-element array; an empty array; and keys below and above both a nine-element and a twelve-element array.
  • Negative control: not run. On the base the function is a stub that throws, so the new test is expected to abort on base; that expectation has not been checked.
  • tools/check_conventions.py --base upstream/main: passed. git diff --check: empty.
  • tools/pr_precheck.py (no-build): see the comment on this PR.

Not run: the console, Windows, macOS, and any caller of the sort helpers. Nothing is measured on the console; the debt doc says so.

Overlap

  • No open PR names this function in its title, body or diff.
  • tools/pr_overlap.py --branch is expected to fail closed on the shared CMakeLists.txt, LegacyExports.cpp, include/LegacyExports.hpp and docs/dev/debt/libSceIcu.md, as it does for the other libSceIcu PRs.
  • This branch is independent of #19951 (ASCII helpers) and #19955 (comparators). All three touch the same shared files, so whichever merges second may need a rebase.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5309951425 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19972). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-14T09:56:23Z. --- ### What `uprv_stableBinarySearch` is still a stub in libSceIcu, throwing `NotImplemented_nid_no_patch`. It is ICU's stable binary search from `common/uarrsort.cpp`, which the sort helpers use for insertion sort. This PR implements it in a new file, `core/libs/prx/libSceIcu/ArraySearch.cpp`, following ICU 68.2's `uarrsort.cpp`: https://github.com/unicode-org/icu/blob/84e1f26ea77152936e70d53178a816dbfbf69989/icu4c/source/common/uarrsort.cpp It keeps ICU's behaviour: a linear scan below nine elements, a binary search above that, the last occurrence of equal items, and the complement of the insertion point for absent items. The comparator is called directly, the same way libc's `qsort` calls its comparator. History: the implementation commit (stub removed, declaration given the real signature, CMake source added), then one test commit per behaviour, then the documentation commit. The first test commit also registers `guest_icu_array_search` in `CMakeLists.txt`. ### Licence (please confirm) The adapted code comes from ICU, distributed under the Unicode licence (`icu4c/LICENSE`, linked from the file header). This repository is GPL-2.0. The author of this PR believes the Unicode licence is compatible; maintainers should check before merging. ### Tested - Environment: Linux x86-64 (Debian 12, GCC 12.2), throwaway archive build of the branch head `4728c6bbe7`. - `ctest -R '^guest_icu'`: 44 of 44 tests pass, including the new `guest_icu_array_search`. - The test uses its own comparator on `int32_t` arrays and pins: a unique value's index; the complement of the insertion point for an absent value; the last occurrence among duplicates (index 13 in a 20-element array with a run of 5s); the linear path for a three-element array; an empty array; and keys below and above both a nine-element and a twelve-element array. - Negative control: not run. On the base the function is a stub that throws, so the new test is expected to abort on base; that expectation has not been checked. - `tools/check_conventions.py --base upstream/main`: passed. `git diff --check`: empty. - `tools/pr_precheck.py` (no-build): see the comment on this PR. Not run: the console, Windows, macOS, and any caller of the sort helpers. Nothing is measured on the console; the debt doc says so. ### Overlap - No open PR names this function in its title, body or diff. - `tools/pr_overlap.py --branch` is expected to fail closed on the shared `CMakeLists.txt`, `LegacyExports.cpp`, `include/LegacyExports.hpp` and `docs/dev/debt/libSceIcu.md`, as it does for the other libSceIcu PRs. - This branch is independent of #19951 (ASCII helpers) and #19955 (comparators). All three touch the same shared files, so whichever merges second may need a rebase. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
PrivacyOnion commented 2026-11-14 10:08:24 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-14T10:08:24Z.

Review: CHANGES_REQUESTED


Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against 4728c6bbe7:

  • Conventions: tools/check_conventions.py passed; git diff --check clean.
  • Build: guest_icu_array_search_tests built cleanly.
  • CTest (guest_icu_array_search):
    1/1 Test #3420: guest_icu_array_search ...........   Passed    0.01 sec
    100% tests passed, 0 tests failed out of 1
    
  • Negative control: with core/libs/prx/libSceIcu/LegacyExports.cpp, core/libs/prx/libSceIcu/include/LegacyExports.hpp reverted to main, the new tests do not build/link without the change; restoring it makes them build and pass.
  • Code reading:
    • Verified core/libs/prx/libSceIcu/ArraySearch.cpp uprv_stableBinarySearch_nid_postfix correctly implements the binary search algorithm with threshold MinQsort = 9, ensuring proper reduction of (limit - start) without integer overflow or infinite loops.
    • Verified duplicate element handling in uprv_stableBinarySearch_nid_postfix correctly yields the last occurrence index (start - 1) when diff == 0, preserving stable sort insertion order as tested in core/libs/tests/GuestIcuArraySearch.cpp.
    • Verified absent element handling and edge cases (empty array limit <= 0, single element, keys out of bounds below/above array) return the exact bitwise complement (~insertion_point) without out-of-bounds pointer dereferences.
    • Verified function signature and calling convention consistency between core/libs/prx/libSceIcu/include/LegacyExports.hpp and core/libs/prx/libSceIcu/ArraySearch.cpp, including APS5_VABI on the cmp comparator function pointer.
    • Verified CMake configuration in core/libs/prx/libSceIcu/CMakeLists.txt properly registers ArraySearch.cpp under libSceIcu and defines guest_icu_array_search with Windows unwind and environment path settings.
    • Verified AGENTS.md compliance regarding code comments across all modified files, identifying prohibited comment blocks and inline comments in core/libs/prx/libSceIcu/ArraySearch.cpp.
  • Concerns:
    • core/libs/prx/libSceIcu/ArraySearch.cpp:1-10: Violation of AGENTS.md rule ('No comments in code, except #endif and namespace ends'). Lines 1-10 contain a 10-line file header comment block with adaptation notes, URLs, copyright notices, and comparator notes; repository rules require zero comments in code, and licensing/debt notes must be recorded in docs/dev/debt/libSceIcu.md and the pull request description instead.
    • core/libs/prx/libSceIcu/ArraySearch.cpp:16: Violation of AGENTS.md rule ('No comments in code, except #endif and namespace ends'). Line 16 contains an inline explanatory comment ('// ICU's MIN_QSORT: below this many elements the search is linear.').
  • Note: the AI-assisted checkbox can stay.

Requesting changes for the points above.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5903656194 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19972#pullrequestreview-5903656194). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-14T10:08:24Z. **Review:** CHANGES_REQUESTED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `4728c6bbe7`: - **Conventions**: `tools/check_conventions.py` passed; `git diff --check` clean. - **Build**: `guest_icu_array_search_tests` built cleanly. - **CTest** (`guest_icu_array_search`): ``` 1/1 Test #3420: guest_icu_array_search ........... Passed 0.01 sec 100% tests passed, 0 tests failed out of 1 ``` - **Negative control**: with `core/libs/prx/libSceIcu/LegacyExports.cpp`, `core/libs/prx/libSceIcu/include/LegacyExports.hpp` reverted to `main`, the new tests do not build/link without the change; restoring it makes them build and pass. - **Code reading**: - Verified core/libs/prx/libSceIcu/ArraySearch.cpp uprv_stableBinarySearch_nid_postfix correctly implements the binary search algorithm with threshold MinQsort = 9, ensuring proper reduction of (limit - start) without integer overflow or infinite loops. - Verified duplicate element handling in uprv_stableBinarySearch_nid_postfix correctly yields the last occurrence index (start - 1) when diff == 0, preserving stable sort insertion order as tested in core/libs/tests/GuestIcuArraySearch.cpp. - Verified absent element handling and edge cases (empty array limit <= 0, single element, keys out of bounds below/above array) return the exact bitwise complement (~insertion_point) without out-of-bounds pointer dereferences. - Verified function signature and calling convention consistency between core/libs/prx/libSceIcu/include/LegacyExports.hpp and core/libs/prx/libSceIcu/ArraySearch.cpp, including APS5_VABI on the cmp comparator function pointer. - Verified CMake configuration in core/libs/prx/libSceIcu/CMakeLists.txt properly registers ArraySearch.cpp under libSceIcu and defines guest_icu_array_search with Windows unwind and environment path settings. - Verified AGENTS.md compliance regarding code comments across all modified files, identifying prohibited comment blocks and inline comments in core/libs/prx/libSceIcu/ArraySearch.cpp. - **Concerns**: - core/libs/prx/libSceIcu/ArraySearch.cpp:1-10: Violation of AGENTS.md rule ('No comments in code, except #endif and namespace ends'). Lines 1-10 contain a 10-line file header comment block with adaptation notes, URLs, copyright notices, and comparator notes; repository rules require zero comments in code, and licensing/debt notes must be recorded in docs/dev/debt/libSceIcu.md and the pull request description instead. - core/libs/prx/libSceIcu/ArraySearch.cpp:16: Violation of AGENTS.md rule ('No comments in code, except #endif and namespace ends'). Line 16 contains an inline explanatory comment ('// ICU's MIN_QSORT: below this many elements the search is linear.'). - Note: the AI-assisted checkbox can stay. Requesting changes for the points above.
PrivacyOnion commented 2026-11-14 10:29:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-14T10:29:39Z.

Review: CHANGES_REQUESTED


Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against bc2723f31f:

  • Conventions: tools/check_conventions.py passed; git diff --check clean.
  • Build: guest_icu_array_search_tests built cleanly.
  • CTest (guest_icu_array_search):
    1/1 Test #3420: guest_icu_array_search ...........   Passed    0.01 sec
    100% tests passed, 0 tests failed out of 1
    
  • Negative control: with core/libs/prx/libSceIcu/LegacyExports.cpp, core/libs/prx/libSceIcu/include/LegacyExports.hpp reverted to main, the new tests do not build/link without the change; restoring it makes them build and pass.
  • Code reading:
    • Verified binary search and linear scan logic in core/libs/prx/libSceIcu/ArraySearch.cpp for single, duplicate, out-of-range, and empty array inputs
    • Verified bitwise complement calculation for absent element insertion points against ICU contract (~start)
    • Verified APS5_VABI calling convention propagation on uprv_stableBinarySearch_nid_postfix and the guest comparator callback cmp
    • Verified LegacyExports.hpp declaration and removal of the NotImplemented stub in LegacyExports.cpp
    • Verified CMake target integration and test registration in core/libs/prx/libSceIcu/CMakeLists.txt and tests/GuestIcuArraySearch.cpp
    • Verified documentation updates in docs/dev/debt/libSceIcu.md
  • Concerns:
    • core/libs/prx/libSceIcu/ArraySearch.cpp:1-10: File contains header comments and inline explanations ('The guest comparator is called directly...'), violating the strict AGENTS.md rule: 'No comments in code, except #endif and namespace ends.' As noted in the PR discussion, no maintainer decision has approved retaining these comments.
    • core/libs/prx/libSceIcu/ArraySearch.cpp:16: Contains inline explanatory code comment ('// ICU's MIN_QSORT: below this many elements the search is linear.'), which is not a license notice and directly violates the AGENTS.md rule: 'No comments in code, except #endif and namespace ends.'
  • Note: the AI-assisted checkbox can stay.

Requesting changes for the points above.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5903804388 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19972#pullrequestreview-5903804388). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-14T10:29:39Z. **Review:** CHANGES_REQUESTED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `bc2723f31f`: - **Conventions**: `tools/check_conventions.py` passed; `git diff --check` clean. - **Build**: `guest_icu_array_search_tests` built cleanly. - **CTest** (`guest_icu_array_search`): ``` 1/1 Test #3420: guest_icu_array_search ........... Passed 0.01 sec 100% tests passed, 0 tests failed out of 1 ``` - **Negative control**: with `core/libs/prx/libSceIcu/LegacyExports.cpp`, `core/libs/prx/libSceIcu/include/LegacyExports.hpp` reverted to `main`, the new tests do not build/link without the change; restoring it makes them build and pass. - **Code reading**: - Verified binary search and linear scan logic in core/libs/prx/libSceIcu/ArraySearch.cpp for single, duplicate, out-of-range, and empty array inputs - Verified bitwise complement calculation for absent element insertion points against ICU contract (~start) - Verified APS5_VABI calling convention propagation on uprv_stableBinarySearch_nid_postfix and the guest comparator callback cmp - Verified LegacyExports.hpp declaration and removal of the NotImplemented stub in LegacyExports.cpp - Verified CMake target integration and test registration in core/libs/prx/libSceIcu/CMakeLists.txt and tests/GuestIcuArraySearch.cpp - Verified documentation updates in docs/dev/debt/libSceIcu.md - **Concerns**: - core/libs/prx/libSceIcu/ArraySearch.cpp:1-10: File contains header comments and inline explanations ('The guest comparator is called directly...'), violating the strict AGENTS.md rule: 'No comments in code, except #endif and namespace ends.' As noted in the PR discussion, no maintainer decision has approved retaining these comments. - core/libs/prx/libSceIcu/ArraySearch.cpp:16: Contains inline explanatory code comment ('// ICU\'s MIN_QSORT: below this many elements the search is linear.'), which is not a license notice and directly violates the AGENTS.md rule: 'No comments in code, except #endif and namespace ends.' - Note: the AI-assisted checkbox can stay. Requesting changes for the points above.
PrivacyOnion commented 2026-11-14 11:00:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-14T11:00:54Z.

Review: APPROVED


Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against 5b6652ad46:

  • Conventions: tools/check_conventions.py passed; git diff --check clean.
  • Build: guest_icu_array_search_tests built cleanly.
  • CTest (guest_icu_array_search):
    1/1 Test #3420: guest_icu_array_search ...........   Passed    0.02 sec
    100% tests passed, 0 tests failed out of 1
    
  • Negative control: with core/libs/prx/libSceIcu/LegacyExports.cpp, core/libs/prx/libSceIcu/include/LegacyExports.hpp reverted to main, the new tests do not build/link without the change; restoring it makes them build and pass.
  • Code reading:
    • core/libs/prx/libSceIcu/ArraySearch.cpp: Verified uprv_stableBinarySearch_nid_postfix binary search threshold logic ((limit - start) >= MinQsort, MinQsort = 9), ensuring loop termination and correct convergence without off-by-one errors for arrays larger than, equal to, and smaller than 9 elements.
    • core/libs/prx/libSceIcu/ArraySearch.cpp: Verified duplicate handling and stable search semantics where diff == 0 advances start = i + 1 in the binary search loop and linear scan, guaranteeing the function returns the last occurrence index (start - 1) for duplicate elements.
    • core/libs/prx/libSceIcu/ArraySearch.cpp: Verified absent-key insertion point logic, ensuring absent keys return ~start (bitwise complement of the insertion index), including boundary conditions where keys are smaller than all elements (~0 = -1), greater than all elements (~limit), or when searching an empty array (limit <= 0 returning -1).
    • core/libs/prx/libSceIcu/include/LegacyExports.hpp & ArraySearch.cpp: Verified calling convention and signature consistency, ensuring APS5_VABI is properly declared on uprv_stableBinarySearch_nid_postfix and on the callback function pointer cmp(const void*, const void*, const void*) across LP64 (Linux) and LLP64 (Windows) ABIs.
    • core/libs/prx/libSceIcu/LegacyExports.cpp: Verified that the former throwing stub uprv_stableBinarySearch_nid_postfix calling NotImplemented_nid_no_patch(func) was cleanly removed to prevent duplicate symbol collisions with ArraySearch.cpp.
    • core/libs/tests/GuestIcuArraySearch.cpp: Verified comprehensive test coverage across TestFoundAndInsertionPoints, TestLastOccurrenceAmongDuplicates, TestLinearPathAndEmptyArrays, and TestOutOfRangeKeysOnBothSidesOfTheThreshold, confirming rigorous verification of present/absent keys, empty arrays, duplicate runs, and threshold boundaries.
    • docs/dev/debt/libSceIcu.md: Verified documentation of technical debt under the functional exports section, appropriately recording adherence to ICU 68.2 uarrsort.cpp and specifying closure criteria upon console comparison.
  • Note: the AI-assisted checkbox can stay.

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5903970601 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19972#pullrequestreview-5903970601). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-14T11:00:54Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `5b6652ad46`: - **Conventions**: `tools/check_conventions.py` passed; `git diff --check` clean. - **Build**: `guest_icu_array_search_tests` built cleanly. - **CTest** (`guest_icu_array_search`): ``` 1/1 Test #3420: guest_icu_array_search ........... Passed 0.02 sec 100% tests passed, 0 tests failed out of 1 ``` - **Negative control**: with `core/libs/prx/libSceIcu/LegacyExports.cpp`, `core/libs/prx/libSceIcu/include/LegacyExports.hpp` reverted to `main`, the new tests do not build/link without the change; restoring it makes them build and pass. - **Code reading**: - core/libs/prx/libSceIcu/ArraySearch.cpp: Verified uprv_stableBinarySearch_nid_postfix binary search threshold logic ((limit - start) >= MinQsort, MinQsort = 9), ensuring loop termination and correct convergence without off-by-one errors for arrays larger than, equal to, and smaller than 9 elements. - core/libs/prx/libSceIcu/ArraySearch.cpp: Verified duplicate handling and stable search semantics where diff == 0 advances start = i + 1 in the binary search loop and linear scan, guaranteeing the function returns the last occurrence index (start - 1) for duplicate elements. - core/libs/prx/libSceIcu/ArraySearch.cpp: Verified absent-key insertion point logic, ensuring absent keys return ~start (bitwise complement of the insertion index), including boundary conditions where keys are smaller than all elements (~0 = -1), greater than all elements (~limit), or when searching an empty array (limit <= 0 returning -1). - core/libs/prx/libSceIcu/include/LegacyExports.hpp & ArraySearch.cpp: Verified calling convention and signature consistency, ensuring APS5_VABI is properly declared on uprv_stableBinarySearch_nid_postfix and on the callback function pointer cmp(const void*, const void*, const void*) across LP64 (Linux) and LLP64 (Windows) ABIs. - core/libs/prx/libSceIcu/LegacyExports.cpp: Verified that the former throwing stub uprv_stableBinarySearch_nid_postfix calling NotImplemented_nid_no_patch(__func__) was cleanly removed to prevent duplicate symbol collisions with ArraySearch.cpp. - core/libs/tests/GuestIcuArraySearch.cpp: Verified comprehensive test coverage across TestFoundAndInsertionPoints, TestLastOccurrenceAmongDuplicates, TestLinearPathAndEmptyArrays, and TestOutOfRangeKeysOnBothSidesOfTheThreshold, confirming rigorous verification of present/absent keys, empty arrays, duplicate runs, and threshold boundaries. - docs/dev/debt/libSceIcu.md: Verified documentation of technical debt under the functional exports section, appropriately recording adherence to ICU 68.2 uarrsort.cpp and specifying closure criteria upon console comparison. - Note: the AI-assisted checkbox can stay. Looks Good To Me
ligmaSec commented 2026-12-03 11:54:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T11:54:14Z.

Review: COMMENTED


Compiled the changed ICU array code with GuestIcuArraySearch against the existing Linux PRXs. It passed the last-duplicate, insertion-point, empty-array, and threshold cases.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6169233590 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19972#pullrequestreview-6169233590). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T11:54:14Z. **Review:** COMMENTED --- Compiled the changed ICU array code with `GuestIcuArraySearch` against the existing Linux PRXs. It passed the last-duplicate, insertion-point, empty-array, and threshold cases. AI-assisted: yes.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/19972:upstream-pr/19972'
git switch 'upstream-pr/19972'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/19972'
git switch 'upstream-pr/19972'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/19972'
git switch 'upstream-pr/19972'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/19972'
git switch 'main'
git merge --squash 'upstream-pr/19972'
git switch 'main'
git merge --ff-only 'upstream-pr/19972'
git switch 'main'
git merge 'upstream-pr/19972'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!19972
No description provided.