DistroSeriesDifference._updateVersionsAndStatus is a car crash

Bug #785657 reported by Julian Edwards
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

This method is a crazy set of intertwined "if"s and conditions. It would benefit from using a state transition dictionary to vastly simplify the code, so we can specify a set of inputs as a key and get a set of outputs.

Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
tags: added: derivation tech-debt
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.