Changes between Version 9 and Version 10 of QtWebKitGitInstructions

Jun 25, 2009 8:54:56 AM (14 years ago)



  • QtWebKitGitInstructions

    v9 v10  
    1 = Branch Overview =
     1= FIXME =
    3 There are six types of branches in the QtWebKit Git repository:
    5  * svn/master: This is the main development line, mirrored straight from SVN trunk. We do our development in trunk.
    6  * qtwebkit-4.5: This branch, based on trunk, contains what we're shipping in Qt 4.5. No direct development happens in this branch, we only merge from trunk or branches that are scheduled for inclusion into trunk.
    7  * shared/* : Everybody can create/delete/change branches that start with "shared/".
    8  * <username>/* : This is where developers publish their changes. You can have as many so-called topic branches as you like. For example holger/crash-fix would be a name for such a topic branch.
    9  * svn/* such as svn/master or svn/Safari-3-branch. The branches prefixed with svn/ are read-only
    10    and are mirrored from the WebKit Subversion repository.
    12 = Howto =
    14 == Getting Started ==
    16  * Clone your git repository from {{{git+ssh://}}}
    17  * If you don't have ssh/push access you can do a read-only clone using {{{git clone git://}}}
    18  * After that you will have one local branch called {{{qtwebkit}}}.
    19  * Tell git your full name and email address:
    20 {{{
    21     git config
    22     git config "Joe Doe"
    23 }}}
    25 == Step-by-step instructions ==
    27 (Note: Substitute {{{simon/crash-fix}}} accordingly)
    29  * Create a local topic branch: {{{git checkout -b simon/crash-fix origin/svn/master}}}
    30  * After that you will be on a local {{{simon/crash-fix}}} branch.
    31  * Now you can hack away and commit as many changes as you want.
    32  * To publish your changes for the first time run the following command: {{{git push origin simon/crash-fix}}}
    33  * You can continue hacking and if you want to publish more changes you can just run {{{git push}}}
    34  * If you want to merge the latest changes from the {{{svn/master}}} branch run this:
    35 {{{
    36 git fetch
    37 git rebase origin/svn/master
    38 }}}
    39  * When you are happy with your changes and they have been merged into the {{{svn/master}}} branch you can delete your branch on the public repository using {{{git push origin :simon/crash-fix}}}
    40  * After deleting the branch on the public repository you can also delete it locally:
    41    * Switch to a different branch, such as {{{master}}}: {{{git checkout master}}}
    42    * Delete the branch: {{{git branch -D simon/crash-fix}}}
    44  * If you don't have ssh/push access you can do all of the above apart from the {{{git push}}} commands. You can create a series of patches using {{{git format-patch origin/qtwebkit}}}. That will create a series of numbered {{{.patch}}} files that include all your commits.
     3This page needs to be updated to reflect that qtwebkit git repo is now hosted by