Changes between Version 9 and Version 10 of QtWebKitGitInstructions


Ignore:
Timestamp:
Jun 25, 2009 8:54:56 AM (10 years ago)
Author:
treat@kde.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • QtWebKitGitInstructions

    v9 v10  
    1 = Branch Overview =
     1= FIXME =
    22
    3 There are six types of branches in the QtWebKit Git repository:
    4 
    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.
    11 
    12 = Howto =
    13 
    14 == Getting Started ==
    15 
    16  * Clone your git repository from {{{git+ssh://git@code.staikos.net/srv/git/webkit}}}
    17  * If you don't have ssh/push access you can do a read-only clone using {{{git clone git://code.staikos.net/webkit}}}
    18  * After that you will have one local branch called {{{qtwebkit}}}.
    19  * Tell git your full name and email address:
    20 {{{
    21     git config user.email joe.doe@foobar.com
    22     git config user.name "Joe Doe"
    23 }}}
    24 
    25 == Step-by-step instructions ==
    26 
    27 (Note: Substitute {{{simon/crash-fix}}} accordingly)
    28 
    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}}}
    43 
    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 gitorious.org.