-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
snapcraft.yaml: Update to "base: core20"
That is, switch to using Ubuntu 20.04 LTS as base, leveraging new features in Snapcraft 4.x, etc. It is far from complete, with npm temporarily disabled (hence no PostCSS) and with Pandoc probably not working yet, but would hopefully get our Hugo Snap build, which stopped working shortly after v0.80.0, working again.
- Loading branch information
1 parent
fe2ee02
commit 243951e
Showing
1 changed file
with
23 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
243951e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, when my snap auto-updates these will stop working? If yes, this is a breaking change.
243951e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just ran
/snap/bin/hugo version
and discovered that my snap has already been automatically updated:So I ran a rudimentary PostCSS test:
And it's broken again:
I understand that we're trying to improve the snap, but we shouldn't be breaking installations. Users will have no warning.
/cc @bep
243951e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jmooring Thanks for letting me know!
Actually, it was not just "improving the snap", but rather, the existing Snap was broken, hence the Hugo Snap was stuck at 0.80.0 for over three months now, so my recent fix to snapcraft.yaml, though far from perfect was my first step at getting it to work again.
Sorry for disabling node/npm for my latest commit:
If it is feasible at all and not too much trouble, could you please revert to "extended/stable", i.e. the released 0.80.0 for the time being?
I'll try my best to get PostCSS in extended/edge over the weekend, and thank you for providing a sample repo https://github.com/jmooring/hugo-testing for me to test.
243951e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jmooring,
This regression (no bin/node) is hopefully solved in commit 902535e.
Please allow for up to 6 hours for the Launchpad autobuilders to build and publish to extended/edge etc.
The snap size did increase from 33MB to 55MB with the addition of node 14.16.1 LTS binary.
Thank you again for reporting the issue and providing me with an easy way to test!