From owner-freebsd-ports@freebsd.org Fri Apr 17 07:37:09 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 194302AE191 for ; Fri, 17 Apr 2020 07:37:09 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 493SbS5vhyz4kD6 for ; Fri, 17 Apr 2020 07:37:08 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id CABDA2AE18C; Fri, 17 Apr 2020 07:37:08 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CA8542AE18B for ; Fri, 17 Apr 2020 07:37:08 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 493SbR6BJHz4kD4; Fri, 17 Apr 2020 07:37:07 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-wm1-f47.google.com with SMTP id t63so873211wmt.3; Fri, 17 Apr 2020 00:37:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=Ic5SBzydUPRv/PHkV606uAllzOGWfREUlWxPqP86KAk=; b=hHlqemgo1IsAnw3EZlbVogIHHCKe0mhzmav99sCNw7S5mdYwXME9keZXPAJWLbMUlE fzLrUTw/yKTTG8lqC9yN4ng0gLKdQGhhv117WDPnGk80EE7cDiyK/6uNLD5SsVY6oJi4 mEkuot3iUb+BUouVxHogKaPaCzEvJcduzXrHr7FndklVO9oOYMh5NLZGlARW81obK847 axY3Vt7a9JUzuzZOrIkdLYHUv66RdjXmdUJ/uPcM6dgEkYM6LeciTEB4PxmF+TWRPDwP YDDbvM401VnhRMKGLmfiExnNszZjfJHHyEcMhUFK66QAsbUHQ+MtV27ZW8uj3HAIUDGS N9Vg== X-Gm-Message-State: AGi0PubOFugRsrVl5b7rQPbltBE+rTWosImsX5VkAEoZG6Ky6vS9ns3x hJUko49iVsouimePm82oN+xPeZ+T X-Google-Smtp-Source: APiQypK3MaD+P0aj3J4+b4z4c71N4blQ2ai12L16asAs7SqX9+G9tdDzd4sVPj4TtoP/AKrQXVV5Fg== X-Received: by 2002:a1c:2cc6:: with SMTP id s189mr2112718wms.137.1587109025908; Fri, 17 Apr 2020 00:37:05 -0700 (PDT) Received: from ?IPv6:2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8? ([2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8]) by smtp.gmail.com with ESMTPSA id s17sm6658730wmc.48.2020.04.17.00.37.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Apr 2020 00:37:05 -0700 (PDT) Subject: Re: New feature suggestion: print-gh-tuple: Print GH_TUPLE corresponding to submodules of a GitHub repository ${GH_ACCOUNT}/${GH_PROJECT} To: Yuri , "ports@freebsd.org" References: <33f61c4f-2351-ffac-54c8-6fe1708d0f14@rawbw.com> From: Mateusz Piotrowski <0mp@FreeBSD.org> Message-ID: Date: Fri, 17 Apr 2020 09:37:22 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <33f61c4f-2351-ffac-54c8-6fe1708d0f14@rawbw.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 493SbR6BJHz4kD4 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mpp302@gmail.com designates 209.85.128.47 as permitted sender) smtp.mailfrom=mpp302@gmail.com X-Spamd-Result: default: False [-1.10 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_HAS_CURRENCY(1.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_NA(0.00)[FreeBSD.org]; NEURAL_HAM_LONG(-0.99)[-0.990,0]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[47.128.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-0.94)[-0.940,0]; IP_SCORE(-0.17)[ipnet: 209.85.128.0/17(-0.40), asn: 15169(-0.43), country: US(-0.05)]; FORGED_SENDER(0.30)[0mp@FreeBSD.org,mpp302@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[47.128.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[0mp@FreeBSD.org,mpp302@gmail.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2020 07:37:09 -0000 On 4/16/20 6:56 PM, Yuri wrote: > I am suggesting a new feature: make print-gh-tuple > > > https://reviews.freebsd.org/D24231 > > > It works when USE_GITHUB=yes is set. > > When a GitHub repository has git submodules, that themselves can also > have embedded submodules, it can traverse all of them and output the > value of GH_TUPLE that would include all of them. Great idea! I've done something similar for x11/ly. It's great to possibly have something more general and available through out the whole ports tree. I'll try to take a look at the patch soon. Cheers, Mateusz