wiki:UpdatingBugzilla

Version 5 (modified by ddkilzer@apple.com, 15 years ago) (diff)

--

Updating Bugzilla

This page describes a process to update the Bugzilla instance running on bugs.webkit.org.

Setup

  • Check out Bugzilla sources from CVS (for reference).
        cvs -d ":pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot" co -d bugzilla.cvs mozilla/webtools/bugzilla
    
  • Import original Bugzilla sources from CVS into a local git repository (may take a couple of hours).
        rm -f ~/.cvsps/\:pserver\:anonymous@cvs-mirror.mozilla.org\:#cvsroot#mozilla#webtools#bugzilla
        mkdir bugzilla.git
        git cvsimport -d ":pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot" -C bugzilla.git -k mozilla/webtools/bugzilla
    
  • Import BugsSite from the WebKit repository into a local git repository.
        mkdir bugssite.git
        cd bugssite.git
        git svn init -T trunk/BugsSite http://svn.webkit.org/repository/webkit
        git svn fetch
    
  • Create a local git repository to do the merge.
        mkdir update.git
        cd update.git
        git init
        git remote add -f origin-bugssite ../bugssite.git
        git remote add -f origin-bugzilla ../bugzilla.git
        # TODO: update .git/info/grafts to create artificial merge points
    
  • Create a local git branch.
        git checkout -b master remotes/origin-bugssite/master