What is the canonical way to find a snap's source code and build scripts?


I found https://snapcraft.io/omxplayer-pi but couldn’t easily find the snapcraft.yaml used to build the snap until the kind author pointed me to source at https://github.com/ogra1/omxplayer-snap.

Is there a general mechanism to get all source including build scripts for a snap? I’m looking for a tool like apt-get source.


related: Snap running other snap can't read files in home dir


Refer: Proposal: Allow exposing the public source repository that is used to build a particular snap in the store page


note that i normally put a source link in the snap description, i forgot that in the case of omxplayer-pi, feel free to file a github issue (as a reminder for me) and i’ll fix it for this snap …


Thanks, both!