Request removal of ~ubuntu-main-sponsors

Asked by Artur Rona on 2011-02-14

Please remove deprecated team ~ubuntu-main-sponsors from Launchpad since it was replaced by ~ubuntu-sponsors.
Here is ACK from team owner on #ubuntu-motu today:

[16:20] <ari-tczew> dholbach: btw. could you request to Launchpad remove ~ubuntu-main-sponsors? it's not needed anymore.
[16:20] <dholbach> can somebody else please do this?
[16:20] <dholbach> I'm really quite busy
[16:20] <dholbach> and regarding the sponsoring overview, I hope this will fix it: https://code.launchpad.net/~dholbach/ubuntu-sponsoring/lp-usage/+merge/49648
[16:21] <ari-tczew> tumbleweed: ^^
[16:22] <ari-tczew> dholbach: do you mean someone else request remove ~ubuntu-main-sponsors?
[16:22] <dholbach> yes
[16:22] <dholbach> you have my ok

Question information

I'm trying to delete this team but LP is timing out on the request: OOPS-1871K1340

Gavin Panella (allenap) said : #2

This will be made possible by a fix for bug 162510.

Curtis Hovey (sinzui) said : #3

There is simply too much work to do before the delete action complete. Some of this work is just wrong. Delete is based on merge, so the code it trying to assign all the subscribed bugs to ~registry. The action could be completed if the team owner removed all the bug subscriptions: <https://launchpad.net/~ubuntu-main-sponsors/+subscriptions>. That is a lot of work given that the edit links take you to the wrong page when the action is complete . This is a variation of a script I use to keep ~registry free of bug subscription. ~dholbach can run this, or he can make ~registry the owner and I will take care of this.

from launchpadlib.launchpad import Launchpad

if __name__ == '__main__':
    lp = Launchpad.login_with(
        'testing', service_root='https://api.launchpad.net', version='devel')
    ubuntu-main-sponsors = lp.people['ubuntu-main-sponsors']
    subscribed_bug_tasks = registry_admins.searchTasks(
        bug_subscriber=ubuntu-main-sponsors, omit_duplicates=False)
    for bug_task in subscribed_bug_tasks:
        try:
            bug_task.bug.unsubscribe(person=registry_admins)
        except:
            print "bug is private?"

Daniel Holbach (dholbach) said : #4

There are no subscriptions left and I changed owner.

I am still unable to delete this.

Curtis Hovey (sinzui) said : #6

We made progress, but there is still too much data. I renamed the team to ~delete-me-main-sponsors, removed the email address an members. We will delete this team when Lp's performance improves or we fix the merge process.

Can you help with this problem?

Provide an answer of your own, or ask Artur Rona for more information if necessary.

To post a message you must log in.