You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature-requestRequest for new features or functionalityinstall-updateVS Code installation and upgrade system issueslinuxIssues with VS Code on LinuxsnapIssues related to the snap packageverifiedVerification succeeded
Reacted by Damien Pontifex, Shahid Khan, Sergio Schvezov, jyte, Sreelal Chalil, Shahar "Dawn" Or, eyelash, Davids Paskevics, Robert Carr, Martin Wimpress and 34 more
a launcher (shell) specific to snapcraft (this won't be necessary for future builds though).
a local plugin (parts/plugins/x-nodejs) until I (or someone else) adds support for either gulp as a top level plugin or clean up what I did here to also support gulp.
Hey Sergio Schvezov (@sergiusens), thanks a lot for your work on this. The snap file size is 92mb compared to 30-45 for the other package types, are snaps not compressed by default or was this just left out?
We probably won't delve into distributing a snap until at least #1577514 is fixed. It sounds like it will be an Electron fix that will then take time for us to uplevel to.
I only thing I can see that's preventing your commits landing in master is moving the build resources (parts, snapcraft.yaml) to resources/linux/snap and the build artifacts to .build/linux/snap. If you get around to upleveling your branch and making those changes we'd be glad to merge a PR and add it to the CI build.
Daniel Imms (@Tyriar) about size, we need to include things in which are not part of the core os which is the common dependency for everything. This could be much smaller but isn't yet as I haven't trimmed down all of it yet.
I'll get to the other items as soon as I look at it. I also based out of release/1.0.0 which I guess the intenton is to get this into master/devel instead?
Sergio Schvezov (@sergiusens) yeah if you update your work to work on master with the tweaks I mentioned then we can push this and I'll get notified if it breaks. It will also make it convenient for anyone who wants to use snappy packages from an OSS build.
Daniel Imms (@Tyriar) Microsoft Visual Studio Code is published as a snap in the store as vscode using classic confinement in the beta channel. We'd love for your team to take ownership of this snap and publish new versions directly to the store :-)
The rationale for using classic confinement is that vscode is a code editor and users may reasonably expect to be able to edit files anywhere on the system. Use classic confinement means that LP: #1577514 is no longer relevant and neither is LP: #1577520, although the later issue is also now resolved in snapd when applications are strictly confined.
Snaps have a number of useful characteristics such as being simple to create, support multiple Linux distributions, enable very simple installation instructions and provide access to install metrics via the Snap store. There are also various hooks and services [3] available to automate the build and publish pipeline.
Reacted by Tim Süberkrüb, Shkarlat Andrey and DarkLite1
Update for those interested: VS Code now in the snappy store in the stable channel.
Can't be installed from Ubuntu/GNOME Software...yet (use sudo snap install vscode --classic for now), ownership needs to be transferred and it potentially needs to be renamed code (but there's already a snap called code in the store).
Moreover there is no reference to Microsoft in snap detailed information. I think it should be there, to give a hint to the user that it is the right package to install.
me@pc:~$ snap info vscode
name: vscode
summary: "Code editing. Redefined."
publisher: flexiondotorg
contact: [email protected]
description: |
Visual Studio Code is a new choice of tool that combines the
simplicity of a code editor with what developers need for the core
edit-build-debug cycle.
channels:
latest/stable: 1.12.2-1494422229 (8) 122MB classic
latest/candidate: 1.12.2-1494422229 (8) 122MB classic
latest/beta: 1.12.2-1494422229 (8) 122MB classic
latest/edge: 1.12.2-1494422229 (8) 122MB classic
At this time, the snap package is stuck at v1.24 while the main distos have had v1.25 for four days now. I know this is a US holiday weekend, but unfortunately my usual distro that I build VSCode manually crashes, since yarn won't build there.
feature-requestRequest for new features or functionalityinstall-updateVS Code installation and upgrade system issueslinuxIssues with VS Code on LinuxsnapIssues related to the snap packageverifiedVerification succeeded
Activity
sergiusens commentedon May 16, 2016
Hello there, I have something sort of working.
It is not on the store yet, but you can download it from http://people.canonical.com/~sergiusens/snappy/vscode_1.0_amd64.snap
There are two snappy related bugs still open for this (which are being worked on):
So it would need to be installed by running
The most important thing that I still need to resolve it plugin installation. That is an area I could use pointers for btw.
I have 4 commits here https://github.com/sergiusens/vscode/commits/release/1.0.0
This branch has:
parts/plugins/x-nodejs) until I (or someone else) adds support for eithergulpas a top level plugin or clean up what I did here to also support gulp.sergiusens@a840a34 you might want to cherry pick regarless.
Tyriar commentedon Jun 2, 2016
Hey Sergio Schvezov (@sergiusens), thanks a lot for your work on this. The snap file size is 92mb compared to 30-45 for the other package types, are snaps not compressed by default or was this just left out?
We probably won't delve into distributing a snap until at least #1577514 is fixed. It sounds like it will be an Electron fix that will then take time for us to uplevel to.
I only thing I can see that's preventing your commits landing in master is moving the build resources (parts, snapcraft.yaml) to
resources/linux/snapand the build artifacts to.build/linux/snap. If you get around to upleveling your branch and making those changes we'd be glad to merge a PR and add it to the CI build.sergiusens commentedon Jun 10, 2016
Daniel Imms (@Tyriar) ok, sounds like a plan, I'll work on that
sergiusens commentedon Jun 10, 2016
Daniel Imms (@Tyriar) about size, we need to include things in which are not part of the core os which is the common dependency for everything. This could be much smaller but isn't yet as I haven't trimmed down all of it yet.
I'll get to the other items as soon as I look at it. I also based out of
release/1.0.0which I guess the intenton is to get this into master/devel instead?Tyriar commentedon Jun 10, 2016
Sergio Schvezov (@sergiusens) yeah if you update your work to work on master with the tweaks I mentioned then we can push this and I'll get notified if it breaks. It will also make it convenient for anyone who wants to use snappy packages from an OSS build.
flexiondotorg commentedon May 11, 2017
Daniel Imms (@Tyriar) Microsoft Visual Studio Code is published as a snap in the store as
vscodeusing classic confinement in the beta channel. We'd love for your team to take ownership of this snap and publish new versions directly to the store :-)The rationale for using classic confinement is that vscode is a code editor and users may reasonably expect to be able to edit files anywhere on the system. Use classic confinement means that LP: #1577514 is no longer relevant and neither is LP: #1577520, although the later issue is also now resolved in
snapdwhen applications are strictly confined.Snaps have a number of useful characteristics such as being simple to create, support multiple Linux distributions, enable very simple installation instructions and provide access to install metrics via the Snap store. There are also various hooks and services [3] available to automate the build and publish pipeline.
Tyriar commentedon May 11, 2017
Martin Wimpress (@flexiondotorg) thanks for reaching out again, could you email me the process for taking ownership and publishing?
Ads20000 commentedon May 19, 2017
Update for those interested:
VS Code now in the snappy store in the stable channel.
Can't be installed from Ubuntu/GNOME Software...yet (use
sudo snap install vscode --classicfor now), ownership needs to be transferred and it potentially needs to be renamedcode(but there's already a snap calledcodein the store).vannitotaro commentedon May 21, 2017
Moreover there is no reference to Microsoft in snap detailed information. I think it should be there, to give a hint to the user that it is the right package to install.
Ads20000 commentedon May 21, 2017
Giovanni Totaro - aka Vanni (@vannitotaro) once Martin has transferred ownership to Microsoft, it will hopefully read
publisher: microsoft34 remaining items
ghisvail commentedon May 12, 2018
Tyriar commentedon May 13, 2018
Yes that's not the one published by us, Martin Wimpress (@flexiondotorg) derives that one from the deb
tomByrer commentedon Jul 9, 2018
At this time, the snap package is stuck at v1.24 while the main distos have had v1.25 for four days now. I know this is a US holiday weekend, but unfortunately my usual distro that I build VSCode manually crashes, since yarn won't build there.
Ads20000 commentedon Jul 12, 2018
Martin Wimpress (@flexiondotorg)
Tyriar commentedon Aug 24, 2018
I reopened issues related to snap package and labelled them here: https://github.com/Microsoft/vscode/labels/install-update-snap
joaomoreno commentedon Apr 1, 2019
This is now in
master, planning to release for March.mightyiam commentedon Apr 1, 2019
Do you mean April, João Moreno (@joaomoreno)?
joaomoreno commentedon Apr 1, 2019
Actually, March! 🎆
No April Fools here. 😉