Confirmed users
1,927
edits
(→Plan) |
(→Plan) |
||
Line 35: | Line 35: | ||
# (DONE) fast-export translation script to preserve bug ID metadata. | # (DONE) fast-export translation script to preserve bug ID metadata. | ||
# (DONE) git-to-bzr.pl script to keep bzr in sync with git. | # (DONE) git-to-bzr.pl script to keep bzr in sync with git. | ||
# Write migration instructions similar to https://wiki.mozilla.org/Bugzilla:Moving_From_CVS_To_Bazaar | # ([[Bugzilla:Moving_From_Bazaar_To_Git|DONE]]) Write migration instructions similar to https://wiki.mozilla.org/Bugzilla:Moving_From_CVS_To_Bazaar | ||
# Set up repos (bugzilla and bmo) on git.mozilla.org | # (DONE, though see {{bug|967697}}) Set up repos (bugzilla and bmo) on git.mozilla.org. | ||
# Determine which branches should be migrated over (presumably all, but there might be obsolete branches) and estimate how long this will take. | # Determine which branches should be migrated over (presumably all, but there might be obsolete branches) and estimate how long this will take. | ||
# Do a trial migration. | # Do a trial migration. | ||
# Announce date for migration. | # Announce date for migration. | ||
Line 45: | Line 43: | ||
Migration: | Migration: | ||
# Disallow commits to bzr aside from those originating from the | # Disallow commits to bzr aside from those originating from the git-to-bzr script. | ||
# Perform fast-import/-export migration on all (supported) branches of bugzilla and bmo. | # Perform fast-import/-export migration on all (supported) branches of bugzilla and bmo. | ||
# Commit .gitrev to bzr containing the ID of the last git commit. | # Commit .gitrev to bzr containing the ID of the last git commit. | ||
# Enable git-to-bzr script (per branch). | |||
# Commit .gitignore file based on .bzrignore to git, and confirm that it has been mirrored. | |||
Soon after: | Soon after: | ||
# | # Set up repos on GitHub and configure git.m.o repos to mirror there. | ||
# Set up a travis-ci instance with a test migration to GitHub. Note: someone out there has apparently done just this: https://travis-ci.org/dnozay/bugzilla | |||
Eventually: | Eventually: | ||
# Turn off tinderbox when we are sure that the test results from travis-ci and tinderbox match. | # Turn off tinderbox when we are sure that the test results from travis-ci and tinderbox match. | ||
# Turn off bzr. | # Turn off bzr ({{bug|967642}}). | ||
Migration scripts are in a [https://github.com/markrcote/bugzilla-git-migration GitHub repo]. | Migration scripts are in a [https://github.com/markrcote/bugzilla-git-migration GitHub repo]. |