Add gitlab.com into bsd.sites.mk

Mathieu Arnold mat at FreeBSD.org
Mon Aug 21 14:48:10 UTC 2017


Le 20/08/2017 à 23:16, Derek Schrock a écrit :
> On Sat, Aug 19, 2017 at 04:28:01PM EDT, L.Bartoletti wrote:
>> Hello,
>>
>> I would suggest to add gitlab.com into bsd.sites.mk
>>
>> Since, I think I am not competent to propose a patch, I ask for help.
>>
>> I have ports to create where the sources are only available on GitLab. 
>> Like some other ports (audio/midi-matrix-lv2, audio/moony-lv2, etc.) I 
>> can fetch source using a direct link. But, it may be nice to have this 
>> possibility.
>>
>> As I can see, it can be similar (and maybe easier) than github.
>>
>> Archive can be dowload by this URL:
>> https://gitlab.com/${GL_ACCOUNT}/${GL_PROJECT}/repository/${GL_TAGNAME}/archive.${EXTRACT_SUFX}
>>
>> ${EXTRACT_SUFX} can be zip, tar.gz, tar.bz2 and tar
>>
>> Is anyone already working on it or do you want to do it with me?
> Assuming gitlab remains API compatible with github.  I'm wondering if
> gitlab.com, github.com, and gitlab hosted site support can be merged
> into a single set of vars.

You can stop here, because they are not compatible.  They do not differ
greatly, but enough. The gitlab API is akin to the previous github API
where the commit hash was required.
A USE_GITLAB is currently being worked on, though.


-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20170821/4def0890/attachment.sig>


More information about the freebsd-ports mailing list