-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
Upload to Hackage #1175
Comments
Please upload your plugin to Hackage if you want to be available @tittoassini @isovector @Ailrun @jneira @konn @berberman |
When I implemented the Splice plugin, I factored out |
Yes, please do upload that too and extend maintainer privileges to @isovector |
Thad package includes codes by @isovector and @TOTBWF plus some variants and generalisation of the underlying monad I implement and it also lacks a license (which is inherited from Tactics plugin). I think I have to discuss on these with @isovector and @TOTBWF. |
I generally prefer BSD-style licenses, but am happy inheriting Apache 2.0 if it makes life easier. |
Class plugin is now uploaded. |
OK, then I will set it to Apache 2.0 and upload it to Hackage if @TOTBWF agrees. |
OK, so I will list I and you as a author/maintainer of hls-exactprint-utils, making pull-request for this, and upload to Hackage after it got merged! |
Sounds good, thanks for taking the lead here! |
As commented in irc and the other issue about uploading the package, we should update the README to include the hackage method of installation, and warning about a caveat: the |
@Ailrun I found a little mistake in class plugin:
|
@berberman Oops... I will fix that. |
I've just uploaded |
|
I think we should update the Copyright, Author and Maintainer fields of the haskell-language-server.cabal file. It is a collective entity. IIRC, some projects have a file called CONTRIBUTORS, and copyright refers to that? As an idea. And this can be dealt with as a separate issue, need not hold up releasing the candidate. |
Makes sense. Best to get it right before uploading. I'm not in a huge rush to upload anyway. |
i've just upload hls-hlint-plugin: https://hackage.haskell.org/package/hls-hlint-plugin |
I've used this values in hls-hlint.plugin: author: https://github.com/haskell/haskell-language-server/contributors
maintainer: https://github.com/haskell/haskell-language-server/contributors but i've kept |
Perhaps we should add an explicit contributors file, and manage it with something like https://allcontributors.org/ |
And technically the copyright is all contributors, not just me. |
It would be nice to tag each package release like: https://github.com/haskell/haskell-language-server/releases/tag/hls-hlint-plugin-0.1.0.0 |
So, is the plan to completely remove the plugins from the hls repository? |
@tittoassini afaik not necessarily but this make it possible, |
Should I set these fields in the eval plugin cabal? Has this been agreed? author: https://github.com/haskell/haskell-language-server/contributors |
@pepeiborra is there some blocker to upload the package? should we upload tactic plugin? |
No blockers, the tactics package is certainly not a blocker. I thought you and Alan wanted to add a contributors file, that's all |
@pepeiborra mmm right, i thought we could upload it anyways, with the actual copyrigths (like actual hls-plugin-api or hls-hlint-plugin). thoughts @alanz? |
FWIW, I tend not to bother with contributors files in projects I'm involved with as its a constant source of maintenance. And when a new contributor shows up, you realise way too late (after they're contributed a substantial portion) that no one forgot to include them. I'd just say "The Haskell IDE Team" or even just Alan, and people who want to know the contributors can look it up on GitHub interface. |
I am happy with "The Haskell IDE Team" . It seems crazy for it to be me, there are so many people contributing. |
Ok i will change hls-plugin-api and hls-plugin-api metadata |
@pepeiborra I've changed the package metadata for hls itself, hls-plugin-api and hls-hlint-plugin with #1234 so afaics it could be uploaded when merged |
@isovector it would be nice to have hls-tactics-plugin in hackage too, would you have some time to do it (if you agree of course)? |
Sure thing. What do you need from me? |
@isovector upload the hls-tactics-plugin (the version tagged with 0.8.0.0) to hackage, |
@jneira you just need to back port all the new changes (I've lost track) to the branch: https://github.com/haskell/haskell-language-server/tree/0.8.0-hackage and then upload to Hackage |
It's rather off-topic, but can I add some maintainers of the HLS repo to Hackage maintainer of splice plugin and (now deprecated) hls-exactprint-utils package? I'm willing to maintain Splice Plugin at least for a while, but I think it is safer and allows us flexible release procedure. |
Do you refer to #1234, for example? My idea was not make a new release of hls-plugin-api and hls-hlint.plugin but update the package metadata with hackage revisions. ...but the change of hls itself should be backported, right, will do asap |
@pepeiborra I've updated the 0.8.0-hackage branch: 812da11, and hls-plugin-api/hls-hlint-plugin have revisions to match the metadata of that commit |
OK, I've just copied Maintainer list of |
It's rather confusing when the instructions tell you how to install from hackage, but then it doesn't exist on hackage. Perhaps add a comment about that in the instructions? (And now I quietly go back to using ghcide.) |
Uploaded tactics. https://hackage.haskell.org/package/hls-tactics-plugin |
@isovector BTW, is there something to do with that version number? It looks quite high. |
@Ailrun it's what was already in the cabal file. Not sure where it came from --- I assumed someone had added it and it some sort of consistent plugin versioning scheme. |
Well, we're stuck with it now. I'll maintain PVP from here going forwards. /shrug |
It looks like it is the first version introduced by you? (This PR includes the first commit that introduces the cabal file, #516) Though maybe it comes from the other repo (I heard that there was a root repo for the tactic plugin) |
maybe it was the version of hls when the plugin was bootstrapped? |
Goal:
cabal install haskell-language-server
should just workMinimum tasks required:
all-plugins
andall-formatters
todefault: False
,default: True
Manual: False
cabal upload ...
The text was updated successfully, but these errors were encountered: