-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Story: Perform Twisted ticket migration #16
Comments
The migration should start by disabling trac edits for all users other than the person doing the migration. Go to https://trac.chevah.com/admin/general/perm and make sure to keep trac-admin only to yourself Also, I think the step would be to create the config first :) Before the migration we will make sure that both Trac and Github are not updated The webhook for githhub automation is disabled from here https://github.com/organizations/chevah/settings/hooks/5189828 |
@danuker can this be closed? |
No, this is a "story" ticket keeping track of progress (so far, none). |
Ok. Np. |
The following Trac ticket metadata should be converted into labels
Milestone should be assigned to GitHub Milestones For all the other "free text" metadata we will only have them as machine readable text:
But we should also include status, type, priority...etc as machine readable. |
Migrate the Twisted tickets:
Latest benchmark if nothing goes wrong: Importing the 8 sample tickets took 3 minutes (2.666 tickets/minute; all Twisted tickets would take 64.66 hours if the sample is representative)
Script modification:
branches/
prefix from SVNMigration:
twisted-trac-staging
twisted/twisted
milestones_created.tsv
tickets_created.tsv
tickets_expected_gold.tsv
(generated from a dry-run for all repos at the beginning, to allow ID preservation for linking)twisted-trac
) and other settings inconfig.py
ASSIGNABLE_USERS
inconfig.py
trac#
prefix going tohttps://twistedmatrix.com/trac/ticket/<num>
postgres-to-sqlite.sh
: check if have latest events in timelinetickets_expected.tsv
withtickets_expected_gold.tsv
)select_tickets
to only migrate a single ticket, see if all is all right. Then migrate the next 5 tickets, see if everything is still OK.tickets_created.tsv
to reflect reality. The migration took 17h14m for https://github.com/twisted/twisted-trac-migration-3 ..pre-commit-config.yaml
as well as org settings)tickets_created.tsv
for redirections to GitHub via JS - doneFrom Adi:
Hooks server (unrelated to migration):
The text was updated successfully, but these errors were encountered: