[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#839072: autopkgtest: Allow for GitHub-style PR urls



On Sep 28, 2016, at 04:52 PM, Martin Pitt wrote:

>First, thanks for working on this! I'd love to make it straightfoward
>to test a github branch with a single autopkgtest invocation.

Seems pretty easy!  Attached is the patch.  I tested this with both GitHub and
GitLab branches and pull/merge requests.  E.g. all the following work nicely:

$ autopkgtest https://gitlab.com/user/project.git
$ autopkgtest https://gitlab.com/user/project.git#branchname
$ autopkgtest https://gitlab.com/user/project.git#merge-requests/1/head

$ autopkgtest https://github.com/user/project.git
$ autopkgtest https://github.com/user/project.git#branchname
$ autopkgtest https://github.com/user/project.git#refs/pull/1/merge

Each stanza above describes the master branch, a specific other branch, and
the respective hosting services' names for pull/merge requests.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Support-url-refspec-format.patch
Type: text/x-patch
Size: 2836 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20160928/8474d6b2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20160928/8474d6b2/attachment.sig>


Reply to: