summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2011-05-13 22:36:27 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-19 23:40:39 +0100
commit8402e2281d20ae8d2aa2c60ee9f87a4b481426a1 (patch)
treeb5ff7240f47a827f11ac3037fc3003c7c6206fad
parentb131ca1834de2ea535de44e423463008e59f18af (diff)
downloadpoky-8402e2281d20ae8d2aa2c60ee9f87a4b481426a1.tar.gz
create-pull-request: add untested oe repository support
(From OE-Core rev: c7f76dfb37022805458a7aeab8a51e44437f9abd) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/create-pull-request7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index a9cf6f94f1..634a289979 100755
--- a/scripts/create-pull-request
+++ b/scripts/create-pull-request
@@ -82,6 +82,10 @@ while getopts "b:chi:m:o:p:r:s:u:" OPT; do
82 REMOTE_REPO=$(echo $REMOTE_URL | sed "s#.*/\(.*\)#\1#") 82 REMOTE_REPO=$(echo $REMOTE_URL | sed "s#.*/\(.*\)#\1#")
83 REMOTE_URL=${REMOTE_URL/"ssh://git@"/"git://"} 83 REMOTE_URL=${REMOTE_URL/"ssh://git@"/"git://"}
84 ;; 84 ;;
85 *ssh://git@git.openembedded.org*)
86 REMOTE_REPO=$(echo $REMOTE_URL | sed "s#.*/\(.*\)#\1#")
87 REMOTE_URL=${REMOTE_URL/"ssh://git@"/"git://"}
88 ;;
85 git@github.com:*) 89 git@github.com:*)
86 REMOTE_REPO=$(echo $REMOTE_URL | sed 's#.*:\(.*\)\(\.git\)$#\1#') 90 REMOTE_REPO=$(echo $REMOTE_URL | sed 's#.*:\(.*\)\(\.git\)$#\1#')
87 REMOTE_URL=${REMOTE_URL/"git@github.com:"/"git://github.com/"} 91 REMOTE_URL=${REMOTE_URL/"git@github.com:"/"git://github.com/"}
@@ -111,6 +115,9 @@ case "$REMOTE_URL" in
111 *git.pokylinux.org*) 115 *git.pokylinux.org*)
112 WEB_URL="http://git.pokylinux.org/cgit.cgi/$REMOTE_REPO/log/?h=$BRANCH" 116 WEB_URL="http://git.pokylinux.org/cgit.cgi/$REMOTE_REPO/log/?h=$BRANCH"
113 ;; 117 ;;
118 *git.openembedded.org*)
119 WEB_URL="http://cgit.openembedded.org/cgit.cgi/$REMOTE_REPO/log/?h=$BRANCH"
120 ;;
114 *github.com*) 121 *github.com*)
115 WEB_URL="https://github.com/$REMOTE_REPO/tree/$BRANCH" 122 WEB_URL="https://github.com/$REMOTE_REPO/tree/$BRANCH"
116 ;; 123 ;;