-
Notifications
You must be signed in to change notification settings - Fork 29.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snap: set compression to lzo, #117852 #118116
Conversation
Thanks! |
I've temporarily reverted this since the builds are failing with "Issues while validating snapcraft.yaml: Additional properties are not allowed ('compression' was unexpected)". We're using snapcraft version 4.4.4, I suspect we just need to update to the newest version |
This is strange, since it should be supported according to canonical/snapcraft@48c8047 |
Any progress on this? |
Feel free to do some investigation why this doesn't seem to work from the docker image we're using:
|
Dunno what's wrong, i've successfully built snap with lzo compression in stable container. |
just a note that if you are unable to upgrade the version of snapcraft you are using, you can always just use the name: code
version: ....
passthrough:
compression: lzo |
I've used
I'm currently reaching out to the Snap team via e-mail. Will let you know the outcome. |
@joaomoreno ah yeah that's correct that the compression setting is only consumed by snapcraft and not by snapd sorry about that ... However, if you still are unable to upgrade the version of snapcraft you are using to build with to one that supports the
|
@anonymouse64 I really wouldn't know how to do that since we just call
PR welcome! |
@joaomoreno Ah so this is actually a snapcraft working as "intended", VS code is not using |
Right, if that's the way to go, we're gonna have to wait. TBH doing big updates on snap has always been quite the adventure with an often large tail of issues. I've created this as a follow-up: #119436 |
@joaomoreno I understand, in the meantime I can try and submit a PR changing your build script as linked to do the |
Merged #119478 |
On ryzen 1800x + nvme first launch of vscode takes 6-7 seconds, that's too much.
https://ubuntu.com//blog/snap-speed-improvements-with-new-compression-algorithm
https://snapcraft.io/blog/why-lzo-was-chosen-as-the-new-compression-method
This PR fixes #117852