Skip to content

doc: supported-versions: add notes on adding new GHCs #2548

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

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Anton-Latukha
Copy link
Collaborator

@Anton-Latukha Anton-Latukha commented Dec 27, 2021

  • Less people would bother with questions on new GHCs support.
  • People would be aware of the workflow process, so would be more patient.
  • More people would know the workflow of HLS to provide support for new GHCs, so more Haskellers would be guided into the current work state of progress & so would be easier for them jump-in & contribute.
  • Reports like Please, support GHC 9.0.2 #2541 would be able to address the workflow process better (for example I had no thought that ghcup needs to support new GHC, before HLS starts the support cycle).

P.S.

In the documentation, I tend to practice less review & more use of active rewriting paradigm. And so when I am on the contributors side doing documentation - I can allow the workflow & want to practice what I preach, so call upon that workflow idea on myself. That means the branch is open to crowdsource document changes. Active reformulation & changes are appreciated. Reviews I would address in normal fashion.

Closes #2545.

@Anton-Latukha Anton-Latukha changed the title doc: contributing: add notes on adding new GHCs doc: supported-versions:add notes on adding new GHCs Dec 27, 2021
@Anton-Latukha
Copy link
Collaborator Author

[skip circleci]

@@ -25,6 +26,26 @@ GHC versions not in the list have never been supported by HLS, or are not planne

The policy for when we deprecate support for versions of GHC is given below. The table reflects that, but we may decide to deviate from it for good reasons.

### Support for the new GHC version
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this belongs in Contributing. The intended audience of this page is users, and this isn't of interest to users, but rather to contributors who would go through this process.

Copy link
Collaborator Author

@Anton-Latukha Anton-Latukha Dec 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idk, the deprecation process described in this file, & the versioning information is here, so both support versions & deprecation of versions in this file, I thought it only logical to add an introduction of the new version here also to have the full GHC version lifecycle described in it.

I agree that I formulate it & present it as being useful for contributors. But that is one of agendas. (I imagine hypothetically) the majority of people who would search "why new version is not yet supported" - are users & hopefully would be directed to doc & would read the doc & majority of them would be satisfied with the answer that "it is complex, we working on it" & factually would not contribute, but some would get the cycle map & would try to contribute. And that is also why doc is formulated to encourage taking part in the activity.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The deprecation policy is in here because we expect users to want to know "why is version X of GHC (which I care about) not supported".

the majority of people who would search "why new version is not yet supported" - are users & hopefully would be directed to doc & would read the doc & majority of them would be satisfied with the answer that "it is complex, we working on it"

That's not what this piece of documentation conveys, though! I think it would make sense to have a section here describing the basic policy for when new versions are included (e.g. "upstream tools and packages must support it, and some compatibility work must be done, here are links to the tracking tickets"), but a detailed checklist of steps belongs in the contributing documentation IMO.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe the main content could go to contributing and link it here?

@Anton-Latukha Anton-Latukha changed the title doc: supported-versions:add notes on adding new GHCs doc: supported-versions: add notes on adding new GHCs Dec 28, 2021
@pepeiborra pepeiborra added the status: unfinished Status for PRs that have been semi-abandoned label Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: unfinished Status for PRs that have been semi-abandoned
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Please, document a workflow on the support of new GHCs
4 participants