Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Officially supported package for Visual Studio Code
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
skywarp
n00b
n00b


Joined: 19 Jun 2004
Posts: 37
Location: Germany

PostPosted: Sat Jun 08, 2019 1:52 pm    Post subject: [Solved] Officially supported package for Visual Studio Code Reply with quote

Hi Gentoo Devs,

what's the main obstacle from your point of view to add new applications to the official Portage tree? I know layman, Gentoo Overlays etc., but is this really the way to go for this distro? Shouldn't popular packages be just part of the tree?

In fact, looking at the situation regarding IDE support, things aren't very shiny. Personally I favour Netbeans and Visual Studio Code. However, the first lacks proper 4k/UHD support for me. Eclipse suffers from the same issue and personally, I never really liked its UI philosophy anyway. With VS Code things work for me at the moment, but relying on layman until the end of times doesn't look like a senseable approach to me. Sooner or later popular packages should become part of the main tree IMHO.[/b]

So, what can we as a community and individually do about that to change things for Gentoo?

Looking forward to your replies.

Cheers!


Last edited by skywarp on Mon Jun 10, 2019 11:43 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14745

PostPosted: Sat Jun 08, 2019 3:34 pm    Post subject: Reply with quote

To be part of the main tree, the package must have a maintainer, either directly or via proxy. If someone steps up to be that maintainer, and the ebuild does not require violating quality standards, it can probably be added to the tree. app-editors/visual-studio-code-bin-1.30.2 - Multiplatform Visual Studio Code from Microsoft already proposes including this file. The only problem I see with it is that it is a -bin package. That is not a hard blocker, but personally I prefer that -bin packages be used only as an alternative to packages that are too painful to build locally.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6217

PostPosted: Sat Jun 08, 2019 8:23 pm    Post subject: Re: Officially supported package for Visual Studio Code Reply with quote

skywarp wrote:
Shouldn't popular packages be just part of the tree?

They are. What makes you think VS is popular?
Back to top
View user's profile Send private message
skywarp
n00b
n00b


Joined: 19 Jun 2004
Posts: 37
Location: Germany

PostPosted: Mon Jun 10, 2019 11:53 am    Post subject: Reply with quote

Thanks for your replies! Should have taken a look at Gentoo's Bugzilla as well.

@Ant P.:
Well, it's a personal impression I got when doing some dev stuff and by talking with some people here and there. Also that Bugzilla entry is not from the same person already providing an ebuild via Gentoo Overlays. On Gentoo or Linux I do not have that many IDE options anymore it seems. At least not, when working with HiDPI displays. But that's a different topic.
Back to top
View user's profile Send private message
jeronimomilea
n00b
n00b


Joined: 04 Nov 2019
Posts: 7

PostPosted: Mon Nov 04, 2019 9:15 pm    Post subject: Re: Officially supported package for Visual Studio Code Reply with quote

Ant P. wrote:
skywarp wrote:
Shouldn't popular packages be just part of the tree?

They are. What makes you think VS is popular?


I don't know about him bit maybe they almost 86K stars on Github or they bazilliion posts about how ti do X un VsCode...

Anyway i also think should ve great to have it despite the fact that it can he downloaded un binary from overlays or even the official page.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14745

PostPosted: Tue Nov 05, 2019 2:18 am    Post subject: Reply with quote

I don't see 86K stars, and even if I did, if those stars are from people who would never use the Gentoo ebuild, then they are irrelevant for determining whether the package is popular enough on Gentoo to be worth being in the Gentoo tree. I took a quick look around the referenced Visual Studio Code site trying to determine where you got your 86K figure, and along the way I noticed it has a custom license (bad) which permits sending data to Microsoft (worse), and found the site to be generally painful to use. Objects that obviously were meant to be links weren't actually links. Navigation blobs overlaid each other. None of that promotes adoption into the main tree.

All that said, my earlier statement stands. If a maintainer steps up, and the software doesn't violate quality standards, it could be added. Would you like to step up to be the maintainer?
Back to top
View user's profile Send private message
jeronimomilea
n00b
n00b


Joined: 04 Nov 2019
Posts: 7

PostPosted: Tue Nov 05, 2019 2:28 am    Post subject: Reply with quote

The (almost) 86K stars came from here https://github.com/microsoft/vscode/stargazers (thats the official repo)
Even if your statemente about Gentoo users holds true, it won't hurt to have it, and it is a popular piece of software these days.
I saw a lot of questions about how to install and asking for overlays (code overlays, the bin one is there), of course, on Gentoo, be it on Reddit or even on ohter forums.

I'm thinking about stepping up and be the mantainer, yes, i use it alot and now i have the oportunity to come back to my beloved Gentoo for work (been developing on Windows as per job requiremente) so, yeah i'll probably start tinkering with it in the next days and see what happens.-

P.S.: About license:
Quote:
This source code is available to everyone under the standard MIT license.


This is about the compiled binary that they distribute on: https://code.visualstudio.com/
Quote:
Visual Studio Code is a distribution of the Code - OSS repository with Microsoft specific customizations released under a traditional Microsoft product license.
Back to top
View user's profile Send private message
jeronimomilea
n00b
n00b


Joined: 04 Nov 2019
Posts: 7

PostPosted: Tue Nov 05, 2019 2:34 am    Post subject: Reply with quote

Hu wrote:
...found the site to be generally painful to use. Objects that obviously were meant to be links weren't actually links. Navigation blobs overlaid each other. None of that promotes adoption into the main tree.
I don't really see what the site has to do with building the software that we can use on our system.
Back to top
View user's profile Send private message
Garbanzo
n00b
n00b


Joined: 06 Aug 2018
Posts: 23

PostPosted: Tue Nov 05, 2019 5:43 am    Post subject: Reply with quote

It's been attempted before: https://github.com/gentoo/gentoo/pull/8924. From the thread there it looks like there are some messy details to work out.

It would be nice to have it in the main tree though - for good or bad, it seems to have become the most popular IDE on linux.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2948

PostPosted: Tue Nov 05, 2019 7:38 am    Post subject: Reply with quote

Garbanzo wrote:
It's been attempted before: https://github.com/gentoo/gentoo/pull/8924. From the thread there it looks like there are some messy details to work out.

It would be nice to have it in the main tree though - for good or bad, it seems to have become the most popular IDE on linux.

Have you tried the version from atom-overlay repository mentioned in that PR?
Back to top
View user's profile Send private message
jeronimomilea
n00b
n00b


Joined: 04 Nov 2019
Posts: 7

PostPosted: Tue Nov 05, 2019 11:51 am    Post subject: Reply with quote

charles17 wrote:
Garbanzo wrote:
It's been attempted before: https://github.com/gentoo/gentoo/pull/8924. From the thread there it looks like there are some messy details to work out.

It would be nice to have it in the main tree though - for good or bad, it seems to have become the most popular IDE on linux.

Have you tried the version from atom-overlay repository mentioned in that PR?


Not really but i will now :)
Back to top
View user's profile Send private message
jeronimomilea
n00b
n00b


Joined: 04 Nov 2019
Posts: 7

PostPosted: Tue Nov 05, 2019 6:10 pm    Post subject: Reply with quote

That repo is a bit old but seems to have whats needed to start, i'll try to update it tomorrow.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14745

PostPosted: Wed Nov 06, 2019 3:29 am    Post subject: Reply with quote

jeronimomilea wrote:
Even if your statemente about Gentoo users holds true, it won't hurt to have it
Sure, if it meets quality standards.
jeronimomilea wrote:
and it is a popular piece of software these days.
Given its apparent design and origins, I find this quite sad.
jeronimomilea wrote:
I saw a lot of questions about how to install and asking for overlays (code overlays, the bin one is there), of course, on Gentoo, be it on Reddit or even on ohter forums.
Perhaps so. I don't recall seeing it requested much at all on the Gentoo forums, which is the most logical place to discuss having it on Gentoo.
jeronimomilea wrote:
I'm thinking about stepping up and be the mantainer, yes, i use it alot and now i have the oportunity to come back to my beloved Gentoo for work (been developing on Windows as per job requiremente) so, yeah i'll probably start tinkering with it in the next days and see what happens.-
Great. If you have questions about how to package it properly, please come ask us. I would rather help a new contributor get the ebuild right than deal with the mess from hapless users installing a bad ebuild.
jeronimomilea wrote:
P.S.: About license:
Quote:
This source code is available to everyone under the standard MIT license.
This is about the compiled binary that they distribute on: https://code.visualstudio.com/
Quote:
Visual Studio Code is a distribution of the Code - OSS repository with Microsoft specific customizations released under a traditional Microsoft product license.
Right. skywarp never specified whether the goal was a package of the -bin or a package that could compile the published sources. I found the ticket requesting the -bin, noted that, and no one ever tried to redirect the conversation back to a build-from-source ebuild, so I started treating this thread as handling an ebuild for the -bin. I expect from the way the site is presented, and the way the block you quoted is written, that the -bin has the licensing problems I described, even if the raw sources do not.
jeronimomilea wrote:
Hu wrote:
...found the site to be generally painful to use. Objects that obviously were meant to be links weren't actually links. Navigation blobs overlaid each other. None of that promotes adoption into the main tree.
I don't really see what the site has to do with building the software that we can use on our system.
If the site is painful to use, that makes me not want to spend time using it. Given how easy it is to get right the things that this site did wrong, it leaves me with little confidence in the truly difficult things the package will need to do right.
Back to top
View user's profile Send private message
C5ace
Guru
Guru


Joined: 23 Dec 2013
Posts: 311
Location: Brisbane, Australia

PostPosted: Wed Nov 06, 2019 5:24 am    Post subject: Reply with quote

I use mostly CodeBlocks.

The negative for me is that CodeBlocks does not generate a .tar.gz archive that can be installed with make config, make, make install and uninstall with make uninstall like Anjuta. The other negative is that neither has plugins to generate ebuilds.

Advantage of CodeBlocks is that in most cases a Linux project can be build with no or minimum modifications for Windows. Runs on Linux, Mac, Windows.

CodeBlocks works fine with hires monitors. If X works with your monitor, CodeBlocks and Anjuta should also work with your monitor. Install and try.
_________________
Observation after 30 years working with computers:
All software has known and unknown bugs and vulnerabilities. Especially software written in complex, unstable and object oriented languages such as python, perl, C++, C#, Rust and the likes.
Back to top
View user's profile Send private message
heheman3000
n00b
n00b


Joined: 22 Oct 2006
Posts: 33

PostPosted: Sat Nov 09, 2019 11:44 pm    Post subject: Reply with quote

If VS Code is not going to be installable from portage, what's the next best way to do it? A snap?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14745

PostPosted: Sun Nov 10, 2019 1:44 am    Post subject: Reply with quote

Find or write an ebuild for it, then install it through Portage using an overlay. While I personally would not use or support it, if you've decided you want to use it, managing it through the system package manager is a better choice than having redundant (and possibly outdated) bundled libraries from a monolithic container.
Back to top
View user's profile Send private message
Garbanzo
n00b
n00b


Joined: 06 Aug 2018
Posts: 23

PostPosted: Sun Nov 10, 2019 3:39 am    Post subject: Reply with quote

There are ebuilds available at http://gpo.zugaina.org/app-editors/visual-studio-code
Back to top
View user's profile Send private message
skywarp
n00b
n00b


Joined: 19 Jun 2004
Posts: 37
Location: Germany

PostPosted: Sun Jan 05, 2020 7:56 pm    Post subject: Reply with quote

Jorgicio has an overlay which he keeps reliably up to date. Works for me since more than a year.

https://github.com/jorgicio/jorgicio-gentoo-overlay/tree/master/app-editors/vscode-bin

Maybe he would be fine and maintain is also as a regular build. Have not asked him though.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum