-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Build and distribute Snappy packages #5458
Comments
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:
sergiusens@a840a34 you might want to cherry pick regarless. |
Hey @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 |
@Tyriar ok, sounds like a plan, I'll work on that |
@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 |
@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. |
@Tyriar Microsoft Visual Studio Code is published as a snap in the store as 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 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. |
@flexiondotorg thanks for reaching out again, could you email me the process for taking ownership and publishing? |
Update for those interested: |
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.
|
@vannitotaro once Martin has transferred ownership to Microsoft, it will hopefully read |
Any news on this? Do we still need the |
Classic is still needed (and will be until confinement is further improved, which requires further work on |
Update from my side is that I've been a little stuck on the ownership transfer as I haven't had enough time to get around to setting this up. |
Any updates? This would be awesome to have. |
I'll be working on this in a couple of weeks, expect another update soon 😃 |
The current snap for |
@ghisvail the new snap name is |
@Tyriar Oh, I heard about the rally. So great your team is collaborating with Canonical directly. |
PR to build snap packages: #35317 To build it in our CI we would need to run:
And then
|
I saw the PR was merged. Does it mean we'll be getting an official snap package from the next release onwards then? |
We need to verify some legal stuff and get it integrated into our CI, expect movement on this in the next 1-2 months 😃 |
@Tyriar how is going with the integration in CI regarding the legal matters? The fix for the IME bug seems to be merged. |
@DarkLite1 unfortunately we got blocked by a snap issue (which is now resolved) and other priorities took over. It's on hold currently as we enter endgame for the March release. |
can we somehow help with snap package? |
Update: I've had too much other work to focus on to take this to the finish line. One of the things that was really bugging me is that every time I went to get some work done on it I would run into another major issue that needed help from the snapcraft team like random crashes or things not working.
Potentially, here's the branch: https://github.com/Microsoft/vscode/tree/tyriar/snap I think this is a complete list of current work left to do:
|
Thank you for working on the snap @Tyriar , I've just received the following update:
So it seems like the integration into the CI is working now, unless someone else packaged a new snap manually. |
flexiondotorg is Martin Wimpress from Canonical.
Le sam. 12 mai 2018 à 17:27, DarkLite1 <notifications@github.com> a écrit :
… Thank you for working on the snap @Tyriar <https://github.com/Tyriar> ,
I've just received the following update:
sudo snap list
vscode 1.23.0-1525361119 34 stable flexiondotorg classic
So it seems like the integration into the CI is working now, unless
someone else packaged a new snap manually.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5458 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB36b3GjnRPvKYbI0QlGvFbZ07B4oXphks5txw2KgaJpZM4IJ9QG>
.
|
Yes that's not the one published by us, @flexiondotorg derives that one from the deb |
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. |
I reopened issues related to snap package and labelled them here: https://github.com/Microsoft/vscode/labels/install-update-snap |
This is now in |
Do you mean April, @joaomoreno? |
Actually, March! 🎆 No April Fools here. 😉 |
Ubuntu 16.04 is going to include a new type of package that installs the application in a more isolated manner.
The text was updated successfully, but these errors were encountered: