Merge the standard packages into the core
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
- 25/100
Hướng nghiên cứu
Start by mapping the four package repositories and their build setups, then trace how package installation metadata records ownership, especially wcf1_package_installation_sql_log. Plan the migration to transfer registered resources into the core while retaining empty stub packages for existing dependencies. Done means the core owns the listed resources, existing installations upgrade without reinstalling them, and the proposal's optional feature behavior remains available.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The four "standard" packages are installed on almost every WoltLab Suite installation, but they still live in separate packages:
- com.woltlab.wcf.conversation (Conversations)
- com.woltlab.wcf.infraction (Infractions)
- com.woltlab.wcf.legalNotice (Legal Notice)
- com.woltlab.wcf.moderatedUserGroup (Moderated User Groups)
- com.woltlab.wcf.exporter
Every app ships conversations and infractions as required packages, and moderated user groups and the legal notice as optional packages. Infractions also depend on conversations. A setup without these packages exists in theory, but we hardly see it in practice, and the
split costs more than it gains:
- Four extra repositories, each with its own build setup (PHPStan, TypeScript, npm, Composer), version bumps and update instructions for every release.
- Every app has to bundle the archives in requirements/ and optionals/.
- The core cannot reference these features directly. It needs workarounds such as event listeners, template listeners or package lookups by identifier, and some core code already knows about them anyway (e.g. the GDPR export references wcf1_conversation_message).
- Third-party developers have to declare dependencies on the packages and cannot rely on them being present.
Proposal
Merge the four packages into com.woltlab.wcf. The features remain optional where it makes sense:
- Conversations: MODULE_CONVERSATION
- Infractions: MODULE_USER_INFRACTION
- Legal notice: the page and its menu item can be disabled
- Moderated user groups: only active for groups that are set up as moderated
Database tables, object type names, language item names, options and permissions keep their names. Only the owning package changes.
Migration
Existing installations have the packages installed, so the update must take over their data instead of reinstalling it:
- Transfer ownership of everything the old packages registered to the core: database tables/columns (wcf1_package_installation_sql_log), files, templates, ACP templates, language items, options, user group options, user options, pages, menu items, object
types/definitions, event/template listeners, cronjobs, clipboard actions, notification events, ACP menu items, user menu/profile menu items. - Keep the packages initially as a stub version, that contains nothing, so the upgrade don't break and third party dependencies still work.
- Ngôn ngữ chính
- PHP
- Star
- 248
- Fork
- 147
- Merge trung bình
- 17 phút
- Pull request đã merge (30 ngày)
- 21
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
- Đọ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 WoltLab/WCF
-
Problems with button inputSuffixĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Breadcrumb colors are confusingĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 58/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Replace `UserAction::getSearchResultList()` with an RPC endpoint and modernize the user search JSĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
bug: juros do parcelamento travados em 1x no gateway Rede Débito e Crédito 3DS (woo-rede 5.6.0)Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
LinkNacional/woo-rede#367 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Translation is missing for sw-app.component.sw-app-shop-id-change-modal.error.shop-id-change-failedĐang mởneeds-triage Platform(Default)
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Configuration consistency enhancement
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 72/100
novalo-dev/Prestashop-MCP-Server#405 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
OpenRouter errors returned in a 200 body are thrown as a plain AiExceptionCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
Maintainer thường phản hồi trong vòng 2 ngày