Fetch branch from github
Mathieu Arnold
mat at FreeBSD.org
Mon Jul 25 13:45:39 UTC 2016
+--On 24 juillet 2016 23:38:18 +0300 abi <abi at abinet.ru> wrote:
| It is not. I read handbook - and I found no explanation how to fetch
| branch and failed to achieve results tinkering options randomly :P
|
| Here is example
| https://github.com/ZoneMinder/ZoneMinder
|
| 1. Account is ZoneMinder
| 2. Project is ZoneMinder
|
| I need a branch here, they have plenty of them. |GH_TAGNAME is working
| only for releases or for commit id. The latter tries master branch.|
You can't use a branch, because a branch moves, and the ports tree needs an
invariant distfile.
So whatever the branch you want to use, you still need either a tag, or a
commit id.
You can use git describe <branch> to get a more fancy commit id, like I do
for lang/perl5-devel.
--
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20160725/78723548/attachment.sig>
More information about the freebsd-ports
mailing list