48dc5048d9537cb6791f92f4dd2c1c445683355e
[openafs-wiki.git] / AFSLore / GitTools.mdwn
1 Tooling required for git Release building script Required for our first release (not switchover)
2
3 � Take SHA1 of tag point � Need to tag tree � But, need to have option to run without tagging � Need to preserve difference between doc and source tree (generate tarballs for both) � Generate diff between two tags. � Generates changelog from complete commit log on every patch
4
5 cvs commit emails Required for switchover
6
7 We need to preserve the existing cvs commits mailing list. A couple of ways of doing this have been proposed. Either get gerrit to CC the commit list with every "Change submitted" email that it sends, or set up a clone of the gerrit repository which has a commit hook that sends email. That clone would then be pushed to whenever gerrit makes a change, and would handle the sending of emails (and be the repo that end users pull from)
8
9 deltas Initial Hack required for switchover
10
11 Initial hack: Build a web page which takes the SHA1 of the commit, and the delta name to be applied, and runs git update-refs on the server. Ideal solution: Add support to gerrit to prompt for the delta name as part of the submit action.
12
13 persistent repository clone in afs Not required for the switch
14
15 Build a persistent clone & checkout of the master in AFS. Get gerrit and/or cron to keep this constantly up to date.
16
17 pullups Required for the switch
18
19 Write a script which takes the master delta name, the branch target, and cherrypicks the change to the branch. This should bypass gerrit if the cherrypick succeeds (This should probably use a different SSH key than the one normally used for head commits). For commits which require manual changes, there should be a choice between directly applying the massaged change to the branch, and submitting it via gerrit.
20
21 -- [[SimonWilkinson]] - 06 Jun 2009