-
Notifications
You must be signed in to change notification settings - Fork 697
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 Cabal-3.14 and (incomplete) cabal-install-3.16 #10323
Conversation
"Missing PRs" is the list of PRs that don't have a changelog entry. You should have a quick look at them to ensure we didn't forget entries for user-relevant ("Template A" now) PRs. "Extra (unmerged) PRs" is the list of changelog entries with an invalid PR number (that is, the PR number wasn't found in the log). These are almost always typos and should be fixed. |
Thanks for the explanation! I wish this info was put at a very visible place. Maybe in the messages the tool prints.
There are 174 unique entries on this list (I updated it so that it only shows unqie ones btw). This feels a little intimidating... |
One complication is that you will get PRs listed as missing because they're for a different component than you're dumping changelogs for. |
Yes! It looks like a significant shortcoming of changelog-d... |
I submitted a PR against changelog-d which will fix the missing PR message to only report PRs missing from the whole set of |
Some future |
I plan to run my fork tonight to hopefully get a more manageable list of PRs to double-check for exclusion from the release notes. |
Okay, I tried it and it only struck about 20 PRs (bringing the number down to 154). As far as I see, the issue is that changelog-d is not smart enough to account for backports. For example, take #9578, which was backported and certainly appeared in 3.12: changelog-d still reports it as missing because that particular PR, of course, did not appear in 3.12, and the tool thinks that it should be in 3.14 release notes... At this point, I consider the "Missing PR" feature of changelog-d dysfunctional and suggest we move forward and wait until users uncover any unaccounted changes. While undesirable, missing things in release notes is not the end of the world. For future releases, it'd be great to teach changelog-d about backports. |
Keep in mind that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly formatting, but a few questions should get some consideration. I don't think they should hold it back, though.
release-notes/Cabal-3.14.0.0.md
Outdated
Haskell Foundation Tech Proposal | ||
[Replacing the Cabal Custom build-type](https://github.com/haskellfoundation/tech-proposals/pull/60). | ||
|
||
Package authors willing to use this feature should declare `build-type: Hooks` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this also mention that you need Cabal-version: 3.14
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.
Co-authored-by: brandon s allbery kf8nh <allbery.b@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @geekosaur! I tried to accept all of your suggestions.
release-notes/Cabal-3.14.0.0.md
Outdated
Haskell Foundation Tech Proposal | ||
[Replacing the Cabal Custom build-type](https://github.com/haskellfoundation/tech-proposals/pull/60). | ||
|
||
Package authors willing to use this feature should declare `build-type: Hooks` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.
release-notes/Cabal-3.14.0.0.md
Outdated
See Note [Symbolic paths] in `Distribution.Utils.Path` for further information | ||
on the design of this API. | ||
|
||
- Add `MultilineStrings` extension [#10245](https://github.com/haskell/cabal/pull/10245) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find GHC proposal number mildly useful potentially. But it can go into the title, I guess..
I screwed up with the PR again: it should target 3.14, not master. (At least, I did branch out of 3.14...) |
|
I added a WIP changelog for the tool which is easier, I think: we just remove all the tiny changelog files and at 3.16 will generate and append an update for this WIP (and it becomes the final
release-notes/cabal-install-3.16...md
).Some doubts I have:
I got a bunch of messages from changelog-d, which I don't understand: https://gist.github.com/ulysses4ever/881571e08f0fff4f8dc4d63880d4e52f
I'm not sure about deduplication: should one change touching Cabal and cabal-install be mentioned in both changelogs?Wiki says that a PR removing the little changelog files should go separately, why is that? Why not one PR?
Template B: This PR does not modify behaviour or interface
E.g. the PR only touches documentation or tests, does refactorings, etc.
Include the following checklist in your PR:
[ ] Is this a PR that fixes CI? If so, it will need to be backported to older cabal release branches (ask maintainers for directions).