]> code.ossystems Code Review - openembedded-core.git/commit
create-pull-request: rewrite known private URLs to public URLs
authorDarren Hart <dvhart@linux.intel.com>
Fri, 13 May 2011 19:21:57 +0000 (12:21 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 May 2011 22:36:14 +0000 (23:36 +0100)
commit3c34975414f1184a35ad8b6ca8a5303786f3475f
tree2235be49c584b42cfcffcda28b1c14fba0ee8c91
parent847fa2542aad8233d31076d8eaf4ba3168a79eae
create-pull-request: rewrite known private URLs to public URLs

Rather than requiring users to have public remotes and private remotes when
their development remotes are ssh based (and therefor unsuitable for a pull
request URL), rewrite the ones we know about from ssh://git@ to git://.

As the remote url vary from remote to remote, do the REMOTE_REPO regex per
remote.

With this infrastructure in place, future patches can augment the list of
known remotes for things like Git Hub, Gitorious, kernel.org, etc.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Joshua Lock <josh@linux.intel.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Tom Rini <tom_rini@mentor.com>
Cc: Tom Rini <tom_rini@mentor.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Joshua Lock <josh@linux.intel.com>
scripts/create-pull-request