summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-03-15 11:07:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-15 11:17:05 +0000
commit84e07ef76bf4f484a2d5e0180632e7a4981a1af7 (patch)
tree372c75b754877e0d8cd9c4b36ad5612299ee80cf
parent50f2352cb61c2c04b69643be5b3ae5def438d285 (diff)
downloadopenembedded-core-84e07ef76bf4f484a2d5e0180632e7a4981a1af7.tar.gz
openembedded-core-84e07ef76bf4f484a2d5e0180632e7a4981a1af7.tar.bz2
openembedded-core-84e07ef76bf4f484a2d5e0180632e7a4981a1af7.zip
create-pull-request: switch URL from git.pokylinux.org/poky-contrib to git.openembedded.org/openembedded-core-contrib
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rwxr-xr-xscripts/create-pull-request7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index 5ad7666ab3..784b48c2dd 100755
--- a/scripts/create-pull-request
+++ b/scripts/create-pull-request
@@ -2,7 +2,8 @@
ODIR=pull-$$
RELATIVE_TO="master"
COMMIT_ID="HEAD"
-PULL_URL="git://git.pokylinux.org/poky-contrib.git"
+PULL_URL="git://git.openembedded.org/openembedded-core-contrib"
+WEB_URL_PREFIX="http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h="
PREFIX="PATCH"
usage() {
@@ -14,7 +15,7 @@ Usage: $CMD [-h] [-o output_dir] [-m msg_body_file] [-s subject] [-r relative_to
-m msg_body_file The file containing a blurb to be inserted into the summary email
-r relative_to Starting commit (default: master)
-i commit_id Ending commit (default: HEAD)
- -b contrib_branch Branch-name in the git.pokylinux.org/poky-contrib tree
+ -b contrib_branch Branch-name in the $PULL_URL
-s subject The subject to be inserted into the summary email
-p prefix Use [prefix N/M] instead of [PATCH N/M] as the subject prefix
@@ -69,7 +70,7 @@ fi
# Perform a sanity test on the web URL. Issue a warning if it is not
# accessible, but do not abort as users may want to run offline.
-WEB_URL="http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=$CONTRIB_BRANCH"
+WEB_URL="$WEB_URL_PREFIX$CONTRIB_BRANCH"
wget -q $WEB_URL -O /dev/null
if [ $? -ne 0 ]; then
echo "WARNING: Branch '$CONTRIB_BRANCH' was not found on the contrib git tree."