diff options
author | Darren Hart <dvhart@linux.intel.com> | 2011-05-23 10:21:53 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-25 15:50:54 +0100 |
commit | 567f171920080175af2d25378ab51ed2e3904501 (patch) | |
tree | 48b9c48251806699cd335b1218e1cd0b291d69c1 /meta/recipes-devtools/git | |
parent | c2d187065e81b1cef8fd6ce36dbe582866320c11 (diff) | |
download | poky-567f171920080175af2d25378ab51ed2e3904501.tar.gz |
create-pull-request: generalize the repository URL parsing
The existing REMOTE_URL and REMOTE_REPO parsing made assumptions regarding
the git URL format used for the known repository types. In fact, both of
these ssh URL formats are valid for all the known repositories. Specifically:
ssh://git@server/repository/path
git@server:repository/path
Generalize the parsing to work with each of these for all push URLs matching
*@*. Tested with the following URLs:
ssh://git@git.pokylinux.org/poky-contrib
ssh://git@git.pokylinux.org/poky-contrib.git
git@git.pokylinux.org:poky-contrib
git@git.pokylinux.org:poky-contrib.git
(From OE-Core rev: 861c288e353e917374de938c4e5e927e116cd56c)
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/git')
0 files changed, 0 insertions, 0 deletions