Confirmed users
1,927
edits
(→Plan) |
(→Plan: a few more things have been accomplished) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
It has been proposed to move the Bugzilla source from bzr.mozilla.org to git.mozilla.org with a read-only mirror on GitHub. | It has been proposed to use [http://git-scm.com/ Git] as Bugzilla's [http://en.wikipedia.org/wiki/Revision_control VCS] instead of [http://bazaar.canonical.com/ Bazaar], and move the Bugzilla source from bzr.mozilla.org to git.mozilla.org with a read-only mirror on GitHub. | ||
The migration was completed successfully on 2014/03/11. git.mozilla.org currently contains the repositories of record for Bugzilla and related code. | |||
== Rationale == | == Rationale == | ||
Line 45: | Line 47: | ||
Migration: | Migration: | ||
# Create git repos, restricting write access to just the account used for the migration. | # (DONE) Create git repos, restricting write access to just the account used for the migration. | ||
# Disallow commits to bzr aside from those originating from the git-to-bzr script. | # (DONE) Disallow commits to bzr aside from those originating from the git-to-bzr script. | ||
# Perform fast-import/-export migration on all branches of bugzilla, bmo, and related repositories, excluding those listed in the section below, using the migrate.sh script. | # (DONE) Perform fast-import/-export migration on all branches of bugzilla, bmo, and related repositories, excluding those listed in the section below, using the migrate.sh script. | ||
# Run git-to-bzr script once on all mirrored branches (see below) to initialize the .gitrev tracking file. | # (DONE) Run git-to-bzr script once on all mirrored branches (see below) to initialize the .gitrev tracking file. | ||
# Start running git-to-bzr periodically (every 5 minutes should be good). | # (DONE) Start running git-to-bzr periodically (every 5 minutes should be good). | ||
# Commit .gitignore file based on .bzrignore to git (at least to supported/active repos/branches), and confirm that it has been mirrored. | # (DONE just for bugzilla/master so far) Commit .gitignore file based on .bzrignore to git (at least to supported/active repos/branches), and confirm that it has been mirrored. | ||
# Enable write access on all git repos for all authorized accounts. | # (DONE) Enable write access on all git repos for all authorized accounts. | ||
Soon after: | Soon after: | ||
# Set up repos on GitHub and configure git.m.o repos to mirror there. | # (DONE) 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 this for the unit tests (https://travis-ci.org/dnozay/bugzilla); we still need support for the Selenium tests in the qa branches. | # (DONE) Set up a travis-ci instance with a test migration to GitHub. Note: someone out there has apparently done this for the unit tests (https://travis-ci.org/dnozay/bugzilla); we still need support for the Selenium tests in the qa branches. | ||
Eventually: | Eventually: | ||
# Turn off tinderbox when we are sure that the test results from travis-ci and tinderbox match. | # (DONE) Turn off tinderbox when we are sure that the test results from travis-ci and tinderbox match. | ||
# Turn off bzr ({{bug|967642}}). | # Turn off bzr ({{bug|967642}}). | ||