Flatpak: justify or narrow --filesystem=home (Flathub exception)

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

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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
desktop, devops

Hướng nghiên cứu

Start with the linux-flatpak.yml workflow and its flatpak-builder-lint output, then read the linked data directory issue and follow-up #245 for context. The app needs access to arbitrary benchmark paths and currently stores settings in ~/.jdm; determine whether a justified Flathub exception or narrower permissions after the XDG move or file chooser portal meet those needs. Done means the chosen permission scope is justified and the Flatpak lint workflow passes.

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

Mô tả

enhancement linux

Follow-up from #245.

flatpak-builder-lint reports finish-args-home-filesystem-access for --filesystem=home. The Swing file chooser can select any benchmark location and the app also stores settings in ~/.jdm, so removing it would break the app today.

  • Request a Flathub exception with a justification (benchmark target can be any path; --device=all and /media, /run/media are already granted).
  • Evaluate narrowing it once data directories move to XDG dirs (see the data directory issue) and/or using the file chooser portal.

Lint output: https://github.com/JDiskMark/jdm-java/actions/workflows/linux-flatpak.yml

Ngôn ngữ chính
Java
Star
6
Fork
6
Merge trung bình
10 giờ 11 phút
Pull request đã merge (30 ngày)
12

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

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 JDiskMark/jdm-java

Tất cả issue của JDiskMark/jdm-java

Issue tương tự

Thêm issue về Java

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.