Skip to content

Make check recognise main-is in conditional branches (backport #9768) - #9792

Merged
mergify[bot] merged 1 commit into
3.12from
mergify/bp/3.12/pr-9768
Mar 11, 2024
Merged

mergify[bot] merged 1 commit into
3.12from
mergify/bp/3.12/pr-9768

Conversation

@mergify

@mergify mergify Bot commented Mar 9, 2024

Copy link
Copy Markdown
Contributor

This is an automatic backport of pull request #9768 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

* Add tests for #9742

`main-is` not picked up when inside a multibranch CondNode.

* Fix comments

* Add simplifyBranch to Distribution.Types.CondTree

Goes hand in hand with with simplifyCondTree.

* Make `check` deal correctly with multiple branches

`cabal check` had a problem recognising fields in presence of
multiple branches. This patch fixes the problem and does not
meaningfully increases CI time of particularly taxing tests
(like “duplicate flagged dependencies” from MemoryUsage).

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit 74b1f21)

@Mikolaj Mikolaj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM based on

"the specific backport is check based, and it would be important if hackage-server bumps its dependency to Cabal 3.12
this specific one would not need a changelog, since it is a bugix on a yet-to-be-released (3.12) feature"

@ffaf1 ffaf1 added merge me Tell Mergify Bot to merge and removed attention: needs-review labels Mar 11, 2024
@mergify
mergify Bot merged commit b75671b into 3.12 Mar 11, 2024
@mergify
mergify Bot deleted the mergify/bp/3.12/pr-9768 branch March 11, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport merge me Tell Mergify Bot to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants