Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Proposal for OpenHarmony Adaptation of [ variant2 ]

Đang mở
#52 0 bình luận 2 reaction 0 người được giao Xem trên GitHub

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
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
cpp

Hướng nghiên cứu

Issue không nêu tên tệp hoặc điểm vào nào. Hãy bắt đầu bằng việc xem xét cấu trúc, việc đóng gói, các ví dụ mẫu và các trường hợp kiểm thử gốc của thư viện hiện có trong repository, sau đó đánh giá bản điều chỉnh OpenHarmony được đề xuất. Công việc được xem là hoàn tất khi thư viện build được cho OpenHarmony, bao gồm các sample được đề xuất và vượt qua các kiểm thử hiện có trong môi trường đó.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Background

OpenHarmony is an open-source operating system and community that is widely used in the field of intelligent terminals.

Variant2 library implements a type-safe discriminated/tagged union type. In order to enable variant2 to support the OpenHarmony system, we have modified some of the code of variant2. We plan to submit the modified code to the variant2 community. The purpose of creating this Issue is to initiate discussions with the community. We sincerely welcome you to put forward your valuable suggestions.

Adaptation Proposal

We have completed the adaptation of variant2 on OpenHarmony. The specific content is as follows:

  • The construction/packaging of variant2 was realized based on the OpenHarmony environment and development tools.
  • Provide sample examples of using variant2 in OpenHarmony application development.

We'll submit the adaptation code through a Pull Request (PR) promptly.

Testing Results

Based on the OpenHarmony system, we conducted unit tests on variant2 using the original library test cases and passed the tests in the following versions:

DevEco Studio 5.0.3 Release-5.0.9.221, SDK: API15(OpenHarmony 5.0.3.135)
DevEco Studio 5.0.4 Beta1-5.0.9.320, SDK: API16 (OpenHarmony 5.0.4.150)
DevEco Studio 5.0.3 Release-5.0.9.300, SDK: API15(OH_SDK 5.0.3.135(SP1))
DevEco Studio 5.0.4 Beta1 5.0.9.320, SDK: API16(OH SDK 5.0.4.150)

If necessary, we can provide detailed test reports at any time.

Labels

enhancement, compatibility, cross-platform

Ngôn ngữ chính
C++
Star
71
Fork
41
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của boostorg/variant2

Tất cả issue của boostorg/variant2

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.