Difference between revisions of "Mercurial history browsing"

From CDOT Wiki
Jump to: navigation, search
(Project Bugs)
(Project Details)
Line 468: Line 468:
 
           </ul>
 
           </ul>
 
         </td>
 
         </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
</table>
 +
|}
 +
 +
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 +
!align="left" style="background-color:Orange; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| '''v1.0 Release Details ([http://blog.sidkalra.com/2009/04/v10-release-goals/ Detailed Info])'''
 +
|-
 +
|
 +
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=3 cellspacing=0>
 +
    <th style="width: 40%;">Task</th>
 +
    <th style="width: 42%>Details</th>
 +
    <th style="width: 5%;">Status</th>
 +
    <th style="width: 25%;">Link(s) or Notes</th>
 +
 +
    <tr>
 +
        <td>'''Add expand/collapse functionality for files touched'''</td>
 +
        <td></td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
        <td rowspan="10" style="text-align: center;">Fixes for [https://bugzilla.mozilla.org/show_bug.cgi?id=448707 the files touched bug]<br/>Fixes for [https://bugzilla.mozilla.org/show_bug.cgi?id=486939 the >5 merge changeset bug]<br/>Fixes for [https://bugzilla.mozilla.org/show_bug.cgi?id=459727 the on scroll bug]<br/><br/>[http://blog.sidkalra.com/2009/04/v10-release-complete/ View Detailed Info]</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Expand/Collapse only for merges that contain >5 pushes'''</td>
 +
        <td>
 +
          <ul>
 +
            <li>Use the ctx.parents()[0].rev() function to retrieve the push number</li>
 +
          </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Fixing OnScroll to work with the new version of hg_templates and using more jquery functionality'''</td>
 +
        <td>
 +
          <ul>
 +
            <li>Use jquery</li>
 +
            <li>Maintain functionality but reduce the lines of code</li>
 +
          </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Getting the Localize Dates Link Working with the New Entries Loaded On Scroll'''</td>
 +
        <td>   
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Further Improving Bug Functionality for the OnScroll Patch'''</td>
 +
        <td>
 +
        <ul>
 +
            <li>Get bugs that are 5 digits long to properly convert into bug links</li>
 +
            <li>Deal with bugs that will come in the future that will be more than 6 digits long</li>
 +
          </ul>   
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Changing the Data Structure that Handles Merges for the OnScroll Patch'''</td>
 +
        <td>
 +
        <ul>
 +
            <li>Use a dictionary</li>
 +
            <li>Try to reduce the maze of nested blocks</li>
 +
          </ul>   
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Move client-side code to an external JavaScript file'''</td>
 +
        <td></td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Use a different code for the parity counter'''</td>
 +
        <td>
 +
        <ul>
 +
            <li>Use counter % 2</li>
 +
        </ul>   
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Change how max number of entries in the database is retrieved'''</td>
 +
        <td>
 +
        <ul>
 +
            <li>Use start = {max}</li>
 +
        </ul>   
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Pushlog should not load more entries on scroll if a query is being displayed'''</td>
 +
        <td></td>
 
         <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 
         <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 
     </tr>
 
     </tr>

Revision as of 09:12, 24 April 2009

Project Name

Adding Functionality to the Browser Based UI for Mercurial History Browsing, hgweb

Project Description

Mozilla is just starting to use an exciting new distributed version control tool: Mercurial.

One of the exciting things about Mercurial is that the history—the list of all the changes that have ever been checked in—is not linear. It frequently has branches and merges. This is actually a good, important feature, as you know if you've read a little about distributed version control. The downside is that the history becomes a maze of twisty little passages. Benjamin Smedberg's demo shows the history of a repository with lots of merges (each box is a check-in; you can click on the boxes to move around).

There have been a couple attempts at showing history in an intuitive, graphical way. Mercurial comes with a web UI for browsing the repository, including history (here's what it looks like). It also comes with an "hg glog" extension that draws history as ASCII art, and an "hg view" extension that does roughly the same thing with a little GUI. Sadly, none of these applications qualifies as awesome.

The project's goal is to rectify this sad situation by writing an awesome browser-based UI for navigating Mercurial repository history.

Resources: jorendorff, bsmedberg

Project Leader(s)

Siddharth Kalra

Project Contributor(s)

Project Mentors

  • Jason Ordendorff (jorendorff)
  • Dirkjan Ochtman (djc)
  • Ted Mielczarek (ted)
  • Benjamin Smedberg (bsmedberg)

Project Ideas

September 23rd, 2008

January 15th, 2009

Project Details

Project News

Project Bugs

External Links