Port Data::Alias for CPAN compatibility
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Read the PerlOnJava parser and runtime entry points that implement Perl syntax and operations, then compare them with Data::Alias 1.30's Alias.xs and documented API. Start by reproducing the pop our @ISA failure and use system Perl as the behavior reference. Done means the documented alias, copy, and deref semantics pass the upstream Data::Alias and Data::Reuse 0.13 suites on supported backends, with unsupported cases and tested versions recorded.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Port Data::Alias so CPAN distributions that rely on its aliasing API can run on PerlOnJava. Data::Reuse is one confirmed consumer. Data::Alias 1.30 contains XS code (Alias.xs) and its Perl module bootstraps that extension; the current CPAN MakeMaker path installs only the .pm file and cannot compile the XS component.
Reproduction and evidence
- Distribution: Data-Alias 1.30, module
Data::Alias. - In CPAN run
20261104-151051-20617, the PerlOnJava test run fails to loadData::Aliasacross 31 of 33 test programs withType of arg 1 to pop must be array (not constant item)at thepop our @ISAstatement inData/Alias.pmline 18. This is the first observed blocker; the package also needs an implementation for its XS-provided aliasing behavior. - On system Perl 5.42.2 (macOS), the same distribution compiled its XS extension and passed all available tests: 637 tests across 33 files. Two optional test files were skipped because
Devel::CallParserandTest::Pod::Coveragewere unavailable. Data::Reuse0.13 requiresData::Alias1.16+. In CPAN run20261106-154847-45334, its four test files all fail during dependency loading at the samepop our @ISAdiagnostic. The system-Perl oracle builtData::Aliasand passed all 127Data::Reusetests.- Targeted MetaCPAN reverse-dependency lookup: 14 unique released distributions have a runtime dependency on
Data::Alias; 2 are recent. Examples:Data::Reuse,Alias-Any,PerlX-Window, andXML-Dataset.
Scope
Implement the Data::Alias surface needed by real consumers, including alias, copy, and deref, with Perl-compatible parsing and runtime semantics. The upstream distribution documents context-transparent operations and aliasing of variables, elements, arguments, and aggregates. Do not treat successful parsing alone as completion: exercise the upstream suite and Data::Reuse against the implementation.
Acceptance criteria
use Data::Aliasloads without native XS and provides the supported API through PerlOnJava implementation code.- Focused tests cover
pop our @ISAparsing and the documented API semantics, validated against system Perl. - Relevant upstream
Data::Aliastests and theData::Reuse0.13 suite pass on PerlOnJava; test on both JVM and interpreter backends where supported. - Document any unsupported API cases and keep the tested distribution versions and results in the compatibility evidence.
Evidence references
- Data::Alias source
- Data::Reuse 0.13
- CPAN run IDs:
20261104-151051-20617(Data::Alias) and20261106-154847-45334(Data::Reuse).
- Ngôn ngữ chính
- Perl
- Star
- 65
- Fork
- 8
- Merge trung bình
- 5 giờ 57 phút
- Pull request đã merge (30 ngày)
- 177
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của fglock/PerlOnJava
-
area:runtime documentation enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
fglock/PerlOnJava#1579 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Honor scalar context for sort returned from a subroutineCó thể đã có người làm @fglock đã nhận hôm nay. Đang mởarea:runtime bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
fglock/PerlOnJava#1991 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:parser area:unicode bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
fglock/PerlOnJava#1989 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:backend bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
fglock/PerlOnJava#1981 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:runtime bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 57/100
fglock/PerlOnJava#1980 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của fglock/PerlOnJava
Issue tương tự
-
check_keywords.pl dies before reporting an unknown keyword categoryCó thể đã có người làm @zhaohai666 đã nhận 1 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 87/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
libwww-perl/HTTP-Message#236 ·
-
1.severity: security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
wave-followup
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100