Auto-connection of personal-files for walden

Hey Snapcraft folks! I’d like to request the personal-files privilege on my Snap entitled ‘walden’.


This request has been added to the queue for review by the @reviewers team.

Hey @AaronPrisk :slight_smile:

Given the reasoning provided, I think the request makes sense. However, I’d like a quick clarification. I took a look at the snapcraft.yaml and noticed that the snap requires write access to the $HOME/.gitconfig and $HOME/.config/git files. Could you explain why read access wouldn’t be sufficient for this use case?

Also, could you please rename the interface to something like gitconfig so that it meets the naming criteria described here?

1 Like

Hello! You’re absolutely right, read is sufficient. I had it set to write for an earlier build that needed it. I adjusted the yaml that I linked along with updating the interface name.

Thank you :slight_smile:

+1 from my side for granting auto-connectionto the gitconfig interface with read access.

1 Like

Hey @AaronPrisk

I’m a bit confused here. Typically part of the criteria for personal-files auto-connection is that the file/files are clearly owned by the snap; in this case they are clearly now. Moreover, ~/.gitconfig may contain user credentials AFAIK. Thus, I think we should only consider it for manual-connection

@yomonokio could you please share your reasoning for the +1 in case I missed something?

Hey folks, I realized that I don’t actually require personal-files as github is able to determine which user to attribute via their PAT. I updated the yaml, pushed a new build and all is well.

All good to mark this as closed! :slight_smile:

2 Likes