A few things to note before we start implementing the config:
- There’s already a file in
$HOME/.config/snapcraft/snapcraft.cfgwhere we save the macaroon. - There’s also
.snapcraft/travis_snapcraft.cfgcreated by the enable-ci command, to save the attenuated macaroon that allows to release only to edge. - We have just added a
snap/.snapcraftdirectory for global state. - There are quite a few things called config in our source code:
$ grep -r config snapcraft/. A cleanup on the source code to clarify the concepts would be nice.