From owner-freebsd-ports@freebsd.org Thu Aug 24 15:52:50 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9DA92DE2995 for ; Thu, 24 Aug 2017 15:52:50 +0000 (UTC) (envelope-from mailinglists@toco-domains.de) Received: from toco-domains.de (mail.toco-domains.de [IPv6:2a01:4f8:150:50a5::6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6148F818D4; Thu, 24 Aug 2017 15:52:50 +0000 (UTC) (envelope-from mailinglists@toco-domains.de) Received: from [192.168.0.132] (port-212-202-156-99.static.qsc.de [212.202.156.99]) by toco-domains.de (Postfix) with ESMTPA id 38F9F1AAF068; Thu, 24 Aug 2017 17:52:48 +0200 (CEST) Subject: Re: Add gitlab.com into bsd.sites.mk To: Mathieu Arnold , lbartoletti@tuxfamily.org, freebsd-ports@freebsd.org References: <3e39194c-5743-3a76-f6a5-fa959240bdf1@tuxfamily.org> <20170820211636.GA44994@ircbsd.lifeofadishwasher.com> From: Torsten Zuehlsdorff Message-ID: <4522149a-ab77-3b7b-cb02-1ae2cdf096b4@toco-domains.de> Date: Thu, 24 Aug 2017 08:49:43 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2017 15:52:50 -0000 On 21.08.2017 16:48, Mathieu Arnold wrote: > 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. Do you know who works on it? I didn't see anything like it, but it would be handy for me. Maybe i could help. Greetings, Torsten