-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
Add suggestions about licenses in cabal file #3261
Conversation
oops, I forgot to update docs for |
5a9da41
to
e61d328
Compare
plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal/LicenseSuggest.hs
Outdated
Show resolved
Hide resolved
Still lacks some redesign of the tests, will get to it, maybe next weekend. |
Sorry, not clear if that means you want to merge it or not? Also should maybe have some feature doc? |
CI is red, it can't be merged outright, no? And the CI is red because the test-suite fails because it suggests more than previously expected. |
Ah I see, I'll let you deal with it then :) |
CI is probably green now, ready for final review, I think. |
a291ac4
to
0cde028
Compare
Depends very much on #2954
Old approach depends on error message from cabal. So it was only capable of suggetsions on input
BSD2
andBSD3
.This approach uses license list from
cabal-syntax
package, but still depends on error message from cabal (though it extracts only original name, and uses that to find similar one in supported list)