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

Offen
#274 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
java
Bereich
desktop, devops

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Java
Sterne
6
Forks
6
Ø Merge
10 Std. 11 Min.
Gemergte PRs (30 T.)
12

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus JDiskMark/jdm-java

Alle Issues in JDiskMark/jdm-java

Ähnliche Issues

Weitere Issues zu Java

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.