2 # @License EPL-1.0 <http://spdx.org/licenses/EPL-1.0>
3 ##############################################################################
4 # Copyright (c) 2015 The Linux Foundation and others.
6 # All rights reserved. This program and the accompanying materials
7 # are made available under the terms of the Eclipse Public License v1.0
8 # which accompanies this distribution, and is available at
9 # http://www.eclipse.org/legal/epl-v10.html
10 ##############################################################################
12 GIT_REPORT_FILE=$REPORT_DIR/git-report.log
15 touch $GIT_REPORT_FILE
17 projects=`grep path .gitmodules | sed 's/.*= //' | sort`
18 for p in $projects; do
19 echo "" >> $GIT_REPORT_FILE
20 echo "========" >> $GIT_REPORT_FILE
21 echo "$p" >> $GIT_REPORT_FILE
22 echo "========" >> $GIT_REPORT_FILE
23 echo "" >> $GIT_REPORT_FILE
26 git log --after="1 week ago" | sed 'sX^ Change-Id: X -> https://git.opendaylight.org/gerrit/r/X' >> $GIT_REPORT_FILE