Port UUID with Java UUID libraries
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 38/100
調査の方向性
Read src/main/java/org/perlonjava/runtime/perlmodule/DataUUID.java as the local reference, then compare the UUID 0.39 API and upstream contract described in the issue. Implement the Java-backed API and add project-owned tests for generation, conversions, queries, imports, and stateful options. Done means the upstream suite and UUID-dependent IPC-Manager cases pass on both JVM and interpreter backends without native compilation.
索引モデルが issue の本文から書いたものです。
説明
Goal
Port CPAN UUID to PerlOnJava using Java UUID APIs and Java-side support code, so distributions that depend on UUID do not require the native XS implementation. Avoid requiring native code or an external process.
The project already targets Java 24 and has a Java-backed Data::UUID implementation at src/main/java/org/perlonjava/runtime/perlmodule/DataUUID.java that uses java.util.UUID; use it as a local implementation reference where the semantics overlap.
Compatibility scope
Implement the Perl-visible API from UUID 0.39, including the exported functions and import options documented upstream. This includes binary and textual conversion, parsing, formatting, comparison, null/type/version/variant/time queries, and UUID generation (versions 1, 3, 4, 5, 6, and 7, plus the documented aliases). Preserve Perl's 16-byte UUID representation and upstream behavior for namespace names, invalid inputs, and byte ordering. Handle the stateful :mac, :persist, and :defer options according to the upstream contract, or document any intentional compatibility limit with evidence.
Use java.util.UUID and standard Java time, digest, and randomness APIs where they match the required behavior; implement remaining UUID layouts and state in Java. Java's built-in UUID directly covers common parsing/string conversion, v3 name-based generation, v4 random generation, and UUID field access, but the port must also cover the additional upstream versions and stateful behavior.
Evidence
- CPAN distribution:
UUID0.39; discovered as a prerequisite ofIPC-Manager0.000037 in PerlOnJava CPAN tester run20261006-085241-91243. - System Perl 5.42.2: upstream suite passed, 174 files and 1,649 tests.
- PerlOnJava: the tester could not compile UUID's XS/C sources;
makefailed while generating a native header. This prevented the dependency from being installed, and the downstream IPC-Manager run later timed out with UUID load failures. The timeout is not evidence of a separate PerlOnJava hang. - The default
jperlpath was exercised by the tester; interpreter behavior was not independently verified. - Reverse dependency evidence: 14 unique runtime dependants, 8 recent. Examples include
IPC-Manager,DBIx-QuickORM,Net-NATS-Streaming-Client, andTravel-Status-DE-DBRIS.
Acceptance criteria
- Provide a PerlOnJava implementation of the supported UUID 0.39 API without XS/native compilation.
- Add project-owned tests for generation versions, deterministic namespace UUIDs, parse/unparse and binary round trips, comparison and field queries, imports/aliases, and relevant stateful options.
- Validate new tests with system Perl, then pass them on both the JVM and interpreter backends.
- Run the UUID 0.39 upstream test suite through PerlOnJava with the expected native-free implementation selected.
- Run the dependent IPC-Manager tests far enough to confirm UUID loads and its UUID-dependent cases pass; report any unrelated environmental skips separately.
- 主要言語
- Perl
- スター
- 64
- フォーク
- 7
- 平均マージ
- 4時間 56分
- マージ済み PR(30日)
- 181
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fglock/PerlOnJava のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
fglock/PerlOnJava#1651 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
fglock/PerlOnJava#1579 ·
メンテナーはふだん 1 日以内に返信
-
area:cpan-port area:unicode bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
fglock/PerlOnJava#1341 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 1〜2日 初心者へのやさしさ 54/100
fglock/PerlOnJava#1671 ·
メンテナーはふだん 1 日以内に返信
-
area:backend bug
難易度 4/5 3〜5日 初心者へのやさしさ 57/100
fglock/PerlOnJava#1669 ·
メンテナーはふだん 1 日以内に返信
fglock/PerlOnJava の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
gugod/App-perlbrew#879 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
RotherOSS/otobo#6205 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Add IO::Pipe classオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
yuki-kimoto/SPVM-IO#30 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
RotherOSS/servicecatalog#28 ·