Skip to content
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

MIT License and Stylint dependency #1458

Open
3 tasks done
jabby opened this issue Oct 11, 2019 · 22 comments
Open
3 tasks done

MIT License and Stylint dependency #1458

jabby opened this issue Oct 11, 2019 · 22 comments

Comments

@jabby
Copy link

jabby commented Oct 11, 2019

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: all
  • vue-language-server : all versions which include stylint

First of all, I need to give you some context. I worked on Eclipse Wild Web Developer and I tried to include some vuejs support in it. See the current PR about my work.
During the process, I created a Contribution Questionnary (CQ) at Eclipse Foundation. The goal was to validate the needed dependencies on all legal aspect (IP process). IP validation failed because one of transitive dependencies is under GPL-3.0 License. My contribution is actually blocked but it's not the point of this issue.

I reviewed the answer from the legal team. It seems that stylint is under GPL-3.0 License. In your case, stylint dependency comes from stylus-supremacy. I already create an issue about the license of stylint here : ThisIsManta/stylus-supremacy#58

I'm not an expert about OSS licenses, maybe there is no problem. I'm only concern about the compliance between vue-language-server license and stylint license. I know my case is not the same as yours. My work is under Eclipse Public License 2.0.

Thanks a lot for your answer and some clarification about licenses.

@jabby jabby changed the title https://github.com/ThisIsManta/stylus-supremacy/issues/58 MIT License and Stylint dependency Oct 11, 2019
@octref
Copy link
Member

octref commented Oct 23, 2019

Thanks for letting me know. The repo's LICENSE.md seems to be GPLv2, not v3.

I don't think there's anything actionable from me. From what I see in Stylus-supremacy codebase, it's using source files of stylint, so it should have been GPL. But I'm using Stylus-supremacy as a dependency through its public API, while making no modifications to it. So I'm not obliged to make VLS GPL.

One change I could do is to remove Stylus-supremacy from VLS dependency and only load it from workspace. This means no out-of-the-box formatting for Stylus part, but that's ok IMO.

@jabby
Copy link
Author

jabby commented Nov 19, 2019

Hello @octref sorry for the delay.

From my point of view, removing the out-of-the-box formatting of Stylus part will enable the integration of vls into Eclipse Wild Web Developer. If you are ok with this change, I will continue my work about supporting vue into Eclipse IDE.

@jabby
Copy link
Author

jabby commented Dec 17, 2019

Hello @octref do you want a PR about removal of Stylus-supremacy from VLS dependency. If so, can you show me where to start?

@davydnorris
Copy link

Hi @jabby @octref

I was just wondering if there had been any further progress on this, so that Vuejs support can be added to Wild Web Developer?

Many thanks!

@zulus
Copy link
Contributor

zulus commented May 6, 2020

ThisIsManta/stylus-supremacy#58 has been fixed. What's next?

@davydnorris
Copy link

@octref - looks like the Stylus GPL issue is now resolved. Does that mean you can simply upgrade to resolve your side of this, or is there more?

@octref
Copy link
Member

octref commented Jun 8, 2020

looks like the Stylus GPL issue is now resolved.

It wasn't. Stylint 2.0.0 is still GPL licensed.

@jabby
Copy link
Author

jabby commented Jun 8, 2020

@octref What about your proposal?

One change I could do is to remove Stylus-supremacy from VLS dependency and only load it from workspace. This means no out-of-the-box formatting for Stylus part, but that's ok IMO.

Can I help you on this? If so, can you point me where to start? Thanks.

@davydnorris
Copy link

davydnorris commented Jun 8, 2020

I've added this to stylint as a new issue:
/SimenB/stylint/issues/459

@sbernard31
Copy link

@octref, @jabby do you still consider this solution ?

One change I could do is to remove Stylus-supremacy from VLS dependency and only load it from workspace. This means no out-of-the-box formatting for Stylus part, but that's ok IMO.

@sbernard31
Copy link

By the way styleInt sounds no so active : https://github.com/SimenB/stylint/commits/master 🤔
And it seems difficult to get feedback from maintainer : /SimenB/stylint/issues/459

@yoyo930021
Copy link
Member

Ha, Does anyone care about this?

One change I could do is to remove Stylus-supremacy from VLS dependency and only load it from workspace. This means no out-of-the-box formatting for Stylus part, but that's ok IMO.

I think this is acceptable.
I would like to merge PR or help remove it.

@davydnorris
Copy link

I would love this to finally be added - would be happy to remove Stylus

@dkechrologos
Copy link

dkechrologos commented Mar 23, 2021 via email

@yoyo930021
Copy link
Member

I will do it when finishing other issues.

If anyone can help, the PR is welcome.

To change here:
https://github.com/vuejs/vetur/blob/master/server/src/services/dependencyService.ts

@davydnorris
Copy link

I'm happy to have a crack at this - is it just a matter of pulling all references to Stylus from this file, or do we then have to do some magic to define it as an externally supplied dependency?

@yoyo930021
Copy link
Member

I'm happy to have a crack at this - is it just a matter of pulling all references to Stylus from this file, or do we then have to do some magic to define it as an externally supplied dependency?

I think just removing the bundled stylus-supremacy package.
Remove this line

import stylusSupremacy from 'stylus-supremacy';
and make error or logic when no any package in project
const get = <L extends keyof RuntimeLibrary>(lib: L, filePath?: string): Dependency<RuntimeLibrary[L]> => {
.

Other place only has typescript type information in vetur.

@yoyo930021 yoyo930021 added this to the v0.36.0 milestone Oct 4, 2021
@yoyo930021 yoyo930021 removed this from the v0.36.0 milestone Nov 1, 2021
@yennor
Copy link

yennor commented Nov 11, 2021

I've had all hopes up when I've seen that you added it to the milestone. Any particular reason why you removed it again?

@yoyo930021
Copy link
Member

I've had all hopes up when I've seen that you added it to the milestone. Any particular reason why you removed it again?

I have many tasks in v0.36.0. so I delay it.
But I welcome any PR on it.

@kashyap1113
Copy link

Is there any estimated time for this to get sorted and have vue js support in eclipse wild web developer?

@yoyo930021
Copy link
Member

Volar is the great choice now.
https://github.com/vuejs/language-tools/

@kashyap1113
Copy link

Yes, I am already using VSCode for Vue but I miss many features of Eclipse. As WWD already supports angular and react, it would have been much fun if I could also use it for Vue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants