Page MenuHomePhabricator

Migrate mailing lists to mailing list users
ClosedPublic

Authored by epriestley on Jun 2 2015, 10:19 PM.
Tags
None
Referenced Files
F13511962: D13128.diff
Wed, Jul 24, 4:28 PM
Unknown Object (File)
Tue, Jul 23, 3:09 AM
Unknown Object (File)
Mon, Jul 15, 1:41 PM
Unknown Object (File)
Sat, Jul 13, 8:11 PM
Unknown Object (File)
Sat, Jul 13, 7:45 PM
Unknown Object (File)
Wed, Jul 10, 6:59 AM
Unknown Object (File)
Sat, Jun 29, 12:26 AM
Unknown Object (File)
Thu, Jun 27, 3:17 AM
Subscribers

Details

Summary

Ref T8387. This migrates lists in the database to users, and replaces all subscriptions.

This won't update Herald rules or saved search queries, but they're presumably rare and infeasibly complex to migrate.

Test Plan

This migration is relatively re-runnable, so I ran it a bunch of times with different setups using bin/storage adjust --apply. It successfully migrated lists into users and replaced them in all the places they were subscribed.

Diff Detail

Repository
rP Phabricator
Branch
mlist5
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6481
Build 6503: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Migrate mailing lists to mailing list users.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.

This won't update Herald rules or saved search queries, but they're presumably rare and infeasibly complex to migrate.

How would these things break post killing mailing lists app? I am very comfortable with breaking them, I just would want users to be able to recover via the web ui.

This revision is now accepted and ready to land.Jun 3 2015, 11:08 PM

Break behavior for Herald should be clean at HEAD -- it got buffed up pretty substantially in D12957 for dealing with a similar case out of T7604.

Search will not find matching results, but shouldn't explode either.

This revision was automatically updated to reflect the committed changes.