From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Oct 22 17:50:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1A6FDDB for ; Mon, 22 Oct 2012 17:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id B68C38FC16 for ; Mon, 22 Oct 2012 17:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9MHo1l6079821 for ; Mon, 22 Oct 2012 17:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9MHo1sp079820; Mon, 22 Oct 2012 17:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 22 Oct 2012 17:50:01 GMT Resent-Message-Id: <201210221750.q9MHo1sp079820@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Shane Ambler Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9E45A4A for ; Mon, 22 Oct 2012 17:45:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 975E98FC14 for ; Mon, 22 Oct 2012 17:45:13 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q9MHjDaX040903 for ; Mon, 22 Oct 2012 17:45:13 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q9MHjDT6040889; Mon, 22 Oct 2012 17:45:13 GMT (envelope-from nobody) Message-Id: <201210221745.q9MHjDT6040889@red.freebsd.org> Date: Mon, 22 Oct 2012 17:45:13 GMT From: Shane Ambler To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/172964: USE_GITHUB feature not fully implemented X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 17:50:01 -0000 >Number: 172964 >Category: ports >Synopsis: USE_GITHUB feature not fully implemented >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 22 17:50:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Shane Ambler >Release: 9.0-RELEASE-p1 >Organization: >Environment: FreeBSD leader.local 9.0-RELEASE-p1 FreeBSD 9.0-RELEASE-p1 #1: Tue May 15 12:34:33 CST 2012 shane@leader.local:/usr/obj/usr/src/sys/GENERIC amd64 >Description: As described in 5.4.7 of the porters handbook multiple distribution files can be used in the form of MASTER_SITES= ftp://ftp.example1.com/:source1 \ ftp://ftp.example2.com/:source2 DISTFILES= source1.tar.gz:source1 \ source2.tar.gz:source2 I have just tried applying this to the new github settings and found that it fails. When multiple values are setup for GH_PROJECT and/or GH_TAGNAME the fetch command gets a mangled download link with the group name instead of the account/project/tag. I also tried with GH_ACCOUNT to match the groups with no benefit. eg while the correct link would be - https://nodeload.github.com/sambler/myblender/tarball/sambler-2.64.2?dummy=/blender-sambler-2.64.tar.gz having GH_PROJECT= myblender:base turns the link into - https://nodeload.github.com/baseblender-sambler-2.64.tar.gz While I don't need to use a separate GH_ACCOUNT for what I am doing I see that it could be required as well. The question there would be - Can project or tagname be setup with multiple sources or would all three need to be setup for grouping? I could see a single account and tagname being used with multiple project names to get the full sources needed, but I doubt multiple tags with one project would be usable. Looking ahead - this may require a way to define which extracted tarball becomes WRKSRC. Maybe the DEFAULT group? >How-To-Repeat: The port I am working on isn't official but the files (without github changes) are available at http://redports.org/browser/sambler/graphics/blender-sambler After removing MASTER_SITES DISTFILES FETCH_ARGS and WRKSRC I added - USE_GITHUB= yes GH_ACCOUNT= sambler GH_PROJECT= myblender:base \ myblenderaddons:addons \ myblendercontrib:contrib \ myblendertranslations:trans GH_TAGNAME= sambler-${PORTVERSION}.${PORTREVISION}:base \ addons-${PORTVERSION}.${PORTREVISION}:addons \ contrib-${PORTVERSION}.${PORTREVISION}:contrib \ translate-${PORTVERSION}.${PORTREVISION}:trans >Fix: >Release-Note: >Audit-Trail: >Unformatted: