Print

Print


@bbockelm GitHub's pull requests are just branches, so it should be fairly easy to build/test them with any CI system. You just add extra fetch reference to your remote's config:

fetch = +refs/pull/*/head:refs/remotes/origin/pr/*

And you can fetch them:

]==> git fetch
remote: Counting objects: 1478, done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 1478 (delta 219), reused 205 (delta 205), pack-reused 1234
Receiving objects: 100% (1478/1478), 25.87 MiB | 1.39 MiB/s, done.
Resolving deltas: 100% (907/907), completed with 145 local objects.
From github.com:xrootd/xrootd
 * [new ref]           refs/pull/10/head  -> origin/pr/10
 * [new ref]           refs/pull/100/head -> origin/pr/100
 * [new ref]           refs/pull/101/head -> origin/pr/101
 * [new ref]           refs/pull/102/head -> origin/pr/102
 * [new ref]           refs/pull/106/head -> origin/pr/106
 * [new ref]           refs/pull/108/head -> origin/pr/108
 * [new ref]           refs/pull/111/head -> origin/pr/111
 * [new ref]           refs/pull/112/head -> origin/pr/112
 * [new ref]           refs/pull/119/head -> origin/pr/119
 * [new ref]           refs/pull/122/head -> origin/pr/122
 * [new ref]           refs/pull/123/head -> origin/pr/123
...


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"PERSON","message":"@ljanyst in #502: @bbockelm GitHub's pull requests are just branches, so it should be fairly easy to build/test them with any CI system. You just add extra fetch reference to your remote's config:\r\n\r\n```\r\nfetch = +refs/pull/*/head:refs/remotes/origin/pr/*\r\n```\r\n\r\nAnd you can fetch them:\r\n\r\n```\r\n]==\u003e git fetch\r\nremote: Counting objects: 1478, done.\r\nremote: Compressing objects: 100% (39/39), done.\r\nremote: Total 1478 (delta 219), reused 205 (delta 205), pack-reused 1234\r\nReceiving objects: 100% (1478/1478), 25.87 MiB | 1.39 MiB/s, done.\r\nResolving deltas: 100% (907/907), completed with 145 local objects.\r\nFrom github.com:xrootd/xrootd\r\n * [new ref] refs/pull/10/head -\u003e origin/pr/10\r\n * [new ref] refs/pull/100/head -\u003e origin/pr/100\r\n * [new ref] refs/pull/101/head -\u003e origin/pr/101\r\n * [new ref] refs/pull/102/head -\u003e origin/pr/102\r\n * [new ref] refs/pull/106/head -\u003e origin/pr/106\r\n * [new ref] refs/pull/108/head -\u003e origin/pr/108\r\n * [new ref] refs/pull/111/head -\u003e origin/pr/111\r\n * [new ref] refs/pull/112/head -\u003e origin/pr/112\r\n * [new ref] refs/pull/119/head -\u003e origin/pr/119\r\n * [new ref] refs/pull/122/head -\u003e origin/pr/122\r\n * [new ref] refs/pull/123/head -\u003e origin/pr/123\r\n...\r\n```"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/502#issuecomment-293420910"}}}

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1