Closed Bug 1488815 Opened 7 years ago Closed 7 years ago

elmo-stage ops: Remove users/axel_mozilla.com/gecko-strings-quarantine

Categories

(Webtools Graveyard :: Elmo, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: Pike, Unassigned)

Details

Can you remove the gecko-strings-quarantine repo from stage? If you want to nuke the hg store, that's fine, too. But probably doesn't hurt to not bother. On the db side, the first step is to run the following in a django shell: from life.models import Repository Repository.objects.filter(name__startswith='user') ... should return <QuerySet [<Repository: users/axel_mozilla.com/gecko-strings-quarantine>]> Repository.objects.filter(name__startswith='user').delete() ... should return something along the lines of (11233L, {u'life.Push': 303L, u'life.Tree_repositories': 0L, u'life.Repository_changesets': 10090L, u'life.Push_changesets': 839L, u'life.Repository': 1L}) just with bigger numbers for Push, changesets, etc. We'll need to monitor stage automation to make sure it's not freaking out by a repo disappearing. I think I fixed all those bugs, but I might also be wrong.
>>> from life.models import Repository >>> Repository.objects.filter(name__startswith='user') <QuerySet [<Repository: users/axel_mozilla.com/gecko-strings-quarantine>]> >>> Repository.objects.filter(name__startswith='user').delete() (11894L, {u'life.Push': 344L, u'life.Tree_repositories': 0L, u'life.Repository_changesets': 10400L, u'life.Push_changesets': 1149L, u'life.Repository': 1L}) >>> Repository.objects.filter(name__startswith='user') <QuerySet []>
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Thanks.
Status: RESOLVED → VERIFIED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.