]> code.ossystems Code Review - openembedded-core.git/commit
scripts/create-pull-request: improve handling of non-SSH remote URLs
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 29 Jul 2019 21:54:42 +0000 (09:54 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Jul 2019 22:46:59 +0000 (23:46 +0100)
commit675e88e6e0bbd5ab2dcd4bdf97b0de59925a1be6
tree208c10b8618d08d58d8b6f0454066880d0ef8261
parente733530cf0045c6f691a306363e604bc07234f52
scripts/create-pull-request: improve handling of non-SSH remote URLs

When attempting to create a pull request, we look at the remote URL in
order to extract information to include in the cover letter. However,
the assumption was that the remote is an SSH URL i.e. containing '@'
which is not always the case (the pull and push URLs might be different,
or we might be pushing via https) - if it wasn't the script just gave up
leaving you to manually edit the URLs in the email. With a few minor
tweaks to the regexes the script will work for these cases as well.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/create-pull-request