icdiff a while ago. Now I’m wanting to also package a helper that makes it work together with git,
git-icdiff. For this, I need
icdiff.git-icdiffto get aliased to
personal-filesinterface to auto-connect.
This is how I’m using it (from the snapcraft.yaml):
# personal-files won't auto-connect without going through the "Process for # aliases, auto-connetions and tracks", https://docs.snapcraft.io/455 # During testing, "snap connect icdiff:gitconfig" should work plugs: gitconfig: interface: personal-files read: [$HOME/.gitconfig] apps: git-icdiff: # We'll want to request an automatic alias for this to work seamlessly. # During testing, "snap alias icdiff.git-icdiff git-icdiff" should work command: usr/bin/git-icdiff environment: # there's perl somewhere in the pipeline, and it gets shouty without this LC_ALL: C.UTF-8 plugs: - home # so it can acess files under the user's home - removable-media # so it can access things in /media, etc - gitconfig # so it can access ~/.gitconfig :-)
and the store doesn’t like that right now.