Comment 7 for bug 211223

Revision history for this message
Celso Providelo (cprov) wrote :

Well, the reason from requiring lp.Admin for creating distribution series is that the publication-side requires a lot of actions to take place before a series can actually be used (see initialise-from-parent.py).

Anyway, the complementary actions are only required for hosted distributions, which atm only Ubuntu is. All other non-hosted distribution may allow series creation for bug-tracking purpose (for instance), since they will never end up being published on disk.

Thinking a little bit further, we might start importing external repositories for non-hosted distribution using 'gina', this way they could also benefit of having a corresponding list of published packages (important for bug-tracking as well). When we start doing it, we have to guarantee that all the distribution.main_archives are skipped from publication (IArchive.publish == False). So, this might be a more permanent and more effective check to perform before allowing series creation for lp.Edit than checking for 'if not ubuntu'; in plain English "Only allow series creation by distribution owners/drivers if the distribution is not going to be published by LP."