I have been managing several simultaneous pull requests for mono-traversable and have found incrementing the versioning problematic. Is there a ci that increments the cabal version based on the specified type of changes in the PR and sets the version in the change log?
More details of my problem ci for pr version bumping · Issue #238 · snoyberg/mono-traversable · GitHub
Potential proposed solution Increment Package Version Pragma · Issue #102 · tfausak/cabal-gild · GitHub
If you would find this useful, could you add your ideas to the issues in cabal-bump ?
1 Like
Just created a repo to solve this issue cabal-bump
1 Like
cjay
July 25, 2024, 10:26pm
3
I think policeman does what you have in mind? Never tried it though.
We use packdiff (GitHub - composewell/packdiff ) to find the complete API diff from a previous release/commit. In fact we have it integrated in our CI to report API changes in each PR, the output looks like this: Multiple issue resolution targeting the 0.11 release · composewell/streamly@ed72f22 · GitHub (check out the “run packdiff on streamly-core” section).
That’s interesting! Seems similar to the internal hspec tool api-dump hspec/util/api-dump at main · hspec/hspec · GitHub
Have you thought about publishing packdiff to hackage? Or, is it very specific to your projects and hard to generalize?
It is not specific to our project, it is usable in general. I have been asking Adithya (the maintainer) to upload it to hackage.
1 Like