-
-
Notifications
You must be signed in to change notification settings - Fork 389
[#2005] Fix Formatting When Brittany Returns Warnings #2036
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
[#2005] Fix Formatting When Brittany Returns Warnings #2036
Conversation
0c1a0e2
to
cf3f3e4
Compare
Thanks for fixing this here too. We have to remember remove it when brittan includes it. |
No objections from me as long as licensing issues are taken into consideration, given that Brittany is LGPL and the plugin is Apache 2.0 |
I'm fine w/ being the one responsible for removing any relevant changes if/once my brittany PR gets merged + released.
Sorry, hadn't considered this aspect of it. Don't have much knowledge of these two licenses, but it seems like the only way to bring this change into HLS before brittany merges it would be for us to use my brittany fork instead of pulling the code directly into this repo? I could attempt to write a new function that's not just a re-write of |
In my previous comment I mistakenly said brittany is LGPL, when I actually meant AGPL. This is what the AGPL license says about modified source code:
While you could plausibly write a new version of the function from scratch, I would not encourage this. So in order to go ahead with this PR, you would need to change the plugin license to be AGPL. This is fine by me since I have stopped using Brittany in all my projects due to the odd choice of license, but you would also need to obtain permission from all other contributors to this plugin (@Ailrun @berberman @jneira @wz1000 and any others who have made any changes). |
Well include Brittany itself introduces LGPL in hls so I dont see any problem in change the plugin license as well. |
cf3f3e4
to
7d3d960
Compare
I rebased & switched the cabal |
Also, is it possible to switch back to Apache once the upstream PR has been merged and we can remove this function? I left a comment in the cabal file suggesting so, but can remove it if it's not accurate. |
i think it s not necessary, we cant include the plugin without brittany itself so if we have to exclude gpl software, we have to exclude both at same time. In fact i think is better to keep in sync both licenses to make it clear. So i will merge this if no contributor manifest their opposition |
7d3d960
to
1f95e0b
Compare
👍, removed the comment. |
reruning tests, it failed with a transient error (i hope) |
Add a temporary fix for issue haskell#2005 while we wait for upstream brittany to incorporate similar changes.
2151dd2
to
c17d43c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for fixing here the bug, please, remember to remove it once it is upstreamed
This is the same function I have written for my brittany PR(lspitzner/brittany#351) but there hasn't been any movement on that yet.
It'd be great if we could have this temporary fix merged until something similar is supported by upstream brittany.