-
Notifications
You must be signed in to change notification settings - Fork 696
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
Changelogs for packages aren't documented #10474
Comments
I used The output of
Footnotes
|
I tried to upload a package candidate without changelog to Hackage, it works:
I will ask the user for more informations. |
More from the user.
I wonder how suggestive |
I don't believe changelogs are mandatory on Hackage (e.g. here's a package without one uploaded in 2020: https://hackage.haskell.org/package/BNFC-meta). |
Well, pestering is not the right approach, of course. But helpfully suggest to consider adding one so that the users have an idea how this release progresses from the previous one would be good imo. |
While this is all cogent, it's missing the user's (and my, cf. the title I chose for this issue) point: it's not documented. |
I hate the “not our problem” attitude, especially in tightly integrated tools, but is there anything we should do here, doc-wise?
That would be different of course if we were to create a new warning, then documentation would be necessary. |
I am not saying "not our problem". I am saying that our documentation should explain the changelog field (urp! there isn't one, as noted below) in cabal files, since it seems this is sparse at best. (In fact, I am finding that changelogs are apparently inferred from the contents of The ideal situation would probably be to bump the spec and add an explicit changelog field to cabal files. I suspect this is asking too much at this point, though (the horse has already bolted this barn, it's too late to block the door). Some documentation about changelogs, including something about the way they're inferred (the ticket you mentioned on Matrix earlier seems to be related to this?), would be a good idea. This does not include explaining changelog best practices and such, though, except by finding and pointing to a stable link about such practices. |
Alas they are inferred in two different ways, cabal does one thing and Hackage does a similar (but not equivalent) thing. I note there is a (tiny, not fully explained) changelog reference in the
(this is only tangent to this ticket tho, i.e. the case where changelos is present in the working directory but not in the I will make a patch to expand this bit, for sure. edit: done |
That's a relatively recent feature. As far as I can tell, creation of a changelog was only added to cabal-install in 4d6175c (from 2015, probably v1.24?). My package is older than that. (For extra irony, the cabal-install changelog does not mention when |
What is wrong with the docs?
According to a user in
#hackage:matrix.org
, nowhere is it documented that Hackage requires packages to have a changelog file, nor what this involves.Additional context
The text was updated successfully, but these errors were encountered: