blob: 6f945346ee721164290a5ec1d8496616b2455297 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# -----------------------------------------------------------
# This document describes how to generate the Eclipse ip log
# for the eclipse project technology.jgit using a local clone
# of the git repository
# git://egit.eclipse.org/jgit.git
# starting point is a manually written file
# .eclipse_iplog
# located in the repository's work dir root path
# which is describing the project, see first section of this
# file in the jgit root directory:
# $JGIT_BASE/.eclipse_iplog
# -----------------------------------------------------------
# Prepare:
# jgit executable (assuming jgit mvn build is up to date)
export jgit="~/src/git/jgit/org.eclipse.jgit.pgm/target/jgit"
# repository work dir root path
export WORK_DIR="~/src/git/jgit/"
# cd to repository work dir root path
cd $WORK_DIR
# -----------------------------------------------------------
# Update the CQ list:
# - this command updates file .eclipse_iplog
jgit eclipse-ipzilla
# - if there are any updates 'git commit' them
git add .eclipse_iplog
git commit
# - type in ipzilla user and password
# -----------------------------------------------------------
# Get the committer data from gerrit:
# - start gerrit gsql via ssh
# options:
# -p : ssh port gerrit is listening on
ssh -p 29418 username@egit.eclipse.org gerrit gsql --format PRETTY
# - type in ssh passphrase for your ssh key
# - run the SQL query (cut and paste content to interactive gerrit shell)
# org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/gsql_query.txt
# - copy the query result into the file (no headers, no blank lines):
# $WORK_DIR/.git/gerrit_committers
# -----------------------------------------------------------
# Generate the iplog:
# options:
# -- version : the project version the iplog is to be generated for
# - o : the output file
jgit eclipse-iplog --version=1.3.0 -o $WORK_DIR/jgit-1.3.0.xml
|