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

How to alert users of known issues with released cabal-install? #9955

Open
philderbeast opened this issue Apr 29, 2024 · 5 comments
Open

How to alert users of known issues with released cabal-install? #9955

philderbeast opened this issue Apr 29, 2024 · 5 comments

Comments

@philderbeast
Copy link
Collaborator

philderbeast commented Apr 29, 2024

How do we report known issues with released versions of cabal-install in a way that end users of cabal-install might notice?

From a search of this repo, I found "known issues" in the output of the hidden man command. That cabal-install label has 0 Open and 0 Closed issues. Is that the right label?

Up on hackage there's the changelog but what's the best way to alert users of a known issues with packages on hackage short of deprecating the release on hackage, do a revision and amend the changelog or something else?

$ cabal man
...
BUGS
       To  browse  the  list  of  known  issues or report a new one please see
       https://github.com/haskell/cabal/labels/cabal‐install.
...
  • Amend the changelog: On hackage, the cabal changelog redirects to this repository's release-notes via plain text display of links that are not clickable but these release notes are generated, aren't they? How would we then add a known issue as an addendum?

Note

-*-change-log-*-

3.10.3.0 Hécate <hecate+github@glitchbra.in> January 2024

  • See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.10.3.0.md

3.10.2.1 Hécate <hecate+github@glitchbra.in> November 2023

  • See https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.10.2.1.md
@ffaf1
Copy link
Collaborator

ffaf1 commented Apr 29, 2024

Problem with “Known issues” lists is that they get stale easily.
E.g. GHC known issues section lists #12971 but that has been closed since then.

I don't know whether github supports regexps or search patterns to get all cabal-install; cmd/xyz labels.

@philderbeast
Copy link
Collaborator Author

I most often get cabal-install via ghcup tui these days. This does have a link to the changlog and that goes straight to the release notes on this repo for the cabal version selected, e.g. those for cabal-install-3.10.3.0.

@phadej
Copy link
Collaborator

phadej commented Apr 29, 2024

I have a very grumpy opinion on this matter.

There are two kind of people, the ones which know how to use search, google and know how to read; and then all the other people.

For the first category it's "enough" to keep a good track of issues. What is fixed and when, what isn't; which versions fixes are backported to etc. But just having complete changelogs are a very good start (including clean git log). It's not an easy task, but it's an minimum requirement. GitHub issues has a very limited way to add any metadata (e.g. no way to add metadata like in which version the bug was found and in which it's fixed), so doing that is difficult.

The second group of people will open an issue, ask on reddit, discourse etc. Then someone from the first group of people can find an issue for them and tell about it. In other words, you need to empower first group.

TL;DR, you first need to have the data, keep it organised, and only then you can think about how to best present it.

@phadej
Copy link
Collaborator

phadej commented Apr 29, 2024

To highlight my point: #9952 is exactly "a known issue", but it wasn't recorded anywhere.

@Mikolaj
Copy link
Member

Mikolaj commented May 9, 2024

I think the best way to signal known issues currently is the start of our changelogs, also called release notes, that live on master branch. They are editable via PRs. The only problem is that they are created during the release process, not before, so we'd need a place to stage known issues initially. Maybe just create that file ahead of the time with the only content being known issues?

Regarding links, note that the Cabal Hackage package changelog is in .md format and has clickable links. Obviously cabal-install and cabal-install-solver should have their Hackage changelog files converted to that style and it'd be clickable as well. I don't know if there's an issue about that but if it is, it's many years old.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants