name: freecad
description: An open source parametric 3D CAD modeler
snapcraft: https://github.com/FreeCAD/FreeCAD-snap/blob/master/snap/snapcraft.yaml
upstream: https://github.com/FreeCAD/FreeCAD
upstream-relation: maintainer
plugs:
gitconfig:
interface: personal-files
attributes:
read:
- $HOME/.gitconfig
- $HOME/.config/git/config
request-type: auto-connection
reasoning: |
FreeCAD supports external add-on workbenches (such as the
HistoryWorkbench and ohers) that invoke the Git CLI to provide revision
control for 3D CAD models. Read access to the user's global Git
configuration is required so that Git operations executed inside the
confined snap inherit the user's configured author name, email, and
preferences.
After landing this change on FreeCADs snapcraft.yaml file the snap has been stuck in the queue requiring manual review on the dashboard - please let me know whether there is anything else to do on our side. Thanks.
Sorry for the delay. personal-files auto-connection is typically reserved for files that are clearly owned by the snapped application. However, considering that:
FreeCAD is a mature, well-known application
the access is limited to read access
whilst these files may contain credentials on certain configurations, I believe it would be against best practices.
Considering all the above, +1 from me after successful publisher vetting
+2 for, 0 against granting freecad auto-connection to the requested personal-files interface. I’ve sent a DM to the publisher @furgo to proceed with the publisher vetting.
To conform with the usual naming convention I would ask you to split the requested access in two personal files plugs as follows: