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

Add suggestions about licenses in cabal file #3261

Merged
merged 4 commits into from
Nov 25, 2022

Conversation

dyniec
Copy link
Contributor

@dyniec dyniec commented Oct 7, 2022

Depends very much on #2954

Old approach depends on error message from cabal. So it was only capable of suggetsions on input BSD2 and BSD3.
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)

@dyniec
Copy link
Contributor Author

dyniec commented Oct 8, 2022

oops, I forgot to update docs for licenseErrorSuggestion

@fendor fendor self-requested a review as a code owner November 21, 2022 17:14
@michaelpj michaelpj enabled auto-merge (squash) November 23, 2022 17:54
@fendor
Copy link
Collaborator

fendor commented Nov 23, 2022

Still lacks some redesign of the tests, will get to it, maybe next weekend.

@michaelpj michaelpj disabled auto-merge November 23, 2022 22:39
@michaelpj
Copy link
Collaborator

Sorry, not clear if that means you want to merge it or not? Also should maybe have some feature doc?

@fendor
Copy link
Collaborator

fendor commented Nov 24, 2022

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.

@michaelpj
Copy link
Collaborator

Ah I see, I'll let you deal with it then :)

@fendor fendor requested a review from michaelpj November 24, 2022 13:49
@fendor
Copy link
Collaborator

fendor commented Nov 24, 2022

CI is probably green now, ready for final review, I think.

@fendor fendor requested a review from pepeiborra as a code owner November 24, 2022 13:49
plugins/hls-cabal-plugin/test/Main.hs Outdated Show resolved Hide resolved
@michaelpj michaelpj merged commit d7690c5 into haskell:master Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants