lint finds multiple target branch candidates which are actually resolvable

Bug #1706976 reported by Robie Basak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-ubuntu
Fix Released
Medium
Nish Aravamudan

Bug Description

"07/27/2017 14:32:39 - ERROR:Unable to automatically determine importer branch: Multiple candidate branches found: pkg/ubuntu/trusty-devel, pkg/ubuntu/trusty-proposed. Please pass --target-branch."

In this (very common for SRUs) case, it should clearly be trusty-devel.

I think the logic should be that if all the found series and trees match, and -devel is included, then use the -devel.

If the trees don't match, then perhaps we are in a situation where something was deleted from proposed or something, so we need to still ask.

Tags: lint

Related branches

Revision history for this message
Nish Aravamudan (nacc) wrote :

This seems pretty easy to do and makes sense. Probably can abstract out the logic the importer uses to move the -devel pointer to determine what the 'best' branch of a set of branches is?

Changed in usd-importer:
status: New → Confirmed
importance: Undecided → Medium
Nish Aravamudan (nacc)
Changed in usd-importer:
milestone: none → future
Robie Basak (racb)
Changed in usd-importer:
status: Confirmed → Triaged
Nish Aravamudan (nacc)
Changed in usd-importer:
status: Triaged → In Progress
assignee: nobody → Nish Aravamudan (nacc)
Nish Aravamudan (nacc)
Changed in usd-importer:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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