diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-03-15 11:07:22 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-19 23:40:21 +0100 |
commit | 8b2e973d145fd079072aa480a41e915c30a05d54 (patch) | |
tree | 774895a301ec51ef65c4d17ae186e2b3e8e01ba8 /scripts | |
parent | 8efa3a24f94da31f968280d17f11ff3f08c8887f (diff) | |
download | poky-8b2e973d145fd079072aa480a41e915c30a05d54.tar.gz |
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>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/create-pull-request | 7 |
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 @@ | |||
2 | ODIR=pull-$$ | 2 | ODIR=pull-$$ |
3 | RELATIVE_TO="master" | 3 | RELATIVE_TO="master" |
4 | COMMIT_ID="HEAD" | 4 | COMMIT_ID="HEAD" |
5 | PULL_URL="git://git.pokylinux.org/poky-contrib.git" | 5 | PULL_URL="git://git.openembedded.org/openembedded-core-contrib" |
6 | WEB_URL_PREFIX="http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=" | ||
6 | PREFIX="PATCH" | 7 | PREFIX="PATCH" |
7 | 8 | ||
8 | usage() { | 9 | usage() { |
@@ -14,7 +15,7 @@ Usage: $CMD [-h] [-o output_dir] [-m msg_body_file] [-s subject] [-r relative_to | |||
14 | -m msg_body_file The file containing a blurb to be inserted into the summary email | 15 | -m msg_body_file The file containing a blurb to be inserted into the summary email |
15 | -r relative_to Starting commit (default: master) | 16 | -r relative_to Starting commit (default: master) |
16 | -i commit_id Ending commit (default: HEAD) | 17 | -i commit_id Ending commit (default: HEAD) |
17 | -b contrib_branch Branch-name in the git.pokylinux.org/poky-contrib tree | 18 | -b contrib_branch Branch-name in the $PULL_URL |
18 | -s subject The subject to be inserted into the summary email | 19 | -s subject The subject to be inserted into the summary email |
19 | -p prefix Use [prefix N/M] instead of [PATCH N/M] as the subject prefix | 20 | -p prefix Use [prefix N/M] instead of [PATCH N/M] as the subject prefix |
20 | 21 | ||
@@ -69,7 +70,7 @@ fi | |||
69 | 70 | ||
70 | # Perform a sanity test on the web URL. Issue a warning if it is not | 71 | # Perform a sanity test on the web URL. Issue a warning if it is not |
71 | # accessible, but do not abort as users may want to run offline. | 72 | # accessible, but do not abort as users may want to run offline. |
72 | WEB_URL="http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=$CONTRIB_BRANCH" | 73 | WEB_URL="$WEB_URL_PREFIX$CONTRIB_BRANCH" |
73 | wget -q $WEB_URL -O /dev/null | 74 | wget -q $WEB_URL -O /dev/null |
74 | if [ $? -ne 0 ]; then | 75 | if [ $? -ne 0 ]; then |
75 | echo "WARNING: Branch '$CONTRIB_BRANCH' was not found on the contrib git tree." | 76 | echo "WARNING: Branch '$CONTRIB_BRANCH' was not found on the contrib git tree." |