Why hasn't vscode moved to the Community repo?
I'm surprised that Visual Studio Code is still in the AUR after a year of being posted, despite a lot of people liking it. We already have Atom in community, so what is holding vscode back from being admitted?
About this post
- Posted
- Archived
- Score
- 50 · 100% up
- Kind
- Text
- ID
- 981rue
42 comments
We don't put
-binpackages in the repositories when the source is available.The reason why it isn't in the repositories is because the project bundles electron and other dependencies. We want them to use the system libraries and electron. This is hard and nobody has managed to package it sanely yet. If anyone do have a solution, post it on the mailing list and someone will pick it up.
I'm aware of that. I figured if it got moved it would become properly built via the github source.
Ah. that makes a lot more sense. Also wasn't aware of the aur mailing list. Thanks for the insight!
Thanks for the explanation. Is there a place where people in the community can come together to coordinate efforts like this?
Sure, the mailing list
aur-generalor the IRC channel#archlinux-aurVSCode has a vastly slimmed down version of Electron to only the components it needs, which is the reason why it bundles its own Electron.
All vendored dependencies are bad and needs to be removed and patched away before being distributed by a distribution.
why would you want it to use electron, is it a "preferred platform", or is it just due to it being a common library meaning lower library count?
... that's like asking if a gnome program can be packaged for qt-5
vscode already uses electron, but it installs its own copy and that should really not be necessary.
My guess is that the code package is more likely to be admitted, as it's built from upstream sources more or less entirely.
VScode is an Electron app, correct? So how can there be a binary version?
I mean you can compile it yourself using the github source, but I was more using the -bin package as an example of it being highly voted for.
No I mean: Javascript? Javascript is not a compiled language, right? So how can there be a binary version of a tool that is written in a language that you cannot even compile?
People should stop downvoting comments like this. It's just a normal question!
Some TU has made a bug at vscode: https://github.com/Microsoft/vscode/issues/56686
Those are a lot of issues