neovim / tree-sitter-vimdoc

Tree-sitter parser for Vim help files
Apache License 2.0
98 stars 12 forks source link

License inconsistency between crate and LICENSE file #112

Closed jamessan closed 9 months ago

jamessan commented 9 months ago

Cargo.toml states the crate is using the MIT license while LICENSE states Apache-2.0 is the project's license. Is Cargo.toml just an oversight from the default tree-sitter generate output?

clason commented 9 months ago

Probably. @vigoux?

vigoux commented 9 months ago

I have absolutely no idea, I'd guess that the tree-sitter generate, extracts the license frol package.json, so it'd probably be good to look into that

clason commented 9 months ago

I mean, what is the intended license?

vigoux commented 9 months ago

I think I had it to Apache2 for compatibility with neovim's license.

clason commented 9 months ago

Ok, I'll fix the package files when I regenerate the parser with the upcoming tree-sitter version (and make a release).

clason commented 9 months ago

(The vimscript parser has an MIT license, btw.)

clason commented 9 months ago

@jamessan is this blocking you?

jamessan commented 9 months ago

No, just something I noticed while packaging for Debian. For now I've documented both licenses. If a future version unifies to one license, I'll update the Debian metadata.

clason commented 9 months ago

I just pushed a commit fixing the cargo toml. If it helps, I can make a new patch release.