On behalf of Hugo authors, I would like to request classic confinement for Hugo, a fast static website generator written in the Go programming language.
We have been using
confinement:strict since @dholbach generously gave us the initial version of snapcraft.yaml in September 2016. However, as Hugo grows in features and popularity, and with the Snap being promoted as the easiest and preferred installation method, more and more users run into issues such as
- Hugo/Go modules (see gohugoio/hugoDocs#1222)
- PostCSS is broken (see gohugoio/hugo#7278)
- Limited to $HOME access (see gohugoio/hugo#3143)
which seem to be make users and developers feel disillusioned with snaps…
Please see the most recent summary and discussion at gohugoio/hugoDocs#1222
Admittedly, the “PostCSS is broken” might be due to an outdated node.js bundled in snapcraft.yaml, and not due to confinement…
But, for other issues, are there ways around them with strict confinement? Or is it better to switch to classic confinement? Please advise.
Here is our current snapcraft.yaml for your reference: