From: Darren Hart Date: Sat, 14 May 2011 05:36:27 +0000 (-0700) Subject: create-pull-request: add untested oe repository support X-Git-Tag: 2011-1~1355 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=c7f76dfb37022805458a7aeab8a51e44437f9abd;p=openembedded-core.git create-pull-request: add untested oe repository support Signed-off-by: Darren Hart Acked-by: Otavio Salvador Cc: Otavio Salvador --- 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 REMOTE_REPO=$(echo $REMOTE_URL | sed "s#.*/\(.*\)#\1#") REMOTE_URL=${REMOTE_URL/"ssh://git@"/"git://"} ;; + *ssh://git@git.openembedded.org*) + REMOTE_REPO=$(echo $REMOTE_URL | sed "s#.*/\(.*\)#\1#") + REMOTE_URL=${REMOTE_URL/"ssh://git@"/"git://"} + ;; git@github.com:*) REMOTE_REPO=$(echo $REMOTE_URL | sed 's#.*:\(.*\)\(\.git\)$#\1#') REMOTE_URL=${REMOTE_URL/"git@github.com:"/"git://github.com/"} @@ -111,6 +115,9 @@ case "$REMOTE_URL" in *git.pokylinux.org*) WEB_URL="http://git.pokylinux.org/cgit.cgi/$REMOTE_REPO/log/?h=$BRANCH" ;; + *git.openembedded.org*) + WEB_URL="http://cgit.openembedded.org/cgit.cgi/$REMOTE_REPO/log/?h=$BRANCH" + ;; *github.com*) WEB_URL="https://github.com/$REMOTE_REPO/tree/$BRANCH" ;;