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

January release 1.6.0.0 #2424

Closed
27 tasks done
jneira opened this issue Dec 1, 2021 · 21 comments · Fixed by #2642
Closed
27 tasks done

January release 1.6.0.0 #2424

jneira opened this issue Dec 1, 2021 · 21 comments · Fixed by #2642
Labels
old_type: distribution old_type: meta Planing and organizing other issues type: enhancement New feature or request
Milestone

Comments

@jneira
Copy link
Member

jneira commented Dec 1, 2021

The machine never stops! Time to plan the new release.

as always if anyone feels strong enough to drive the release or collaborate with, help will be very welcomed 😺


prerelease sanity checks

github release

  • generate the list of pull requests finished since the last release using the haskell script in the project root.
    Nix users should run command gen-hls-changelogs (a wrapper of the script) in nix-shell instead.
  • add that list to the actual Changelog with a description of the release.
  • bump up versions of changed packages. All are optional but haskell-language-server itself.
  • create the tag and make an initial prerelease to trigger the ci workflow (see details below)
  • contact ghcup team (#haskell-ghcup irc channel or via its repo) to try to sync our release and its inclusion in ghcup
  • in the github release edit page, check the attached binaries and the release description (usually the changelog entry) and uncheck the prerelease box
  • make public the release in the usual social channels (not required but useful to spread the word 🙂):
    • irc
    • matrix
    • twitter
    • discord
    • discourse
    • reddit

hackage release

  • bump up package versions following the pvp specification if they are not already updated. You could use policeman to help with this step.
  • create 1.6.0-hackage branch to trigger the hackage github workflow which will upload all changed packages to hackage as candidates
  • check manually candidates in hackage
  • publish them definitely

ghcup release

@jneira jneira added type: enhancement New feature or request old_type: meta Planing and organizing other issues old_type: distribution labels Dec 1, 2021
@hasufell
Copy link
Member

hasufell commented Dec 1, 2021

push the release tag to the haskell-language-server gitlab repo to trigger the build of ghcup specific artifacts
change ghcup metadata to include the new release in https://github.com/haskell/ghcup-metadata

Please do this before the release, otherwise ghcup will lack behind the release for several days again.

@pepeiborra
Copy link
Collaborator

Should we wait until all the pieces from #2357 have landed?

@Anton-Latukha
Copy link
Collaborator

Addressed the CI-side part of GHC-8.10.5 support removal in #2427

@jneira
Copy link
Member Author

jneira commented Dec 1, 2021

Should we wait until all the pieces from #2357 have landed?

Yeah no problem, i want to have the plan earlier this time but we can wait until mid month (i would like to do it before xmas holidays)

@jneira
Copy link
Member Author

jneira commented Dec 1, 2021

push the release tag to the haskell-language-server gitlab repo to trigger the build of ghcup specific artifacts
change ghcup metadata to include the new release in https://github.com/haskell/ghcup-metadata

Please do this before the release, otherwise ghcup will lack behind the release for several days again.

sure, we can push both tags at same time and keep the gh as a prerelase as long as we consider (last one was about one day as a prerelease)

@jneira
Copy link
Member Author

jneira commented Dec 8, 2021

Should we wait until all the pieces from #2357 have landed?

is there another pending pr related with?

@jneira jneira added this to the 1.6.0 milestone Dec 15, 2021
@Ailrun Ailrun pinned this issue Dec 19, 2021
@Anton-Latukha Anton-Latukha changed the title December release 1.6.0 January release 1.6.0 Jan 3, 2022
@jneira jneira changed the title January release 1.6.0 January release 1.6.0.0 Jan 17, 2022
@mergify mergify bot closed this as completed in #2642 Jan 28, 2022
@jneira jneira reopened this Jan 28, 2022
@jneira
Copy link
Member Author

jneira commented Jan 28, 2022

The release build has failed for ubuntu 8.10.7 with:

<command line>: libtinfo.so.6: cannot open shared object file: No such file or directory
cabal: Failed to build ghcide-1.6.0.0 (which is required by exe:hls-wrapper
from hls-1.6.0.0).

I've reran the workflow deleting the already uploaded artifacts of the prerelease (as the workflow tries to upload them all and fails if an artifact with the same name is already attached to the release):https://github.com/haskell/haskell-language-server/actions/runs/1760987798

@hasufell
Copy link
Member

The release build has failed for ubuntu 8.10.7 with:

<command line>: libtinfo.so.6: cannot open shared object file: No such file or directory
cabal: Failed to build ghcide-1.6.0.0 (which is required by exe:hls-wrapper
from hls-1.6.0.0).

I've reran the workflow deleting the already uploaded artifacts of the prerelease (as the workflow tries to upload them all and fails if an artifact with the same name is already attached to the release):https://github.com/haskell/haskell-language-server/actions/runs/1760987798

Which ubuntu version? Is ghcup used for installation?

@jneira
Copy link
Member Author

jneira commented Jan 28, 2022

Which ubuntu version? Is ghcup used for installation?

ubuntu-18.04 and using ghcup, yeah
i had seen that error before in a previous check build and rerunning fixed it

@jneira
Copy link
Member Author

jneira commented Jan 28, 2022

@jneira
Copy link
Member Author

jneira commented Jan 28, 2022

All artifacts from the github build uploaded succesfully, we have to wait to gitlab one

@jneira
Copy link
Member Author

jneira commented Jan 28, 2022

The hackage workflow has uploaded all packages as candidates, they need be marked as definitive:

  • hie-compat-0.2.1.1
  • hls-graph-1.6.0.0
  • shake-bench-0.1.0.3
  • hls-plugin-api-1.3.0.0
  • ghcide-1.6.0.0
  • hls-test-utils-1.2.0.0
  • hls-floskell-plugin-1.0.1.0
  • hls-call-hierarchy-plugin-1.0.2.0
  • hls-explicit-imports-plugin-1.0.2.0
  • hls-ormolu-plugin-1.0.2.0
  • hls-retrie-plugin-1.0.2.0
  • hls-pragmas-plugin-1.0.2.0
  • hls-qualify-imported-names-plugin-1.0.1.0: needs update hackage uploaders (add @eddiemundo and some other hls
  • hls-alternate-number-format-plugin-1.0.1.0: needs update hackage uploaders (add @drsooch and some other hls maintainer)
  • hls-stylish-haskell-plugin-1.0.1.0
  • hls-refine-imports-plugin-1.0.1.0
  • hls-splice-plugin-1.0.1.0
  • hls-haddock-comments-plugin-1.0.1.0
  • hls-brittany-plugin-1.0.2.0
  • hls-class-plugin-1.0.2.0
  • hls-tactics-plugin-1.6.0.0
  • ls-hlint-plugin-1.0.3.0
  • hls-eval-plugin-1.2.1.0
  • hls-module-name-plugin-1.0.1.0
  • hls-selection-range-plugin-1.0.0.0: needs update hackage uploaders (add @kokobd and some other hls maintainer)
  • hls-fourmolu-plugin-1.0.2.0
  • haskell-language-server-1.6.0.0

//cc @pepeiborra for hackage uploaders change, the hackage users for @kokobd, @eddiemundo and @drsooch would be needed, so please add them in a comment

@jneira
Copy link
Member Author

jneira commented Jan 28, 2022

@hasufell
Copy link
Member

So... I don't understand why the alpine binaries are static when we know static binaries are busted and these can't be used for other linux distros either...

If you want to support alpine, you need to build dynamic binaries for it. GHC bindists are also dynamic for alpine.

@jneira
Copy link
Member Author

jneira commented Jan 28, 2022

  • We did not get to publish specific binaries for alpine due a tar generation problem but afaik linux binaries are built the same way we did since the beginning. So they should work or be broken in the same way.

@jneira
Copy link
Member Author

jneira commented Jan 28, 2022

Made the release definitve! 🎆

@kokobd
Copy link
Collaborator

kokobd commented Jan 29, 2022

the hackage users for @kokobd, @eddiemundo and @drsooch would be needed, so please add them in a comment

@jneira @pepeiborra My hackage username is also kokobd. Is this what we need now? (not quite familiar with the hackage workflow)

@jneira
Copy link
Member Author

jneira commented Jan 29, 2022

yeah, we will add you to the plugin hackage maintainers and you will be able to upload, revise and all sort of things

@eddiemundo
Copy link
Collaborator

Oh didn't realize you meant we needed hackage accounts. In that case my username there is also eddiemundo.

@jneira
Copy link
Member Author

jneira commented Jan 29, 2022

Ok, the hackage release is also done: https://hackage.haskell.org/package/haskell-language-server-1.6.0.0 and @eddiemundo, @kokobd and @drsooch are hackage maintainers of their respective plugins, thanks to @pepeiborra
thanks all for helping in the release!

@jneira jneira closed this as completed Jan 29, 2022
@jneira jneira unpinned this issue Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
old_type: distribution old_type: meta Planing and organizing other issues type: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants