Hugo v0.43 introduces SCSS support by embedding the LibSass C library. Anticipating that some users might not like the non-pure Go hugo binary, Hugo Project Lead @bep decides to make two editions available:
hugo: Pure Go without LibSass
hugo-extended: linked with LibSass
We would like to have the “hugo-extended” snap provides the hugo command. Could you please create an automatic alias for us, from hugo-extended to hugo? It would be similar to the result of a manual alias created by snap alias hugo-extended hugo
Could you please create a new track called “extended” for us?
I then went ahead and created a new hugo-extended snap, and made my initial upload to the edge channel, and have also modified this auto-alias request accordingly. So, now, the request is for the hugo-extended snap to provide the hugo automatic alias as in /snap/bin/hugo.
In principle this seems to fit the use case for tracks:
snap install hugo <- non-libSass version
snap install hugo --channel=extended <- libSass version
Just be aware that you will need to publish the corresponding binaries to the matching track, otherwise people tracking extended will not receive updates.
Also, each track has its own independent set of risks (stable, candidate, beta, edge), so this also works:
snap install hugo --channel=extended/beta
I’m +1 to giving a track for Hugo to maintain this extended version “in parallel” with the traditional one.
Per the process, there’s a voting period, at the end of which we’ll look at the votes from reviewers (mine included) and act on the track request. Thanks for your patience!