Comment 1 for bug 801112

Revision history for this message
Julian Edwards (julian-edwards) wrote :

This is part of a bigger problem where we have the choice of
a) a long transaction that allows us to atomically roll back in case of errors (and we know long transactions are bad)
b) many short transactions but a partially initialised series

In the case of (b) we have a lot of code that will break when a series is partially initialised. It needs to be tracked down and fixed to use a new boolean on the Distroseries table. For example, many places use IArchive.getPublishedSources() to see if the series has got packages in it.