Open main menu

CDOT Wiki β

Add Source Server Support for Mercurial

Project Name

Add Source Server Support for Mercurial

Project Description

Previously we added source indexing to release builds using CVS as a backend for pulling source files. Since then, Mozilla has moved to Mercurial from CVS. This project will add support so that Mercurial can be used too. See bug# 440001.

Project Leader(s)

Project Contributor(s)

Project Details

Provides more depth than the Project Description. This is the place for technical discussions, project specs, or other details. If this gets very long, you might consider breaking this part into multiple pages and linking to them.

0.1 Release

    * Set up existing source server to see how it works(will download pdb's off mozilla server)
    * Set up localhost server
    * Build firefox and create pdb files (symbols), host them on local server
    * Insert my own data block into one of the mozilla pdb files (will use xul.pdb)
    * Get xul.pdb to grab source files off of hgweb instead of cvs repo

October 13, 2008 - Got the current source server working with help from ted and lblakk. Doing review of symbolstore.py code as well as learning more about the python language.

October 18, 2008 - 0.1 Released! For instructions, see this page. See my blog entry for thoughts and observations.

0.2 Release

    * Learn more about the Python language
    * Learn about how symbolstore.py works
    * Hack symbolstore.py to index the pdb files
    * Serve the pdb files and make sure they successfully retrieve source code from hgweb

November 12, 2008 - First 3 steps completed. Symbolstore.py is able to index pdb files with Mercurial source file locations. See my blog entry for more details.

November 14, 2008 - 0.2 has been completed. See Bug 440001 for my patch

0.3 Release

    * Make changes to 0.2 as per Ted's review comments
    * Get patch accepted into source tree(?)

December 1, 2008 - I've submitted a new patch to Bug 440001 with changes as per Ted's comments *Crosses fingers*.

December 17, 2008 - Submitted 0.3 release patch to Bug 440001 with changes as per Ted's comments