Skip to content

Reporting mode (PoC available) #119

Description

@nafg

Before writing this, I noticed #109, which I guess is related.

However, this is about getting a more detailed report, both from running MiMa and about dependency bumps.

Another difference from #109 is that my goal is not to answer the question, "what is the compatibility status" (e.g. what should my next version bump be), which is important, but that even if it's known, it's still useful to document the exact changes. (The current practice seems to be to document them in the form of temporary MiMa filters, which is clearly suboptimal, to say the least.)

One reason why this difference is relevant is that it doesn't make sense to have to change the versionPolicyIntention. In fact, in my case that would be annoying since I'm actually using versionPolicyIntention to compute my version!

I wrote some code to do this for Slick. You can see my solution here and output here. It's a little hacky though: I had to define a new SBT configuration so I could have an independently-scoped versionPolicyIntention setting, and I had to copy-paste some private code from sbt-version-policy.

If someone wants to adapt it into sbt-version-policy somehow, that would be nice. (Then I could change the Slick PR to just use the new release.) Of course that would not require the separate-configuration hack, it would just be a new task that would call directly into other sbt-version-policy code (which would may or may not have to be refactored a bit).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions