Call for contributions: network and online libraries (Net, NetCtl, HTTP, SSL, Np)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 領域
- backend, networking, testing
調査の方向性
Choose one library or API slice; the issue identifies entry points under core/libs/prx/libSceNet/, libSceNetCtl/, libSceHttp/ and libSceHttp2/, and names the 12 inert libSceNetCtl functions as a good first issue. Read docs/dev/START_HERE.md and docs/dev/BUILD.md, then follow core/libs/prx/libSceNet/tests/Ipv6Only.cpp for loopback testing. Done means the selected exports behave correctly offline without crashes or hangs, with tests passing via ctest --test-dir build -R <name> --output-on-failure.
索引モデルが issue の本文から書いたものです。
説明
Call for contributions: network and online libraries
Why
Most titles probe the network at start-up, offline or not. The right behaviour offline is a precise set of error codes, not a crash, and that can be written and tested without any account or server. Counted from the code: libSceNet has 127 unimplemented exports and 12 that return success without effect (sceNetDhcpGetInfo, sceNetShowRoute, ...); libSceNetCtl 63 and 12; libSceHttp2 46 unimplemented (the whole request API: sceHttp2Init, sceHttp2CreateTemplate, sceHttp2SendRequest, ...); libSceSsl 17; libSceNpTrophy 87 and libSceNpTrophy2 43.
What to pick
- Net and NetCtl: the socket calls that still stub (
sceNetAccept,sceNetBind_nid_postfix), the 12 inert info functions, and the connection-state and event API oflibSceNetCtl(core/libs/prx/libSceNet/,libSceNetCtl/). - HTTP:
libSceHttp2on top of the host's HTTP stack, starting withInit, templates, requests, headers and status; the 32 inert functions inlibSceHttp(core/libs/prx/libSceHttp/,libSceHttp2/). - SSL: connection setup and certificate loading in
libSceSslon the existing TLS build. - Trophies:
libSceNpTrophyandlibSceNpTrophy2, stored locally and shown as a host notification; this is the biggest visible feature in the group. - Np offline behaviour:
libSceNpManager,libSceNpMatching2andlibSceNpWebApi: the error codes a title gets with no signed-in account.
Expected result
Offline-correct behaviour first (clean error codes, no crash, no hang), then local features that do not need a server (trophies), then real network traffic where the console would use the internet.
How to test without our games
Loopback tests: core/libs/prx/libSceNet/tests/ (Ipv6Only.cpp) shows the pattern, and core/libs/tests/AvPlayerHttpServer.py with AvPlayerHttpTransport.cpp shows a local HTTP server driving a guest test. Use 127.0.0.1 and a local server; never real credentials or accounts. Run ctest --test-dir build -R <name> --output-on-failure.
Difficulty
Medium; hard for HTTP/2 and SSL; good first issue for the 12 inert libSceNetCtl functions.
Who to ask
Ask in this issue; the maintainers read every comment.
Rules that apply to every call
- Comment on the issue before you start, so two people do not do the same work. One topic per pull request, against
AnyKyty. - Conventional Commits (
fix(libkernel): ...,feat(libScePad): ...,test(...),docs: ...). No comments in code. Nothing specific to one title: no title IDs, no data taken from a game, no per-title branches. - Every export either does exactly what it should or throws: an unimplemented export calls
NotImplemented_nid_no_patch(__func__). A silent stub is allowed only when it unblocks a title and only affects the UI; list it under "Silent stubs" in the library's file indocs/dev/debt/through a fragment (docs/dev/debt/changes/<branch>.md, seedocs/dev/TechnicalDebt.md). - Say where a behaviour comes from: public SDK headers and documentation, a published reverse-engineering write-up, or your own analysis of your own console's system modules. Do not post or attach firmware files, system modules or game files.
- Each test finishes in 30 s on the CI runners.
python3 tools/check_conventions.py --base origin/AnyKytymust pass before you push. - Build and test:
docs/dev/START_HERE.mdanddocs/dev/BUILD.md. CI runs the library tests on GitHub's runners (no GPU, no game) on Linux and Windows.
- 主要言語
- C++
- スター
- 214
- フォーク
- 7
- 平均マージ
- 7時間 53分
- マージ済み PR(30日)
- 280
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
simnJS/AnyPS5 のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
simnJS/AnyPS5#735 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
simnJS/AnyPS5#721 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
simnJS/AnyPS5#716 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Call for contributions: Windows, AMD and Intel validation (run the tests on your hardware)対応中かも @adam25136 が今日担当しました。 オープンarea: tools-ci area: windows good first issue help wanted needs: AMD needs: Windows
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
simnJS/AnyPS5#705 · コメント 8 件 ·
メンテナーはふだん 1 日以内に返信
-
kyty: kyty_shim_rt_context_pick fails pipeline creation with ErrorUnknown on AMD Windows (RX 6800)オープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
simnJS/AnyPS5#741 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
area:tests kind:test
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
? - Needs Triage bot_watch bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NVIDIA/cudf-spark-jni#5594 ·
メンテナーはふだん 1 日以内に返信
-
Branch-master
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
TrinityCore/TrinityCore#32177 ·
メンテナーはふだん 10 日以内に返信
-
area:manager enhancement kind:ux P3 platform:windows
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信