Symlinks don't install correctly when Composer falls back on the PHP zip library
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- php
- Lĩnh vực
- build-system
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện quá trình cài đặt Composer trong thiết lập Docker được mô tả, đồng thời so sánh thư viện zip của PHP với unzip hoặc 7z. Kiểm tra modules/discopower/public/assets/components và mã disco.twig tải các asset này. Công việc được xem là hoàn tất khi hành vi cài đặt hoặc yêu cầu hệ thống được ghi trong tài liệu xử lý rõ ràng các symlinks.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I couldn't figure out why the Discopower module wasn't installing correctly inside my Docker image of SSP. The symlinks under modules/discopower/public/assets/components were being installed as text files containing the path where they would have pointed had they been symlinks. This obviously didn't work so great when my browser tried to load the Jquery Javascript for Discopower.
After further investigation, I tried installing unzip into my Docker image before running composer, and that fixed it. I now have symlinks instead of text files. Clearly, the PHP zip library doesn't understand symlinks.
If possible, installation of this module should require that the unzip or 7z binary be installed on the system and not just the PHP zip library.
If that's not possible, the documentation should at least include this requirement for proper installation.
Ideally, these symlinks wouldn't be necessary, and the disco.twig code that loads these components would point to the files directly instead of the symlinks inside of the module.
- Ngôn ngữ chính
- PHP
- Star
- 5
- Fork
- 11
- 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
- Đọ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 simplesamlphp/simplesamlphp-module-discopower
-
Filter entities globally?Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
simplesamlphp/simplesamlphp-module-discopower#29 · 2 bình luận ·
-
Upstream sent duplicate header lineCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
simplesamlphp/simplesamlphp-module-discopower#24 · 6 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
simplesamlphp/simplesamlphp-module-discopower#14 · 7 bình luận ·
Tất cả issue của simplesamlphp/simplesamlphp-module-discopower
Issue tương tự
-
Talk Review
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
socallinuxexpo/scale-drupal#351 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
code4romania/cpc#47 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
mautic/api-library#351 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
nunomaduro/collision#371 ·
-
Lead create/update: a product row without a "product_id" key passes LeadForm validation and fails in the database (500)Có thể đã có người làm @Arslan-TR đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
krayin/laravel-crm#2681 ·
Maintainer thường phản hồi trong vòng 2 ngày