Branch can be rejected because prerequisite not merged but approved

Bug #900731 reported by Didier Roche-Tolomelli
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Tarmac
Fix Released
Medium
David Britton

Bug Description

If both a prerequisite and dependant branch are approved and tarmac starts by handling the dependant branch first, it will reject it telling that the prerequisite branch isn't merged yet as so revert the approved status to "needs review".

The idea is to handle this case better and postpone the current approval checks at the end (to check the real status of the prerequisite branch).

Related branches

Revision history for this message
Chris Glass (tribaal) wrote :

We are having the same problem (landscape team), and I think my branch solves it.
Basically what I do is order the proposals by dependency depth, merging branches that have no prerequisites first.

I will give it another spin and propose for merging if all is good.

Changed in tarmac:
status: New → In Progress
assignee: nobody → Chris Glass (tribaal)
Chris Glass (tribaal)
Changed in tarmac:
status: In Progress → New
assignee: Chris Glass (tribaal) → nobody
Changed in tarmac:
status: New → Confirmed
dobey (dobey)
Changed in tarmac:
importance: Undecided → Medium
dobey (dobey)
Changed in tarmac:
assignee: nobody → David Britton (davidpbritton)
status: Confirmed → In Progress
Changed in tarmac:
status: In Progress → Fix Committed
dobey (dobey)
Changed in tarmac:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.